<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: jQuery :random filter</title>
	<atom:link href="http://blog.mastykarz.nl/jquery-random-filter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/jquery-random-filter/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP &#124; ISSN 2210-9390</description>
	<lastBuildDate>Thu, 09 Sep 2010 10:31:18 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Philip</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-55427</link>
		<dc:creator>Philip</dc:creator>
		<pubDate>Tue, 07 Sep 2010 09:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-55427</guid>
		<description>Sorry using this one:

jQuery.extend({
	random: function(X) {
	    return Math.floor(X * (Math.random() % 1));
	},
	randomBetween: function(MinV, MaxV) {
	  return MinV + jQuery.random(MaxV - MinV + 1);
	}
});</description>
		<content:encoded><![CDATA[<p>Sorry using this one:</p>
<p>jQuery.extend({<br />
	random: function(X) {<br />
	    return Math.floor(X * (Math.random() % 1));<br />
	},<br />
	randomBetween: function(MinV, MaxV) {<br />
	  return MinV + jQuery.random(MaxV &#8211; MinV + 1);<br />
	}<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-55426</link>
		<dc:creator>Philip</dc:creator>
		<pubDate>Tue, 07 Sep 2010 09:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-55426</guid>
		<description>I used it for a random starting carousel using sorgalla.com Jcarousel. Thank you very much, here is the example code:

$(&quot;.banner_carousel&quot;).jcarousel({
auto:6,
start:$.random($(&quot;.banner_carousel li&quot;).size()),
scroll:2,
wrap: &#039;circular&#039;

});</description>
		<content:encoded><![CDATA[<p>I used it for a random starting carousel using sorgalla.com Jcarousel. Thank you very much, here is the example code:</p>
<p>$(&#034;.banner_carousel&#034;).jcarousel({<br />
auto:6,<br />
start:$.random($(&#034;.banner_carousel li&#034;).size()),<br />
scroll:2,<br />
wrap: &#039;circular&#039;</p>
<p>});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-50663</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Thu, 08 Jul 2010 04:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-50663</guid>
		<description>@Renee: the script I showed you allows you to pick a random item, not shuffle list items in a random order. I think you would need a whole different script for your scenario. Have you already tried looking up the jQuery plugins gallery?</description>
		<content:encoded><![CDATA[<p>@Renee: the script I showed you allows you to pick a random item, not shuffle list items in a random order. I think you would need a whole different script for your scenario. Have you already tried looking up the jQuery plugins gallery?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renee</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-50635</link>
		<dc:creator>Renee</dc:creator>
		<pubDate>Wed, 07 Jul 2010 19:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-50635</guid>
		<description>Can you provide any additional insight regarding using this snippet to display list items (li) in a random order?

Many thanks for your work!</description>
		<content:encoded><![CDATA[<p>Can you provide any additional insight regarding using this snippet to display list items (li) in a random order?</p>
<p>Many thanks for your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allain Lalonde</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-46599</link>
		<dc:creator>Allain Lalonde</dc:creator>
		<pubDate>Mon, 19 Apr 2010 17:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-46599</guid>
		<description>Great snippet.

For some reason I had to change my query slightly from:

    $(&quot;#section1 .links a:random&quot;)

To:
    $(&quot;#section1 .links&quot;).find(&quot;a:random&quot;).

r.length was considerably higher than it should have been in the first case, but the second selector worked fine.

Thoughts?</description>
		<content:encoded><![CDATA[<p>Great snippet.</p>
<p>For some reason I had to change my query slightly from:</p>
<p>    $(&#034;#section1 .links a:random&#034;)</p>
<p>To:<br />
    $(&#034;#section1 .links&#034;).find(&#034;a:random&#034;).</p>
<p>r.length was considerably higher than it should have been in the first case, but the second selector worked fine.</p>
<p>Thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: journalweblogthing &#187; Twitter Weekly Updates for 2010-03-28</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-45381</link>
		<dc:creator>journalweblogthing &#187; Twitter Weekly Updates for 2010-03-28</dc:creator>
		<pubDate>Sun, 28 Mar 2010 22:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-45381</guid>
		<description>[...] much liking this little bit of jquery code for random selections. http://blog.mastykarz.nl/jquery-random-filter/ [...]</description>
		<content:encoded><![CDATA[<p>[...] much liking this little bit of jquery code for random selections. <a href="http://blog.mastykarz.nl/jquery-random-filter/" rel="nofollow">http://blog.mastykarz.nl/jquery-random-filter/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-39337</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Tue, 05 Jan 2010 05:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-39337</guid>
		<description>@keo: could you provide some more information on how you&#039;re using it (eg. what is your HTML and what is your selector)?</description>
		<content:encoded><![CDATA[<p>@keo: could you provide some more information on how you&#039;re using it (eg. what is your HTML and what is your selector)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keo</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-39289</link>
		<dc:creator>keo</dc:creator>
		<pubDate>Mon, 04 Jan 2010 21:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-39289</guid>
		<description>Hi, thanks for the snippet it works fine but I&#039;m getting same error that Alexandre de Oliveira in IE(8)
please, you can fixed it?
thank you!</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the snippet it works fine but I&#039;m getting same error that Alexandre de Oliveira in IE(8)<br />
please, you can fixed it?<br />
thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Millar</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-36612</link>
		<dc:creator>David Millar</dc:creator>
		<pubDate>Sun, 06 Dec 2009 19:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-36612</guid>
		<description>Thank you for the awesome snippet of code! I&#039;m currently working on a for-fun project making a story engine similar to text adventure games, and have been looking for good ways to randomize and limit options, and this will work perfectly!</description>
		<content:encoded><![CDATA[<p>Thank you for the awesome snippet of code! I&#039;m currently working on a for-fun project making a story engine similar to text adventure games, and have been looking for good ways to randomize and limit options, and this will work perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/jquery-random-filter/comment-page-1/#comment-25988</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Sun, 16 Aug 2009 08:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/jquery-random-filter/#comment-25988</guid>
		<description>@Alexandre de Oliveira: it took a while, but I&#039;ve just tested it in IE8 and it works perfectly. Could you provide any more details about your scenario?</description>
		<content:encoded><![CDATA[<p>@Alexandre de Oliveira: it took a while, but I&#039;ve just tested it in IE8 and it works perfectly. Could you provide any more details about your scenario?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
