This jQuery function will insert items into an order alphabetically (assuming it contains letters). Can simply be modified to work in any sort of layout.
Tag: jQuery
jQuery code snippet to autoScroll to a div or any page element with an id. Uses code snippet scrollTop: $('html, body').animate({ $(div).offset().top }.
The following article is the first in an online series based on excerpts fom jQuery: Novice to Ninja, by Earle Castledine & Craig Sharkie (2010, SitePoint).
jQuery code snippets to perform wonders with your mouse cursor! Set/Get text cursor positions using getCursorPosition(), getSelection(), getSelectionStart().
Code to load images from Flickr public gallery images using the Flickr JSONP API.
Reasons why you should use JSON over XML and XML over JSON. Such as JSON is closely related to JavaScript whereas XML is pure data transportation format.
jQuery can read xml easy! There are many plugins and code snippets available and here are the pick of the bunch! Simple code for parsing in that xml data!
Jquery function preventdefault() can be used to stop hyperlink from going to page, stop mouse scroll down, disable form submit button, delay animation event.
A simple way of how to stop a jQuery function in it's tracks is to use the return false line. In most cases this is not the best way, here are alternatives!
Very handy free online jquery editor to test code between different versions of jQuery packages and resources. Input format in javascript, html and css.
jQuery code snippet to load/open a link in new window. This code adds an event to anchor tags that are given the “new-window” class to open in a new window.
There are two versions of this jQuery text attribute: .text() and .text(val). This code can be used instead of jQuery’s .text() to preserves line-breaks.
jQuery Innertext() and OuterText() functions are almost identical. Note that these can be referred to as jQuery functions but they have several differences.
Very useful collection of jQuery snippets (small code functions) Through jQuery they will be able to create stunning visual effects, manipulate data, etc...
jQuery can be used to dynamically set the innertext or innerhtml of a web page to new content which could be text, images, hyperlinks or anything.
How to change a css file dynamically using nothing but good old fashion jQuery! (it’s kinda like a jQuery stylesheet switcher!)
Read Build an Awesome Image Gallery with jQuery, Modernizr, and CSS3 and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Use jQuery get rss (JavaScript) to display a blogs rss feed live using a jQuery rss plugin called gfeedfetcher with Google Ajax Feed API as the rss aggregator.
Here at jQuery4u we bring you all of the best and the greatest jQuery plugins from around the globe! These plugins utilize jQuery, HTML5 and CSS3. Enjoy :)
Replace String Chars in JavaScript or jQuery using these functions and methods. Change strings in raw code and it html code on webpage and html select options.
Make your web designs cute and functional with these selection of cute jQuery plugins. jQuery plugins are similar to jQuery widgets.
Probably one of the most underated functions but certainly the most used is jquery.Alert(). Check the value of a variable or object display on screen box.
Set a jQuery timer for your web page to lock the interface for a specified length of time. The user cannot do anything with the page until the timer ends.
Here in jQuery4u.com we give you the best and carefully chosen jQuery plugins and designing tools possible! All jQuery developers you need to know about these!
Have fun with these jQuery extreme experiments! jQuery trial and error sometimes it is worth experimenting with jQuery to get exciting results!
How to create a facebook style content box that is dynamically loaded with AJAX and jquery from server side script. The user can refresh content at any time.
I’ve found these very cool jQuery tricks for you. Some of them offer weird effects that are very entertaining and fun to use. All jQuery developers need to know about these tricks!
This is a cool jQuery Plugin that is based on the famous film “Matrix”. Well this is pretty straightforward. jQuery developers turn yourself into NEO!!!
Manipulation of select box in jQuery requires additional skills and interaction but it’s not that complicated. Basic form select manipulation with jQuery.
Use jQuery to get website visitors geographic location with a simple API call (GeoPlugin) which is free to use. Get country, region, city and GeoLocation.