Jquery Content Show Snippets


jQuery code example to show content based on select option.

20 August, 2015   

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

07 March, 2013   

This simple and handy jQuery filter return a single random item from a selection of items. Credit to Waldek Mastykarz

26 November, 2011   

In jQuery $ is an alias for jQuery, so you can use jQuery() for accessing the jQuery methods. The following code example shows how you can use other libraries with jQuery:

An example of Strict Textmate Template

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

Example shown here how to preload the images with jquery in WordPress.

07 September, 2017   

CSS Code for Common Unicode Icons

18 November, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

13 December, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

14 February, 2017   

jQuery doesn't really have an .hasAttr() function. You might assume that it does, but alas, it does not.

The Gmail Bookmarklet will add a unique string to the email signature to prevent Gmail from trimming the content.

How to add jQuery and Snippet to your HTML document

22 July, 2013   

It can be useful to be able to resize images using jQuery

04 January, 2014   

Example shows how to set Interval and set Timeout in jQuery

05 February, 2014   

We created a slide show that allowed the user to move through an array of images.

Code snippet to remove class after delay in jQuery.

jQuery example code for extract hyperlinks with specific href

30 August, 2011   

This snippet to show how to use the Last-Modified and the ETag header to optimize the caching of a website. If used correctly this will speed up your page loads.

Make a MySQL Database called "db" with a table named "variables" with three rows ("id", "title", and "content"). Insert your data. Then call the page by going variables.php?id=1 etc.