<?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>jQuery &#8211; Rotates.org V12</title>
	<atom:link href="https://www.rotates.org/category/webdev/javascript/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.rotates.org</link>
	<description>The personal blog of developer, photographer and designer Lewis &#039;SEPTiMUS&#039; Lane</description>
	<lastBuildDate>Fri, 04 Dec 2009 21:38:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.rotates.org/wp-content/uploads/2025/06/cropped-rotates-logo-32x32.png</url>
	<title>jQuery &#8211; Rotates.org V12</title>
	<link>https://www.rotates.org</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">6964888</site>	<item>
		<title>ColorShift 0.7 (eek!)</title>
		<link>https://www.rotates.org/2009/11/28/colorshift-0-7-eek/</link>
		
		<dc:creator><![CDATA[SEPTiMUS]]></dc:creator>
		<pubDate>Sat, 28 Nov 2009 22:16:03 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Releases]]></category>
		<guid isPermaLink="false">http://www.rotates.org/?p=137</guid>

					<description><![CDATA[Hot on the heels of 0.6, now you can set offsets on a per-selector basis. This means you can alter multi-coloured websites in a relative way! Yay! Download it here. Note the &#8216;styles&#8217; item is now (correctly) called &#8216;attributes&#8217;. Update: 0.71 quick bugfix release! Fixed not working in IE7 (boo!)]]></description>
										<content:encoded><![CDATA[<p>Hot on the heels of 0.6, now you can set offsets on a per-selector basis. This means you can alter multi-coloured websites in a relative way! Yay! Download it <a href="https://rotates.org/wp-content/plugins/download-monitor/download.php?id=1">here</a>.</p>
<p><strong>Note</strong> the &#8216;styles&#8217; item is now (correctly) called &#8216;attributes&#8217;.</p>
<p><strong>Update:</strong> 0.71 quick bugfix release! Fixed not working in IE7 (boo!)</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">137</post-id>	</item>
		<item>
		<title>ColorShift 0.6</title>
		<link>https://www.rotates.org/2009/11/28/colorshift-0-6/</link>
		
		<dc:creator><![CDATA[SEPTiMUS]]></dc:creator>
		<pubDate>Sat, 28 Nov 2009 20:12:38 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Attributes]]></category>
		<category><![CDATA[Background Color]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Colors]]></category>
		<category><![CDATA[Colours]]></category>
		<category><![CDATA[Global Change]]></category>
		<category><![CDATA[Hue Saturation]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Offsets]]></category>
		<category><![CDATA[Page Elements]]></category>
		<category><![CDATA[Selectors]]></category>
		<category><![CDATA[Slider]]></category>
		<category><![CDATA[Struggle]]></category>
		<category><![CDATA[Style Element]]></category>
		<guid isPermaLink="false">http://www.rotates.org/?p=134</guid>

					<description><![CDATA[Sooner rather than later it seems, you can now download Rotates ColorShift 0.6 and bask in its amazingness. The main change is how you set your selectors; instead of writing your own jQuery to target the elements you want to change, you feed rotColShiftOpts.cssTransforms with an array of objects. This is what Rotates.org uses: [ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Sooner rather than later it seems, you can now <a title="Rotates ColorShift 0.6" href="https://rotates.org/wp-content/plugins/download-monitor/download.php?id=1">download Rotates ColorShift 0.6</a> and bask in its amazingness.</p>
<p>The main change is how you set your selectors; instead of writing your own jQuery to target the elements you want to change, you feed rotColShiftOpts.cssTransforms with an array of objects. This is what Rotates.org uses:</p>
<pre name="code" class="javascript">[
	{
		selector: "a, h2, h3, h4, h5",
		styles: [
			"color"
		]
	},
	{
		selector: "#header, #searchsubmit",
		styles: [
			"background-color"
		]
	}
]</pre>
<p>Actually it was a bit of a struggle, as I wanted to abandon the DOM-based approach to changing the CSS of every individual element, and go for a global stylesheet change. Easy you say? Just .append/.text a style element. Well, yes, in all decent browsers. Sadly, the IE family seems unwilling to let you tamper with the style element so easily, and jQuery (at the moment) has no elegant way around it. So out came the &#8216;Lew hacking pants&#8217; with the following solution:</p>
<pre name="code" class="javascript">ieStyle = document.createStyleSheet();

$.each(rotColShiftOpts.cssTransforms, function(i, ttrans) {
	newColor = getColorWithOffsets(hue, saturation, brightness, ttrans.offsets);
	var tstyles = "";
	$.each(ttrans.attributes, function(i, ts) {
		tstyles += ts + ": " + newColor + ";";
	});
	tmpTransforms += ttrans.selector + "{ " + tstyles + " } ";
});

if ($.browser.msie) { // *sigh*
	ieStyle.cssText = tmpTransforms;
}
else {
	$("style[title='colshift']").text(tmpTransforms);
}</pre>
<p>Anyway the result is that you a) get a better, easier to use syntax for applying the changes to page elements, and b) can be safe in the knowledge the styles will be applied to <em>all</em> elements on the page (even generated ones)  just like CSS should be. Enjoy!</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">134</post-id>	</item>
		<item>
		<title>ColorShift update coming soon</title>
		<link>https://www.rotates.org/2009/11/28/colorshift-update-coming-soon/</link>
		
		<dc:creator><![CDATA[SEPTiMUS]]></dc:creator>
		<pubDate>Sat, 28 Nov 2009 15:11:52 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">http://www.rotates.org/?p=132</guid>

					<description><![CDATA[I&#8217;ve been playing with various Twitter widgets for WordPress, none of which have been quite &#8216;right&#8217;, so I&#8217;ll be creating my own. This has also spurred me to update ColorShift, as the fail is now showing in the code, and it needs a more robust way of applying colours to all elements, including ones added [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been playing with various Twitter widgets for WordPress, none of which have been quite &#8216;right&#8217;, so I&#8217;ll be creating my own. This has also spurred me to update ColorShift, as the fail is now showing in the code, and it needs a more robust way of applying colours to all elements, including ones added after page load.</p>
<p>Look out for a new version of ColorShift in the next few days, along with possibly a new mini-project in the form of my own Twitter widget for WordPress &#8211; jQuery driven (of course), semantic, configurable, and with optional caching and API limit safety features.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">132</post-id>	</item>
		<item>
		<title>ColorShift initial release</title>
		<link>https://www.rotates.org/2009/03/17/colorshift-initial-release/</link>
		
		<dc:creator><![CDATA[SEPTiMUS]]></dc:creator>
		<pubDate>Tue, 17 Mar 2009 19:40:18 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Releases]]></category>
		<guid isPermaLink="false">http://www.rotates.org/?p=31</guid>

					<description><![CDATA[As promised, I&#8217;ve added the slightly fettled version of ColorShift (as it&#8217;s now known &#8211; yes I&#8217;m English, no I won&#8217;t spell it &#8216;colour&#8217; because I&#8217;m a webdev) to the site. Currently it&#8217;s in a pretty sorry state and only just works via the crutches of pure hackery that keep it standing&#8230; &#8230; okay a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As promised, I&#8217;ve added the slightly fettled version of ColorShift (as it&#8217;s now known &#8211; yes I&#8217;m English, no I won&#8217;t spell it &#8216;colour&#8217; because I&#8217;m a webdev) to the site. Currently it&#8217;s in a pretty sorry state and only just works via the crutches of pure hackery that keep it standing&#8230;</p>
<p>&#8230; okay a bit melodramatic but you get the gist. <a href="https://rotates.org/wp-content/plugins/download-monitor/download.php?id=1">Go get it</a>!</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31</post-id>	</item>
		<item>
		<title>Acid rain</title>
		<link>https://www.rotates.org/2009/03/16/acid-rain/</link>
		
		<dc:creator><![CDATA[SEPTiMUS]]></dc:creator>
		<pubDate>Mon, 16 Mar 2009 00:27:30 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[jQuery]]></category>
		<guid isPermaLink="false">http://www.rotates.org/?p=24</guid>

					<description><![CDATA[Appropriately, I&#8217;ve decided to add some Flash to the header (which is likely to become more and more resource intensive as I meddle inexorably with its source) which is also appropriately melded in with CSS and Javascript via the nifty new colour changer&#8230; Yes that&#8217;s right, you can now change the colour of my blog! [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Appropriately, I&#8217;ve decided to add some Flash to the header (which is likely to become more and more resource intensive as I meddle inexorably with its source) which is also appropriately melded in with CSS and Javascript via the nifty new colour changer&#8230;</p>
<p>Yes that&#8217;s right, you can now change the colour of my blog! Far be it for me as a designer to impose my will upon you and make you put up with my dodgy colours &#8211; choose your own dodgy colours instead!*</p>
<p>I&#8217;ll include the <a title="jQuery" href="http://www.jquery.com/">jQuery</a> (and <a title="jQueryUI" href="http://jqueryui.com/">jQueryUI</a>) source for the colour changer soon when I&#8217;ve cleaned up the selectors and made them a bit more portable.</p>
<address>* For the love of god, don&#8217;t make it pink though.</address>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">24</post-id>	</item>
	</channel>
</rss>
