<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/jquery/tags/script</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 21:38:07 GMT</pubDate>
<item>
<title>(jQuery) jQuery Basic Setup - adrianparr</title>
<link>http://snipplr.com/view/62912/jquery-basic-setup/</link>
<description><![CDATA[ <p>Basic setup code for jQuery, linking to Google APIs for the jQuery library.</p> ]]></description>
<pubDate>Tue, 31 Jan 2012 02:58:06 GMT</pubDate>
<guid>http://snipplr.com/view/62912/jquery-basic-setup/</guid>
</item>
<item>
<title>(jQuery) Simple jQuery Rotator - FatFolderDesigner</title>
<link>http://snipplr.com/view/57077/simple-jquery-rotator/</link>
<description><![CDATA[ <p>The code is in three parts, a HTML layout (with some requirements I'll go over below), some CSS code (again, requirements below) and the actual jQuery code. I go over all the code in detail at the link, but I'll give a quick rundown od the jQuery as well.

The HTML:
The button that control next and previous are given IDs of "rotator_next" and "rotator_prev" respectively. The content shows in the a div with the ID "rotator_box". Inside the "rotator_box" div there a other divs with the IDs "rotator_set_#" where # is a number, 1 through as many pages as you want.

The CSS:
The important part of the style is the width, height, and overflow property. The width and height allow you to control the way the items are display, be it column, grid, or standard horizontal orientation.

The jQuery:
The script runs on document load and sets up a click even for the next and previous buttons. This evens add or subtract the lastviwed accordingly and run the update function, which does the fading out and fading in. After the contents have faded in it sets the opacity to 1, this is just to prevent any overzealous user from clicking so fast it makes a page stop wanting to fade fully in.

Like I said, theres more info and an example at the link.</p> ]]></description>
<pubDate>Sun, 24 Jul 2011 05:02:20 GMT</pubDate>
<guid>http://snipplr.com/view/57077/simple-jquery-rotator/</guid>
</item>
<item>
<title>(jQuery) jQuery.getScript() does not cache – Jamie Thompson - lamebollock</title>
<link>http://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson/</link>
<description><![CDATA[ <p>Cache control when pulling in scripts, redefined "getScript" function</p> ]]></description>
<pubDate>Tue, 15 Feb 2011 21:18:57 GMT</pubDate>
<guid>http://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson/</guid>
</item>
<item>
<title>(jQuery) Uploadify JQuery &amp;amp; PHP/MySQL Database Control - danhanly</title>
<link>http://snipplr.com/view/47602/uploadify-jquery--phpmysql-database-control/</link>
<description><![CDATA[ <p>The uploaded file is attached to the "pid" of the recently inserted project.

the "pid" variable is retrieved from the database after the project has been entered</p> ]]></description>
<pubDate>Thu, 20 Jan 2011 20:45:57 GMT</pubDate>
<guid>http://snipplr.com/view/47602/uploadify-jquery--phpmysql-database-control/</guid>
</item>
<item>
<title>(jQuery) Alterar imagem - hover - rbulgueroni</title>
<link>http://snipplr.com/view/42641/alterar-imagem--hover/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Oct 2010 04:24:49 GMT</pubDate>
<guid>http://snipplr.com/view/42641/alterar-imagem--hover/</guid>
</item>
<item>
<title>(jQuery) jQuery dynamic loader - load jquery using pure js javascript if jQ is undefined or does not exist - brandonjp</title>
<link>http://snipplr.com/view/37958/jquery-dynamic-loader--load-jquery-using-pure-js-javascript-if-jq-is-undefined-or-does-not-exist/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 28 Jul 2010 01:36:35 GMT</pubDate>
<guid>http://snipplr.com/view/37958/jquery-dynamic-loader--load-jquery-using-pure-js-javascript-if-jq-is-undefined-or-does-not-exist/</guid>
</item>
<item>
<title>(jQuery) jQuery Automatic Script Includer - garside</title>
<link>http://snipplr.com/view/10368/jquery-automatic-script-includer/</link>
<description><![CDATA[ <p>If you have a lot of javascript you need to load to make your page work, but don't want to load all of it before the user sees your page, you can use this handy script to backload it all.</p> ]]></description>
<pubDate>Wed, 10 Dec 2008 01:52:02 GMT</pubDate>
<guid>http://snipplr.com/view/10368/jquery-automatic-script-includer/</guid>
</item>
</channel>
</rss>