<?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>RB Music - Uncovered &#38; Rediscovered Hits &#187; MooTools</title>
	<atom:link href="http://www.rb-music.co.uk/category/mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rb-music.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 09 Sep 2010 22:34:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mootools form validation with mootools.floor</title>
		<link>http://www.rb-music.co.uk/2009/03/23/mootools-form-validation-with-mootoolsfloor/</link>
		<comments>http://www.rb-music.co.uk/2009/03/23/mootools-form-validation-with-mootoolsfloor/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 11:59:25 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Mootools.Math]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=192</guid>
		<description><![CDATA[Latest javascript mission was to get some nice validation for a holiding page I was creating I wanted something quite simple but ended up coming across a class called mootools.floor which cover all your validation needs e.g. email check, compare two field etc there are a long list of possibilites in the documentation

It includes support [...]]]></description>
			<content:encoded><![CDATA[<p>Latest javascript mission was to get some nice validation for a holiding page I was creating I wanted something quite simple but ended up coming across a class called <a href="http://mootools.floor.ch/docs/formcheck/files/formcheck-js.html">mootools.floor</a> which cover all your validation needs e.g. email check, compare two field etc there are a long list of possibilites in the <a href="http://mootools.floor.ch/docs/formcheck/files/formcheck-js.html">documentation</a></p>
<p><span id="more-192"></span></p>
<p>It includes support for AJAX form submission plus countless other features. The other plus point is the tooltips can be styled completely using CSS so this will fit into any site with a bit of tinkering. It also supports custom validation just write your own javascript function of what you want to validate. It really is a nice tool. It&#8217;s fairly easy to get up and running but once you get past the simple parts of this class it can be fairly tricky to get your head around &#8211; but once you get your head around it, its really nice to use!</p>
<p><a href="http://mootools.floor.ch/en/labs/">See the demos</a> of this in action</p>
<p><a href="http://mootools.floor.ch/docs/formcheck/files/formcheck-js.html">Documentation</a></p>
<p><img src="http://www.rb-music.co.uk/wp-content/uploads/2009/03/mathsfloor.jpg" alt="maths.floor example" title="maths.floor example" width="565" height="358" class="alignnone size-full wp-image-195" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2009/03/23/mootools-form-validation-with-mootoolsfloor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading graphic generator</title>
		<link>http://www.rb-music.co.uk/2009/01/17/loading-graphic-generator/</link>
		<comments>http://www.rb-music.co.uk/2009/01/17/loading-graphic-generator/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 20:36:09 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[loading]]></category>
		<category><![CDATA[loading graphic]]></category>
		<category><![CDATA[pre-loading]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=169</guid>
		<description><![CDATA[Earlier I was looking around for a loading graphic for my pre-loading image rotator and on my Google travels came across &#8216;Ajaxload&#8216;. This website will create custom loading graphics on the fly. 

Pick from a selection of different types of graphics enough to suit every site. Pick a background colour using the colour pick or [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier I was looking around for a loading graphic for my pre-loading image rotator and on my Google travels came across &#8216;<a href="http://www.ajaxload.info/">Ajaxload</a>&#8216;. This website will create custom loading graphics on the fly. </p>
<p><span id="more-169"></span></p>
<p>Pick from a selection of different types of graphics enough to suit every site. Pick a background colour using the colour pick or supply hex code or go for transparent. The same applies for a foreground colour. Lets go for white background colour and the blue of my site for foreground as an example. Hit generate and it pops up in the box below hit download and there you have it a custom loading graphic&#8230;</p>
<p><img src="http://www.rb-music.co.uk/wp-content/uploads/2009/01/ajax-loader.gif" alt="loading graphic from ajaxload.info" title="loading graphic from ajaxload.info" width="16" height="16" /></p>
<p><a href="http://www.ajaxload.info/">Ajaxload &#8211; Ajax loading gif generator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2009/01/17/loading-graphic-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MooTools preloading image rotator class</title>
		<link>http://www.rb-music.co.uk/2009/01/17/mootools-preloading-image-rotator-class/</link>
		<comments>http://www.rb-music.co.uk/2009/01/17/mootools-preloading-image-rotator-class/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 20:25:20 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[image rotator]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mooTools Javascript]]></category>
		<category><![CDATA[pre-loading images]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=166</guid>
		<description><![CDATA[Following on from my previous post about a pre-loading image rotator I have decided to create a mooTools class for it so it can be used easily over and over again.

This class will pre-load an array of images and then begin to fade between them useful if you want to load particularly large images and [...]]]></description>
			<content:encoded><![CDATA[<p>Following on from my <a href="http://www.rb-music.co.uk/2008/10/20/mootools-preloading-image-loader/">previous post</a> about a pre-loading image rotator I have decided to create a mooTools class for it so it can be used easily over and over again.</p>
<p><span id="more-166"></span></p>
<p>This class will pre-load an array of images and then begin to fade between them useful if you want to load particularly large images and let your users know that the images are on there way.</p>
<p>An example of the class in action can be <a href="http://www.rb-music.co.uk/examples/mootoolspreloader/mootoolsclass.html">found here</a></p>
<p>To download the example for your own use it can be <a href="http://www.rb-music.co.uk/examples/mootoolspreloader/mooclass.zip">downloaded here</a></p>
<p>This has been tested in Firefox 3, Opera 10 and Internet Explorer 7&#8230; Feel free to comment on any suggestions for improved functionality! Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2009/01/17/mootools-preloading-image-rotator-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mootools Popups</title>
		<link>http://www.rb-music.co.uk/2009/01/06/mootools-popups/</link>
		<comments>http://www.rb-music.co.uk/2009/01/06/mootools-popups/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 22:52:50 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[slimbox]]></category>
		<category><![CDATA[smoothbox]]></category>
		<category><![CDATA[squeezebox]]></category>
		<category><![CDATA[thickbox]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=160</guid>
		<description><![CDATA[On most project I tend to use this somewhere or other a &#8220;slimbox&#8221; type of popup you know the ones. Well here are two takes on this effect allowing for images/iframe content and ajax calls.

Squeezebox
http://digitarald.de/project/squeezebox/
I&#8217;d rate this over smoothbox it tends to throw back some JS errors when I used it although it could be [...]]]></description>
			<content:encoded><![CDATA[<p>On most project I tend to use this somewhere or other a &#8220;slimbox&#8221; type of popup you know the ones. Well here are two takes on this effect allowing for images/iframe content and ajax calls.</p>
<p><span id="more-160"></span></p>
<h3>Squeezebox</h3>
<p><a href="http://digitarald.de/project/squeezebox/">http://digitarald.de/project/squeezebox/</a></p>
<p>I&#8217;d rate this over smoothbox it tends to throw back some JS errors when I used it although it could be down to conflicts I have not got round to checking it out yet&#8230; Works with Moo tools 1.2</p>
<h3>Smoothbox</h3>
<p><a href="http://gueschla.com/labs/smoothbox/">http://gueschla.com/labs/smoothbox/</a></p>
<p>I think this is an older version development wise however it still functions perfectly apart from the JS errors it might just be me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2009/01/06/mootools-popups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelance</title>
		<link>http://www.rb-music.co.uk/2008/11/25/freelance/</link>
		<comments>http://www.rb-music.co.uk/2008/11/25/freelance/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 21:18:02 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Software/Tools]]></category>
		<category><![CDATA[The Life of ...]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[mooTools Javascript]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=100</guid>
		<description><![CDATA[Most evenings during the week I am free for a few hours so feel its time to try get some little bits and pieces of extra work

Just put it out there if any one is in need of any web work &#8211; site updates, site creation, funky JavaScript effects, bit of php here and there [...]]]></description>
			<content:encoded><![CDATA[<p>Most evenings during the week I am free for a few hours so feel its time to try get some little bits and pieces of extra work</p>
<p><span id="more-100"></span></p>
<p>Just put it out there if any one is in need of any web work &#8211; site updates, site creation, funky JavaScript effects, bit of php here and there anything at all really get in touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2008/11/25/freelance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JShop Review</title>
		<link>http://www.rb-music.co.uk/2008/10/31/jshop-review/</link>
		<comments>http://www.rb-music.co.uk/2008/10/31/jshop-review/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 23:16:13 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Software/Tools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JShop]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=86</guid>
		<description><![CDATA[Ecommerce is something I haven’t really covered in any huge depth before but along came the opportunity at work to get stuck into making a shop online. At my old company we were about to start a site using JShop but the time came to move on. So a few weeks into my new job [...]]]></description>
			<content:encoded><![CDATA[<p>Ecommerce is something I haven’t really covered in any huge depth before but along came the opportunity at work to get stuck into making a shop online. At my old company we were about to start a site using JShop but the time came to move on. So a few weeks into my new job along came a project – an ecommerce site in JShop.</p>
<p><span id="more-86"></span></p>
<p>From my initial introduction into the backend of the system it seemed a little daunting but once you get used to where everything is, it all becomes a lot simpler – it also helps if you get yourself a copy of manual to flick through great little reference throughout the project, also if you have someone who has used the system before (cheers Pete) will help. </p>
<p>Most things you could possibly want to customize are included such as custom fields, extra fields for products/sections etc also you can turn desired functionality on and off with a flick of a switch in the backend – shipping type, tax etc. This makes for minimal need for hacks to both the core code and database which makes the implementation of JShop simple and easy. </p>
<p>Saying that if you do require to add code this is straightforward as long as you know your stuff (php/javascript), the code is clearly laid out so when I did need to make a simple tweak there wasn’t too much pain involved. Although I would advise not hacking too much as one it isn’t supported by Jshop &#8211; two it could hinder any future updates – which are free once you have purchased the license. I guess with custom code its knowing when you have added too much&#8230; always comment what’s been added you can always remove for an update and add back in.</p>
<p>Once you have mastered the backend functionality the only thing left is the templating system which is one of the best things I have worked with easy enough for a non developer to understand. Making loops/if else simple and adding anything returned from the database as easy as {customer.name} which allows you to create any look and feel you could possibly want. This is fairly laborious task but taking each page one at a time and adding your own styles the site soon comes together it would take a considerable amount of time to knock up each template from scratch.</p>
<p>I’m yet to decide if to start fresh css as wise as it doesn’t make the best use of it, a lot of time was spent adjusting font sizes, colours, sizes but for speed adjusting the two css files works just fine – the css is never going to be 100% but it works just fine&#8230; </p>
<p>If you do purchase and need any support the forums are fairly handy but the email support is even better I emailed with a fairly complex problem and the guys on there support team knocked up a template in order for me to allow me to achieve what I needed to… worth every penny!!</p>
<p>To sum up I would highly recommend this for any kind of shop you could want, a lot of thought has gone into what a shop might what to do and this is all made available – out of the box. This then allows you to spend your time adjusting templates to your own look and feel. The checkout process is smooth and clear it gives the customer complete control over there orders… Within the system I don’t think there is anything else you could possibly want to add unless you had really specialist processes involved in your order process if you want a shop online this gives you exactly that I don’t think you could want more – unless you are picky with minor details. The likes of play/amazon aren’t going to offer much more functionality wise (related products/reviews etc) to that what Jshop is going to offer, even if the processes might be slightly different.</p>
<p>To create something similar would take at least 5+ months development time perhaps…. With JShop out of the box to live site 15/20 days dev time the next one would be quicker. </p>
<p>You do the maths….</p>
<p><a href="http://www.jshop.co.uk/">Check JShop out</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2008/10/31/jshop-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MooTools preloading image rotator</title>
		<link>http://www.rb-music.co.uk/2008/10/20/mootools-preloading-image-loader/</link>
		<comments>http://www.rb-music.co.uk/2008/10/20/mootools-preloading-image-loader/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 20:31:22 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=64</guid>
		<description><![CDATA[I must have written six or seven of these bad boys since about January so I though one last time I&#8217;ll post it here and adapt it from time to time when I need it ! So here it is for both me any anyone else intrested

This takes a number of images pre loads them [...]]]></description>
			<content:encoded><![CDATA[<p>I must have written six or seven of these bad boys since about January so I though one last time I&#8217;ll post it here and adapt it from time to time when I need it ! So here it is for both me any anyone else intrested</p>
<p><span id="more-64"></span></p>
<p>This takes a number of images pre loads them and will then fade between them</p>
<p>html</p>
<div class="pre">&lt;div id=&#8221;image_rotator&#8221;&gt;<br />
&lt;img src=&#8221;image/img1.jpg&#8221; style=&#8221;visibility: visible; opacity: 1&#8243; /&gt;<br />
&lt;img src=&#8221;image/img2.jpg&#8221; style=&#8221;visibility: hidden; opacity: 0&#8243; /&gt;<br />
&lt;img src=&#8221;image/img3.jpg&#8221; style=&#8221;visibility: hidden; opacity: 0&#8243; /&gt;<br />
&lt;/div&gt;</div>
<p>css</p>
<div class="pre">#image_rotator {<br />
position: relative;<br />
width: 100px;<br />
height: 100px;<br />
}<br />
#image_rotator {<br />
position: absolute<br />
}</div>
<p>javascript</p>
<div class="pre">window.addEvent(&#8220;domready&#8221;, function() {</p>
<p>var images = $$(&#8216;#image_rotator img&#8217;) //the image<br />
var imgTotal = images.length-1;<br />
var pos = 0;</p>
<p>//set up an array of image src&#8217;s we want to preload<br />
var imgSrcs = new Array();</p>
<p>//loop through array and stuff the images src&#8217;s into an array to use next<br />
images.each(function (el,l) {<br />
imgSrcs[l] = images[l].src;<br />
});</p>
<p>//check all our images from array have loaded then start calling fadeImages every 5 seconds<br />
var myImages = new Asset.images(imgSrcs,<br />
onComplete: function(){<br />
fadeImages.periodical(5000);<br />
}<br />
});</p>
<p>function fadeImages() {</p>
<p>//if we are at the end of list of images fade out last 1 fade in 1st else we fade current and fade in the next<br />
if (pos == imgTotal) {<br />
fadeImgOut=imgTotal;<br />
fadeImgIn =0;<br />
pos = 0;<br />
}<br />
else {<br />
fadeImgOut=pos;<br />
fadeImgIn =pos+1;<br />
pos ++;<br />
}</p>
<p>//do the fading stuff<br />
var fadeOut = new Fx.Tween(images[fadeImgOut], {duration: 2000});<br />
var fadeIn = new Fx.Tween(images[fadeImgIn], {duration: 2000});<br />
fadeOut.start(&#8216;opacity&#8217;,[1,0]);<br />
fadeIn.start(&#8216;opacity&#8217;,[0,1]);</p>
<p>}</p>
<p>});</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2008/10/20/mootools-preloading-image-loader/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>MooTools product scroller</title>
		<link>http://www.rb-music.co.uk/2008/10/17/mootools-product-scroller/</link>
		<comments>http://www.rb-music.co.uk/2008/10/17/mootools-product-scroller/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 19:44:09 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=27</guid>
		<description><![CDATA[On a recent project we needed a way of scrolling a product listing nicley I came up with following.

Obviously there are probably a zillion ways of acheiving the same result but this is my take on it. I admit to not being any kind of genius when it comes to javascript/mootools so probably room for [...]]]></description>
			<content:encoded><![CDATA[<p>On a recent project we needed a way of scrolling a product listing nicley I came up with following.</p>
<p><span id="more-27"></span><br />
Obviously there are probably a zillion ways of acheiving the same result but this is my take on it. I admit to not being any kind of genius when it comes to javascript/mootools so probably room for improvement but hey it works!</p>
<p>html</p>
<div class="pre">
&lt;div=&#8221;left&#8221;&gt;&lt;/div&gt;<br />
&lt;div id=&#8221;wrapper&#8221;&gt;<br />
&lt;div=&#8221;carosuel&#8221;&gt;<br />
&lt;img src=&#8221;" /&gt;<br />
&lt;img src=&#8221;" /&gt;<br />
&lt;img src=&#8221;" /&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;div=&#8221;right&#8221;&gt;&lt;/div&gt;
</div>
<p>css</p>
<div class="pre">
#wrapper {<br />
width: x;<br />
height: x<br />
position: relative;<br />
}<br />
#carousel {<br />
left: 0;<br />
width: x;<br />
}
</div>
<p>javascript</p.</p>
<div class="pre">
// Let&#8217;s define some variables first<br />
var wrapper = $(&#8216;wrap&#8217;); // The outer wrapper<br />
var carousel = $(&#8216;carousel&#8217;); // The inner wrapper<br />
var items = $$(&#8216;#carousel div&#8217;); // The different elements, this is an array<br />
var item_width = 52; // The full width of a single item (incl. borders, padding, etc &#8230; if there is any)<br />
var max_margin = item_width*items.length; //The width of the carousel elements with the wrapper<br />
var allowScroll = true; //Allow scroll depending on with of carousel</p>
<p>var min_move = wrapper.getStyle(&#8220;width&#8221;).toInt() &#8211; max_margin + 10; //Work out the maximum margin to move the carousel to</p>
<p>//Check to see if the carousel is less then the wrapper if so don&#8217;t allow any scrolling<br />
if (max_margin < wrapper.getStyle("width").toInt())  {<br />
	allowScroll = false;<br />
}</p>
<p>// Set up the animation<br />
var animation = new Fx.Tween(carousel, {duration: 1000});</p>
<p>// The function to browse forward(right)<br />
function next_item(pos){<br />
	if(pos >= -max_margin){<br />
		animation.start(&#8216;left&#8217;, 0);<br />
	}<br />
}</p>
<p>// The function to browse backward(left)<br />
function previous_item(pos){<br />
	if(pos <= 0){<br />
	animation.start('left', min_move);<br />
	}<br />
}</p>
<p>// Set up the 'next' and 'previous' buttons only allow if allowScroll = true<br />
$('left').addEvent('mouseover', function(){<br />
	if (allowScroll == true) {<br />
		var position = parseInt(carousel.getStyle('left'));<br />
		previous_item(position);<br />
	}</p>
<p>});</p>
<p>$('right').addEvent('mouseover', function(){<br />
	if (allowScroll == true) {<br />
		var position = parseInt(carousel.getStyle('left'));<br />
		next_item(position);<br />
	}<br />
});</p>
<p>$('left').addEvent('mouseout', function(e){<br />
	animation.cancel();<br />
});</p>
<p>$('right').addEvent('mouseout', function(e){<br />
	animation.cancel();<br />
});
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2008/10/17/mootools-product-scroller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
