Find if something is hidden: We use .hide(), .show() methods in jquery to change the visibility of an element. Use following code to check the whether an element is visible or not. if($(element).is(“:visible”) == “true”) { //The element is Visible } Center an element on the Screen: To make align the element to center. jQuery.fn.center …
Category: HTML
Permanent link to this article: https://blog.openshell.in/2010/12/tips-for-using-jquery/
Permanent link to this article: https://blog.openshell.in/2010/12/slideshow-using-jquery/
Dec 01
Quoting HTML attribute values
The values of attributes can contain text, hexadecimal color codes or numbers. In case of JavaScript event handlers, the values consist of small JavaScript code. A sincere advice for good and clean HTML coding is to always put quotes around attribute values. It is a good habit, will save you many headaches and avoid errors …
Permanent link to this article: https://blog.openshell.in/2010/12/quoting-html-attribute-values/
Dec 01
HTML mailto attribute
The HTML mailto is a quick way to add the facility of receiving feedback from visitor on the web site. when the visitor clicked the HTML mailto, It lanuches their email program with new email window. Note: HTML mailto assumes that the visitor has configured an email client (Outlook Express, Netscape Messenger, Thunderbird or any …
Permanent link to this article: https://blog.openshell.in/2010/12/html-mailto-attribute/