<?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/content</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 18 May 2013 22:12:23 GMT</pubDate>
<item>
<title>(jQuery) Content Slider - mcs88</title>
<link>http://snipplr.com/view/69508/content-slider/</link>
<description><![CDATA[ <p>content slider</p> ]]></description>
<pubDate>Thu, 17 Jan 2013 02:18:18 GMT</pubDate>
<guid>http://snipplr.com/view/69508/content-slider/</guid>
</item>
<item>
<title>(jQuery) Google CDN jQuery loading fallback - Huskie</title>
<link>http://snipplr.com/view/62495/google-cdn-jquery-loading-fallback/</link>
<description><![CDATA[ <p>This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).</p> ]]></description>
<pubDate>Thu, 12 Jan 2012 02:47:13 GMT</pubDate>
<guid>http://snipplr.com/view/62495/google-cdn-jquery-loading-fallback/</guid>
</item>
<item>
<title>(jQuery) Latest Minified jQuery from Google CDN - Huskie</title>
<link>http://snipplr.com/view/59660/latest-minified-jquery-from-google-cdn/</link>
<description><![CDATA[ <p>To get the most recent version in the 1.x.x family.</p> ]]></description>
<pubDate>Wed, 12 Oct 2011 08:07:57 GMT</pubDate>
<guid>http://snipplr.com/view/59660/latest-minified-jquery-from-google-cdn/</guid>
</item>
<item>
<title>(jQuery) Simple jQuery content filter with BONUS alternating row reset - FatFolderDesigner</title>
<link>http://snipplr.com/view/49255/simple-jquery-content-filter-with-bonus-alternating-row-reset/</link>
<description><![CDATA[ <p>A simple way to filter lists or tables that uses a new "Contains" (note capitalization) selector to clean up the code a bit. Three examples are below, first sorts through a list, second a table, third a tabe and it correctly the alternating row colors so that it keeps a nice clean look. Example at the link, any questions can be posted there too.</p> ]]></description>
<pubDate>Sat, 19 Feb 2011 18:49:06 GMT</pubDate>
<guid>http://snipplr.com/view/49255/simple-jquery-content-filter-with-bonus-alternating-row-reset/</guid>
</item>
<item>
<title>(jQuery) jQuery: finding all youtube.com links and replacing them with flash video - kristapsancans</title>
<link>http://snipplr.com/view/49150/jquery-finding-all-youtubecom-links-and-replacing-them-with-flash-video/</link>
<description><![CDATA[ <p>Easy way to replace all youtube.com links with embed flash video on page or blog post/posts.

Go to youtube.com, find the video (for example http://www.youtube.com/watch?v=zzk-8akrWxo), copy link and paste it in your page/blog post.

Change in script width and height to your desired parameters and change '#blog .post' to your page content container or blog post container.

Live preview can be seen here - http://motorolleri.lv/blogs/

That's it :) Enjoy.</p> ]]></description>
<pubDate>Thu, 17 Feb 2011 17:46:58 GMT</pubDate>
<guid>http://snipplr.com/view/49150/jquery-finding-all-youtubecom-links-and-replacing-them-with-flash-video/</guid>
</item>
<item>
<title>(jQuery) Simple Content Load on Scroll - FatFolderDesigner</title>
<link>http://snipplr.com/view/47744/simple-content-load-on-scroll/</link>
<description><![CDATA[ <p>Simple jQuery script to load additional content when you near the bottom of the page, same sorta thing Twitter does (although I originally programed it for a different use). Only thing of remark is the fact that it stores the current highest loaded value in a hidden variable, that way, fi the scrip dies or the user does not ave javascript enabled you can use that variable to load the next set of content up through traditions POST/GET methods.

I also have a version of the script that does not use jQuery if anybody is interested (although it is much larger and not as smooth).

Example is available at the link.

UPDATE: A commenter (on my site at the link) noted that there was a problem with the Content load on Scroll with jQuery example in Firefox 5 for windows and linux, and before I could even get off work to take a look he posted a fix.

The problem has to do with the browsers cacheing system. When you reload the page it keeps the cached value of the hidden input that keeps track of how far you’ve scrolled, so when you reloaded it would display the initial 50, then jump to wherever you were. The solution is simple, you just need to reset that value once the page is loaded, so that it will overwrite any cached data your browser may be using. The code he posted is as simple as it gets and has been added to the source. You could also fix this by playing with how browser cache your site, but since they usually get the right this seems like a better solution to me.</p> ]]></description>
<pubDate>Sun, 23 Jan 2011 17:55:47 GMT</pubDate>
<guid>http://snipplr.com/view/47744/simple-content-load-on-scroll/</guid>
</item>
<item>
<title>(jQuery) Content Swap - mikemetcalf</title>
<link>http://snipplr.com/view/21048/content-swap/</link>
<description><![CDATA[ <p>What it does:
Takes a navigation, and swaps out corresponding content dynamically. It will automatically assign an .active class to the active list item, and unhide the first hidden div.

How it works:
Add '.swap' to the navigation ul.
Add a '.hidden' class to each one of the corresponding divs</p> ]]></description>
<pubDate>Mon, 12 Oct 2009 12:05:04 GMT</pubDate>
<guid>http://snipplr.com/view/21048/content-swap/</guid>
</item>
<item>
<title>(jQuery) jQuery - Fading Content - thehamilton</title>
<link>http://snipplr.com/view/20492/jquery--fading-content/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 30 Sep 2009 15:52:27 GMT</pubDate>
<guid>http://snipplr.com/view/20492/jquery--fading-content/</guid>
</item>
</channel>
</rss>