<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Beyond Coding &#187; jQuery</title>
	<atom:link href="http://www.beyondcoding.com/category/javascript-ajax/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beyondcoding.com</link>
	<description>Follow us on Twitter: @fredwu and @scotti3g</description>
	<lastBuildDate>Tue, 28 Jun 2011 11:33:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>jQuery Slideshow Lite Plugin Updated (Major Rewrite)</title>
		<link>http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/</link>
		<comments>http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 12:49:50 +0000</pubDate>
		<dc:creator>Fred Wu</dc:creator>
				<category><![CDATA[Releases Updates]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=345</guid>
		<description><![CDATA[The jQuery Slideshow Lite plugin is updated with new features! This is a major rewrite which fixed the known issue of not being able to change slides instantly via pagination clicks. The new version also adds automatic photo caption display. Enjoy! :) Tags: gallery, image, javascript, jQuery, photo, plugin, slideshow Related posts Release: [jQuery Plugin] [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/">jQuery Slideshow Lite</a> plugin is updated with new features!</p>
<p>This is a major rewrite which fixed the known issue of not being able to change slides instantly via pagination clicks.</p>
<p>The new version also adds automatic photo caption display.</p>
<p>Enjoy! :)</p>

	Tags: <a href="http://www.beyondcoding.com/tag/gallery/" title="gallery" rel="tag">gallery</a>, <a href="http://www.beyondcoding.com/tag/image/" title="image" rel="tag">image</a>, <a href="http://www.beyondcoding.com/tag/javascript/" title="javascript" rel="tag">javascript</a>, <a href="http://www.beyondcoding.com/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.beyondcoding.com/tag/photo/" title="photo" rel="tag">photo</a>, <a href="http://www.beyondcoding.com/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.beyondcoding.com/tag/slideshow/" title="slideshow" rel="tag">slideshow</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/" title="Release: [jQuery Plugin] Slideshow Lite (August 4, 2009)">Release: [jQuery Plugin] Slideshow Lite</a> (61)</li>
	<li><a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/" title="Release: [jQuery Plugin] Endless Scroll (January 15, 2009)">Release: [jQuery Plugin] Endless Scroll</a> (66)</li>
	<li><a href="http://www.beyondcoding.com/2008/02/24/wordpress-plugins-recommendation-list/" title="WordPress Plugins Recommendation List (February 24, 2008)">WordPress Plugins Recommendation List</a> (2)</li>
	<li><a href="http://www.beyondcoding.com/2007/12/16/release-wordpress-plugin-syntaxhighlighter-plus/" title="Release: [WordPress Plugin] SyntaxHighlighter Plus (December 16, 2007)">Release: [WordPress Plugin] SyntaxHighlighter Plus</a> (185)</li>
	<li><a href="http://www.beyondcoding.com/2010/08/09/rails-jquery-dating-etc/" title="Rails, jQuery, Dating, etc (August 9, 2010)">Rails, jQuery, Dating, etc</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Release: [jQuery Plugin] Slideshow Lite</title>
		<link>http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/</link>
		<comments>http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 07:08:47 +0000</pubDate>
		<dc:creator>Fred Wu</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=327</guid>
		<description><![CDATA[Latest release: v0.5.3 Please check for the latest version on Github! A few days ago I was asked to make a simple slideshow. My initial thought was, there must be a ton of solutions available for jQuery. I could easily draw inspiration from them. I was wrong. Whilst there are a few nicely done slideshow [...]]]></description>
			<content:encoded><![CDATA[<p><del datetime="2011-06-28T11:33:10+00:00"><em>Latest release: <del>v0.5.3</del></em></del><br />
<strong><a href="https://github.com/fredwu/jquery-slideshow-lite">Please check for the latest version on Github!</a></strong></p>
<p>A few days ago I was asked to make a simple slideshow. My initial thought was, there must be a ton of solutions available for jQuery. I could easily draw inspiration from them.</p>
<p>I was wrong. Whilst there are a few nicely done slideshow plugins for jQuery, the majority of them are either poorly written or far too complicated.</p>
<p>So, I decided to code my own plugin from the ground up. Meet <a href="http://plugins.jquery.com/project/slideshowlite">Slideshow Lite</a>!</p>
<p>The plugin is only tested with jQuery 1.3, but it should also work on jQuery 1.2.</p>
<h3>Features</h3>
<ul>
<li>Unobtrusive JavaScript, simply load it and that&#8217;s it</li>
<li>Clean, semantic HTML structure</li>
<li>Easy to use</li>
<li>Customisable</li>
<li>Free to use or to modify (GPL/MIT dual license)!</li>
</ul>
<p><span id="more-327"></span></p>
<h3>Plugin Options</h3>
<ul>
<li><em>pauseSeconds</em> (float) &#8211; number of seconds between each photo to be displayed</li>
<li><em>fadeSpeed</em> (float) &#8211; number of seconds for the fading transition, the value should not exceed &#8216;pauseSeconds&#8217;</li>
<li><em>width</em> (integer) &#8211; width of the slideshow, in pixels</li>
<li><em>height</em> (integer) &#8211; height of the slideshow, in pixels</li>
<li><em>caption</em> (boolean) &#8211; display photo caption?</li>
<li><em>cssClass</em> (string) &#8211; name of the CSS class, defaults to &#8216;slideshowlite&#8217;</li>
</ul>
<h3>Usage</h3>
<pre class="brush: jscript;">
$(document).ready(function(){
	// with default options
	$(&quot;#slideshow&quot;).slideshow();

	// with custom options
	$(&quot;#slideshow2&quot;).slideshow({
		pauseSeconds: 4,
		height: 200
	});
});
</pre>
<p>Please checkout the <a href="http://fredwu.github.com/jquery-slideshow-lite/">demo</a> for the HTML required.</p>
<h3>Demo</h3>
<p><a href="http://fredwu.github.com/jquery-slideshow-lite/">Click here for a simple demo.</a></p>
<p><del datetime="2011-06-28T11:33:10+00:00"><strong><a href="http://plugins.jquery.com/project/slideshowlite"><del>Download / Source Code</del></a></strong></del><br />
<strong><a href="https://github.com/fredwu/jquery-slideshow-lite">Please check for the latest version on Github!</a></strong></p>
<h3>Changelog</h3>
<p>v0.5.3 [2009-09-24]</p>
<ul>
<li>Added &#8216;fadeSpeed&#8217; for setting the transition speed.</li>
</ul>
<p>v0.5.2 [2009-09-06]</p>
<ul>
<li>Repackaged to remove an unnecessary .htaccess file.</li>
</ul>
<p>v0.5.1 [2009-08-30]</p>
<ul>
<li>Fixed some typo.</li>
</ul>
<p>v0.5 [2009-08-29]</p>
<ul>
<li>Major rewrite: slides can now be clicked freely (as opposed to waiting for one to finish showing before it can be clicked again).</li>
<li>Added automatic photo caption.</li>
</ul>
<p>v0.4 [2009-08-05]</p>
<ul>
<li>Code clean up.</li>
<li>Added transparency effects to the navigation, to indicate when it is clickable.</li>
<li>Added inline configuration documentation.</li>
</ul>
<p>v0.3 [2009-08-04]</p>
<ul>
<li>Smoother animation.</li>
</ul>
<p>v0.2 [2009-08-04]</p>
<ul>
<li>Fixed a navigation bug where the clicks no longer work after clicking on the current slideshow.</li>
</ul>
<p>v0.1 [2009-08-04]</p>
<ul>
<li>Initial release.</li>
</ul>

	Tags: <a href="http://www.beyondcoding.com/tag/gallery/" title="gallery" rel="tag">gallery</a>, <a href="http://www.beyondcoding.com/tag/image/" title="image" rel="tag">image</a>, <a href="http://www.beyondcoding.com/tag/javascript/" title="javascript" rel="tag">javascript</a>, <a href="http://www.beyondcoding.com/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.beyondcoding.com/tag/photo/" title="photo" rel="tag">photo</a>, <a href="http://www.beyondcoding.com/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.beyondcoding.com/tag/slideshow/" title="slideshow" rel="tag">slideshow</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/" title="jQuery Slideshow Lite Plugin Updated (Major Rewrite) (August 29, 2009)">jQuery Slideshow Lite Plugin Updated (Major Rewrite)</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/" title="Release: [jQuery Plugin] Endless Scroll (January 15, 2009)">Release: [jQuery Plugin] Endless Scroll</a> (66)</li>
	<li><a href="http://www.beyondcoding.com/2008/02/24/wordpress-plugins-recommendation-list/" title="WordPress Plugins Recommendation List (February 24, 2008)">WordPress Plugins Recommendation List</a> (2)</li>
	<li><a href="http://www.beyondcoding.com/2007/12/16/release-wordpress-plugin-syntaxhighlighter-plus/" title="Release: [WordPress Plugin] SyntaxHighlighter Plus (December 16, 2007)">Release: [WordPress Plugin] SyntaxHighlighter Plus</a> (185)</li>
	<li><a href="http://www.beyondcoding.com/2010/08/09/rails-jquery-dating-etc/" title="Rails, jQuery, Dating, etc (August 9, 2010)">Rails, jQuery, Dating, etc</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
		</item>
		<item>
		<title>jQuery Endless Scroll Updated</title>
		<link>http://www.beyondcoding.com/2009/04/20/jquery-endless-scroll-updated/</link>
		<comments>http://www.beyondcoding.com/2009/04/20/jquery-endless-scroll-updated/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 07:20:46 +0000</pubDate>
		<dc:creator>Fred Wu</dc:creator>
				<category><![CDATA[Releases Updates]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[endless]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrolling]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=303</guid>
		<description><![CDATA[The jQuery Endless Scroll plugin has been updated. A bug caused by &#8216;fireDelay&#8216; is fixed. Please head over to the release post or the jQuery plugin site for the download link. Tags: endless, jQuery, pagination, scroll, scrolling Related posts Release: [jQuery Plugin] Endless Scroll (66) Release: [jQuery Plugin] Slideshow Lite (61) Rails, jQuery, Dating, etc [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/">jQuery Endless Scroll plugin</a> has been updated.</p>
<p>A bug caused by &#8216;<em>fireDelay</em>&#8216; is fixed.</p>
<p>Please head over to the <a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/">release post</a> or the<a href="http://plugins.jquery.com/project/endless-scroll"> jQuery plugin site</a> for the download link.</p>

	Tags: <a href="http://www.beyondcoding.com/tag/endless/" title="endless" rel="tag">endless</a>, <a href="http://www.beyondcoding.com/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.beyondcoding.com/tag/pagination/" title="pagination" rel="tag">pagination</a>, <a href="http://www.beyondcoding.com/tag/scroll/" title="scroll" rel="tag">scroll</a>, <a href="http://www.beyondcoding.com/tag/scrolling/" title="scrolling" rel="tag">scrolling</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/" title="Release: [jQuery Plugin] Endless Scroll (January 15, 2009)">Release: [jQuery Plugin] Endless Scroll</a> (66)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/" title="Release: [jQuery Plugin] Slideshow Lite (August 4, 2009)">Release: [jQuery Plugin] Slideshow Lite</a> (61)</li>
	<li><a href="http://www.beyondcoding.com/2010/08/09/rails-jquery-dating-etc/" title="Rails, jQuery, Dating, etc (August 9, 2010)">Rails, jQuery, Dating, etc</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2009/02/26/jquery-slidedown-issues-in-ie-quick-fixes/" title="jQuery.slideDown() issues in IE: quick fixes (February 26, 2009)">jQuery.slideDown() issues in IE: quick fixes</a> (18)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/" title="jQuery Slideshow Lite Plugin Updated (Major Rewrite) (August 29, 2009)">jQuery Slideshow Lite Plugin Updated (Major Rewrite)</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2009/04/20/jquery-endless-scroll-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery.slideDown() issues in IE: quick fixes</title>
		<link>http://www.beyondcoding.com/2009/02/26/jquery-slidedown-issues-in-ie-quick-fixes/</link>
		<comments>http://www.beyondcoding.com/2009/02/26/jquery-slidedown-issues-in-ie-quick-fixes/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 02:41:34 +0000</pubDate>
		<dc:creator>Fred Wu</dc:creator>
				<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[slideDown]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=249</guid>
		<description><![CDATA[A simple Google search suggests that people are having problems with jQuery.slideDown() on Internet Explorer. I&#8217;ve come across two issues on Internet Explorer 7 while developing a website containing some slideDown() effects, and found some quick fixes for them. :) Issue 1: slideDown() does not actually slide, the target HTML element appears the same way [...]]]></description>
			<content:encoded><![CDATA[<p>A simple Google search suggests that people are <a href="http://nick.blogster.com/jquery-slidedown-effect-ie-bug">having problems</a> with jQuery.slideDown() on Internet Explorer.</p>
<p>I&#8217;ve come across two issues on Internet Explorer 7 while developing a website containing some <em>slideDown()</em> effects, and found some quick fixes for them. :)</p>
<p><span id="more-249"></span></p>
<p><strong>Issue 1: <em>slideDown()</em> does not actually slide, the target HTML element appears the same way as <em>show()</em>.</strong></p>
<p>After messing around with the JavaScript and HTML, I&#8217;ve finally nailed down the issue. It occurs when there are absolutely positioned elements in the target HTML.</p>
<p>Typically when we have absolutely positioned elements, we would want to have a relatively positioned wrapper element to control the position of the elements on the page. It makes perfect sense to simply trigger the <em>slideDown()</em> effect on the wrapper.</p>
<p>The HTML schema would look something like this:</p>
<p>Wrapper A <small>(the element that contains Wrapper B, it makes an AJAX call to retrieve Wrapper B)</small><br />
&#8230;. Wrapper B <small>(the relatively positioned target element that is assigned to the <em>slideDown()</em> event)</small><br />
&#8230;. &#8230;. Element C <small>(absolutely positioned)</small></p>
<p>Both Firefox and Safari don&#8217;t have any problems with that, but Internet Explorer does. On IE 7 (I haven&#8217;t tested IE 6), the targeted HTML (Wrapper B) will simply appear without the sliding effect, resulting the same effect as calling <em>show()</em>.</p>
<p>The fix is simple, make the parent element (Wrapper A) relatively positioned too.</p>
<p><strong>Issue 2: <em>slideDown()</em> animates, then the element vanishes immediately afterwards.</strong></p>
<p>The problematic JavaScript looks something like this:</p>
<pre class="brush: jscript;">
var data = 'Some HTML retrieved from an AJAX call.';
$(&quot;div#wrapper_b&quot;).hide().html(data).slideDown();
</pre>
<p>The fix is quick and simple:</p>
<pre class="brush: jscript;">
var data = 'Some HTML retrieved from an AJAX call.';
$(&quot;div#wrapper_b&quot;).hide().html(data).slideDown().show(function(){
	$(this).html(data).show();
});
</pre>
<p>Of course, depending on the HTML markup, your mileage may vary.</p>

	Tags: <a href="http://www.beyondcoding.com/tag/fix/" title="fix" rel="tag">fix</a>, <a href="http://www.beyondcoding.com/tag/ie/" title="IE" rel="tag">IE</a>, <a href="http://www.beyondcoding.com/tag/internet-explorer/" title="Internet Explorer" rel="tag">Internet Explorer</a>, <a href="http://www.beyondcoding.com/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.beyondcoding.com/tag/slidedown/" title="slideDown" rel="tag">slideDown</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2008/11/20/jquery-problems-in-ie-it-could-be-swfobjects/" title="jQuery problems in IE? It could be SWFObjects. (November 20, 2008)">jQuery problems in IE? It could be SWFObjects.</a> (5)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/" title="Release: [jQuery Plugin] Slideshow Lite (August 4, 2009)">Release: [jQuery Plugin] Slideshow Lite</a> (61)</li>
	<li><a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/" title="Release: [jQuery Plugin] Endless Scroll (January 15, 2009)">Release: [jQuery Plugin] Endless Scroll</a> (66)</li>
	<li><a href="http://www.beyondcoding.com/2010/08/09/rails-jquery-dating-etc/" title="Rails, jQuery, Dating, etc (August 9, 2010)">Rails, jQuery, Dating, etc</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/" title="jQuery Slideshow Lite Plugin Updated (Major Rewrite) (August 29, 2009)">jQuery Slideshow Lite Plugin Updated (Major Rewrite)</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2009/02/26/jquery-slidedown-issues-in-ie-quick-fixes/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Release: [jQuery Plugin] Endless Scroll</title>
		<link>http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/</link>
		<comments>http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 01:31:37 +0000</pubDate>
		<dc:creator>Fred Wu</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[endless]]></category>
		<category><![CDATA[infinite]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrolling]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=161</guid>
		<description><![CDATA[Please check the GitHub repository for the latest release. If you don&#8217;t already know, endless scroll (or infinite scrolling) is a popular technique among web 2.0 sites such as Google Reader and Live Image Search, where instead of paging through items using the traditional pagination technique, the page just keeps loading with new items attached [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Please check <a href="https://github.com/fredwu/jquery-endless-scroll">the GitHub repository</a> for the latest release.</strong></em></p>
<p>If you don&#8217;t already know, <a href="http://www.google.com/search?q=endless+scroll">endless scroll</a> (or infinite scrolling) is a popular technique among web 2.0 sites such as <a href="http://reader.google.com/">Google Reader</a> and <a href="http://www.live.com/?scope=images">Live Image Search</a>, where instead of paging through items using the traditional pagination technique, the page just keeps loading with new items attached to the end.</p>
<p>I have developed a jQuery plugin to easily achieve this.</p>
<p><strong>Requirement:</strong> jQuery 1.2+</p>
<p>The plugin is tested with jQuery 1.2.6, 1.3 and 1.4.</p>
<p>There are a few options to customise the behaviour of this plugin:</p>
<ul>
<li><em>bottomPixels</em> (integer) &#8211; the number of pixels from the bottom of the page that triggers the event</li>
<li><em>fireOnce</em> (boolean) &#8211; only fire once until the execution of the current event is completed</li>
<li><em>fireDelay</em> (integer) &#8211; delay the subsequent firing, in milliseconds. 0 or false to disable delay.</li>
<li><em>loader</em> (string) &#8211; HTML loader</li>
<li><em>data</em> (string) &#8211; plain HTML data</li>
<li><em>insertAfter</em> (string) &#8211; jQuery selector syntax: where to put the loader as well as the plain HTML data</li>
<li><em>callback</em> (function) &#8211; callback function, accepets one argument: fire sequence (the number of times the event triggered during the current page session)</li>
<li><em>resetCounter</em> (function) &#8211; resets the fire sequence counter if the function returns true, this function could also perform hook actions since it is applied at the start of the event</li>
</ul>
<p><span id="more-161"></span></p>
<p>In a typical scenario, you won&#8217;t be using the &#8216;data&#8217; option, but rather the &#8216;callback&#8217; option. You may use it to trigger an AJAX call and updates/inserts your page content.</p>
<h3>Usage</h3>
<pre class="brush: jscript;">
// using default options
$(document).endlessScroll();
// using some custom options
$(document).endlessScroll({
	fireOnce: false,
	fireDelay: false,
	loader: &quot;&lt;div class=&quot;loading&quot;&gt;&lt;div&gt;&quot;,
	callback: function(p){
		alert(&quot;test&quot;);
	}
});
</pre>
<h3>Demo</h3>
<p><a href="http://fredwu.github.com/jquery-endless-scroll/">Click here for a simple demo.</a></p>
<p><strong><a href="https://github.com/fredwu/jquery-endless-scroll/downloads">Download / Source Code</a></strong></p>
<h3>Changelog</h3>
<p>v1.4.2 [2011-01-08]</p>
<ul>
<li>Fixed a bug where calling the script on $(document) would fail.</li>
</ul>
<p>v1.4.1 [2010-06-18]</p>
<ul>
<li>Fixed a bug where the callback fires when the inner wrap hasn&#8217;t been created.</li>
</ul>
<p>v1.4 [2010-06-18]</p>
<ul>
<li>Endless Scroll now works with any elements, not just $(document)!</li>
</ul>
<p>v1.3 [2009-04-20]</p>
<ul>
<li>Fixed a bug caused by &#8216;<em>fireDelay</em>&#8216;.</li>
</ul>
<p>v1.2 [2009-01-16]</p>
<ul>
<li>Added &#8216;<em>resetCounter</em>&#8216; option.</li>
</ul>
<p>v1.1 [2009-01-15]</p>
<ul>
<li>Added &#8216;<em>fireDelay</em>&#8216; option.</li>
</ul>
<p>v1.0 [2009-01-15]</p>
<ul>
<li>Initial release.</li>
</ul>

	Tags: <a href="http://www.beyondcoding.com/tag/ajax/" title="AJAX" rel="tag">AJAX</a>, <a href="http://www.beyondcoding.com/tag/endless/" title="endless" rel="tag">endless</a>, <a href="http://www.beyondcoding.com/tag/infinite/" title="infinite" rel="tag">infinite</a>, <a href="http://www.beyondcoding.com/tag/javascript/" title="javascript" rel="tag">javascript</a>, <a href="http://www.beyondcoding.com/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.beyondcoding.com/tag/js/" title="js" rel="tag">js</a>, <a href="http://www.beyondcoding.com/tag/plugin/" title="plugin" rel="tag">plugin</a>, <a href="http://www.beyondcoding.com/tag/scroll/" title="scroll" rel="tag">scroll</a>, <a href="http://www.beyondcoding.com/tag/scrolling/" title="scrolling" rel="tag">scrolling</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2009/04/20/jquery-endless-scroll-updated/" title="jQuery Endless Scroll Updated (April 20, 2009)">jQuery Endless Scroll Updated</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/" title="Release: [jQuery Plugin] Slideshow Lite (August 4, 2009)">Release: [jQuery Plugin] Slideshow Lite</a> (61)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/29/jquery-slideshow-lite-plugin-updated-major-rewrite/" title="jQuery Slideshow Lite Plugin Updated (Major Rewrite) (August 29, 2009)">jQuery Slideshow Lite Plugin Updated (Major Rewrite)</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2007/12/15/oh-where-did-my-theme-go/" title="Oh, where did my theme go? (December 15, 2007)">Oh, where did my theme go?</a> (1)</li>
	<li><a href="http://www.beyondcoding.com/2008/11/20/jquery-problems-in-ie-it-could-be-swfobjects/" title="jQuery problems in IE? It could be SWFObjects. (November 20, 2008)">jQuery problems in IE? It could be SWFObjects.</a> (5)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
		<item>
		<title>jQuery problems in IE? It could be SWFObjects.</title>
		<link>http://www.beyondcoding.com/2008/11/20/jquery-problems-in-ie-it-could-be-swfobjects/</link>
		<comments>http://www.beyondcoding.com/2008/11/20/jquery-problems-in-ie-it-could-be-swfobjects/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 06:55:04 +0000</pubDate>
		<dc:creator>scotti3g</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[SWFObject]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=119</guid>
		<description><![CDATA[So your jQuery/JavaScript code doesn&#8217;t have any errors, yet your site isn&#8217;t working as expected in Internet Explorer? It could be that you have some SWFObject code interfering with your jQuery code (if for example, you&#8217;re using a Flash video player or something along those lines). The solution is very simple. Simply enclose your SWFObject [...]]]></description>
			<content:encoded><![CDATA[<p>So your jQuery/JavaScript code doesn&#8217;t have any errors, yet your site isn&#8217;t working as expected in Internet Explorer? It could be that you have some SWFObject code interfering with your jQuery code (if for example, you&#8217;re using a Flash video player or something along those lines). The solution is very simple. Simply enclose your SWFObject code in a jQuery $(document).ready() as so:</p>
<pre class="brush: plain;">
&lt;script type=&quot;text/javascript&quot;&gt;
    $(document).ready(function(){
        var so = new SWFObject(&quot;movie.swf&quot;, &quot;mymovie&quot;, &quot;400&quot;, &quot;100%&quot;, &quot;8&quot;, &quot;#336699&quot;);
        so.addParam(&quot;quality&quot;, &quot;low&quot;);
        so.addParam(&quot;wmode&quot;, &quot;transparent&quot;);
        so.addParam(&quot;salign&quot;, &quot;t&quot;);
        so.write(&quot;flashcontent&quot;);
    });
&lt;/script&gt;
</pre>
<p>The only downside to this is that if you have some alternate HTML to show when Flash isn&#8217;t present, this text will be shown until the document is fully loaded and the player(s) start to render (even if the user does in fact have Flash installed).</p>

	Tags: <a href="http://www.beyondcoding.com/tag/ajax/" title="AJAX" rel="tag">AJAX</a>, <a href="http://www.beyondcoding.com/tag/ie/" title="IE" rel="tag">IE</a>, <a href="http://www.beyondcoding.com/tag/jquery/" title="jQuery" rel="tag">jQuery</a>, <a href="http://www.beyondcoding.com/tag/swfobject/" title="SWFObject" rel="tag">SWFObject</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2009/01/15/release-jquery-plugin-endless-scroll/" title="Release: [jQuery Plugin] Endless Scroll (January 15, 2009)">Release: [jQuery Plugin] Endless Scroll</a> (66)</li>
	<li><a href="http://www.beyondcoding.com/2009/02/26/jquery-slidedown-issues-in-ie-quick-fixes/" title="jQuery.slideDown() issues in IE: quick fixes (February 26, 2009)">jQuery.slideDown() issues in IE: quick fixes</a> (18)</li>
	<li><a href="http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/" title="Release: [jQuery Plugin] Slideshow Lite (August 4, 2009)">Release: [jQuery Plugin] Slideshow Lite</a> (61)</li>
	<li><a href="http://www.beyondcoding.com/2010/08/09/rails-jquery-dating-etc/" title="Rails, jQuery, Dating, etc (August 9, 2010)">Rails, jQuery, Dating, etc</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2007/12/15/oh-where-did-my-theme-go/" title="Oh, where did my theme go? (December 15, 2007)">Oh, where did my theme go?</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2008/11/20/jquery-problems-in-ie-it-could-be-swfobjects/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

