public static void SetBounds(out int x, out int y, out int w, out int h, jQuery obj) { x = Global.ParseInt(obj.Css("left")); y = Global.ParseInt(obj.Css("top")); w = Global.ParseInt(obj.Css("width")); h = Global.ParseInt(obj.Css("height")); }
public static jQuery highlight(this jQuery el) { var oldColor = el.Css("background-color"); var opacity = el.Css("opacity"); el.Css("background-color", "#ffff99"); el.Css("opacity", 0.9); Window.SetTimeout(() => { el.Css("background-color", oldColor); el.Css("opacity", opacity); }, 600); return(el); }
public static jQuery Css_display_Inline_Block(this jQuery query) { query.Css("display", "inline-block"); return(query); }
public static jQuery Css_width_max(this jQuery query) { query.Css("width", "100%"); return(query); }
public static jQuery Css_width(this jQuery query, string value) { query.Css("width", value); return(query); }
public static jQuery Css_height_max(this jQuery query) { query.Css("height", "100%"); return(query); }
public static jQuery Css_float_Left(this jQuery query) { query.Css("float", "left"); return(query); }
public void hide() { height = 0; jquery.Css("display", "none"); }