jQuery

jQuery AJAX News Ticker

January 15th, 2010 | Posted in jQuery
0

There are several jQuery News Tickers available but I needed one that I could control the output from PHP and add a slight blank delay between news items. This demo does not have the delay between items but you can add sleep() to ticker.php if needed. This script could be modified to create the data source (ticker.php) via MySQL or RSS feeds....

jQuery Innerfade with Separate Link Region

January 14th, 2010 | Posted in jQuery
0

Was working on a project and the client needed a fading news rotator with a link to each article at the bottom of the news box. The jQuery Innerfade plugin can handle the fading rotation but requires some modification to update another <div> that includes the link from the fading news article....

jQuery <select> Manipulation, Multiple Selects with JSON, Set Defaults, Oh My

February 7th, 2009 | Posted in jQuery
2

The following examples cover some of the basics when working with a HTML element. Multiple selects, set multiple selects after post and set the default selected value on page load....

Copy Form Input Data to Another Input Field with jQuery

February 5th, 2009 | Posted in jQuery
9

This is a very simple example how to copy form input data to other form fields. This is useful when the same information entered can be used in other fields such as shipping and billing address forms....

jQuery Show and Tell

January 8th, 2009 | Posted in jQuery
6

This jQuery code will slide up a hidden up on hover() and slide down the same on blur(). This script uses the jQuery UI visual control library....

Dynamic Javascript Variables

January 4th, 2009 | Posted in jQuery
1

To create dynamic variables in JavaScript use the eval() function. Of course eval() can be for other dynamic JavaScript creation as well. function dynamic(id) { // Create dynamic variable and set the value eval("var test_" + id + " = \"value goes here\";"); // Return the value return eval("test_" + id); } // Call function ...

Show Partial Content, Slide Animate with jQuery

December 20th, 2008 | Posted in jQuery
10

This plugin will show a partial amount of content from a and allow the user to click a link from the title or a link at the bottom to view the rest of the content with a sliding action....