<?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"
	>

<channel>
	<title>Andrew Sellick &#187; script.aculo.us</title>
	<atom:link href="http://www.andrewsellick.com/category/scriptaculous/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andrewsellick.com</link>
	<description>andrewsellick.com</description>
	<pubDate>Sat, 23 Aug 2008 18:11:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Script of the week</title>
		<link>http://www.andrewsellick.com/69/script-of-the-week-5</link>
		<comments>http://www.andrewsellick.com/69/script-of-the-week-5#comments</comments>
		<pubDate>Thu, 04 Oct 2007 23:06:24 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Prototype]]></category>

		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/69/script-of-the-week-5</guid>
		<description><![CDATA[It&#8217;s been a while since I last posted a script of the week, however, as soon as I found this script I knew I had to put it on my site.&#160; Well this week it is a script called LightWindow that claims the prize.&#160; Before you all moan at yet another light-&#8217;whatever&#8217; as it is [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I last posted a script of the week, however, as soon as I found this script I knew I had to put it on my site.&nbsp; Well this week it is a script called <a href="http://stickmanlabs.com/lightwindow/" target="_blank">LightWindow</a> that claims the prize.&nbsp; Before you all moan at yet another light-&#8217;whatever&#8217; as it is so well put on the LightWindow site please read on as this one is really worth a look.</p>
<p>Now I have seen a lot of LightBox esq effects out there but this one wins the prize.  Not for aesthetics as on that front it is just the same as the others, however, if you look at the media types that LightWindow is compatible with you gain an understanding as to why exactly it is that this script is so impressive (In fact LightWindow claims to support every media type).  Couple this with superior Browser compatibility and the sheer versatility and flexibility and you have a winning package.</p>
<p>The code is slightly heavy at 63KB and when taking in to account that it also uses Prototype and Script.aculo.us you can gather that it is a big bit of kit, however, the scalability of this code leads me to believe it is totally worth it.</p>
<p>Finally the list of features that LightWindow offers is phenomenal and well worth a browse.  Have a look for your self at the <a href="http://stickmanlabs.com/lightwindow/#features" target="_blank">LightWindow feature list</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/69/script-of-the-week-5/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fancy Sliding Tab Menu V2</title>
		<link>http://www.andrewsellick.com/64/fancy-sliding-tab-menu-v2</link>
		<comments>http://www.andrewsellick.com/64/fancy-sliding-tab-menu-v2#comments</comments>
		<pubDate>Wed, 12 Sep 2007 15:00:02 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/64/fancy-sliding-tab-menu-v2</guid>
		<description><![CDATA[ 
digg_url = "http://www.andrewsellick.com/64/fancy-sliding-tab-menu-v2";
  
The Fancy Sliding Tab Menu is back and better than ever in Version 2 and this time I&#8217;ve included an idle state listener to bring all the tabs back to their normal state after a desired amount of time without mouse movement on the window.
The menu is developed in script.aculo.us [...]]]></description>
			<content:encoded><![CDATA[<div style="margin: 5px 5px 5px 0px; float: left;"> <script type="text/javascript">
digg_url = "http://www.andrewsellick.com/64/fancy-sliding-tab-menu-v2";
</script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> </div>
<p>The Fancy Sliding Tab Menu is back and better than ever in Version 2 and this time I&#8217;ve included an idle state listener to bring all the tabs back to their normal state after a desired amount of time without mouse movement on the window.</p>
<p>The menu is developed in script.aculo.us and as I have mentioned above has some extra features as requested in comments after the last version of the <a target="_blank" href="http://www.andrewsellick.com/52/fancy-sliding-tab-menu-using-scriptaculous">Fancy Sliding Tab Menu</a>. I have some more ideas for the menu and once I have implemented those I will post on here again with full documentation.&nbsp; I have really put it up here for now to hear peoples comments.</p>
<p><img width="500" height="187" src="http://www.andrewsellick.com/wp-content/uploads/Image/tabslide.jpg" alt="" /></p>
<h3>demo</h3>
<p>Have a look for yourself at the new <a href="http://www.andrewsellick.com/examples/tabslideV2/" target="_blank">Fancy Sliding Tab Menu demo</a>.</p>
<h3>code</h3>
<p>Feel free to download the <a href="http://www.andrewsellick.com/examples/tabslideV2/tabslideV2.rar" target="_blank">Fancy Sliding Menu Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/64/fancy-sliding-tab-menu-v2/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sliding Menu Revisited</title>
		<link>http://www.andrewsellick.com/53/sliding-menu-revisited</link>
		<comments>http://www.andrewsellick.com/53/sliding-menu-revisited#comments</comments>
		<pubDate>Thu, 19 Jul 2007 13:22:54 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/53/sliding-menu-revisited</guid>
		<description><![CDATA[A need to start off by thanking Heather who very kindly reworked the Sexy Sliding Menu to work from the left hand side and here it is.
code
html
There arent many changes here from the original in fact the only change within the HTML was to move the tab after the tab content region so as to [...]]]></description>
			<content:encoded><![CDATA[<p>A need to start off by thanking <a target="_blank" href="http://www.lititzmutual.com/index.html">Heather</a> who very kindly reworked the Sexy Sliding Menu to work from the left hand side and here it is.</p>
<h3>code</h3>
<h4>html</h4>
<p>There arent many changes here from the original in fact the only change within the HTML was to move the tab after the tab content region so as to align the tab on the right hand side of the content.</p>
<div class="code">&lt;div id=&quot;sideBar&quot;&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp; &lt;div id=&quot;sideBarContents&quot; style=&quot;display:none;&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;div id=&quot;sideBarContentsInner&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;h2&gt;side&lt;span&gt;bar&lt;/span&gt;&lt;/h2&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;ul&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link One&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Two&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Three&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Four&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Five&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/ul&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &lt;a href=&quot;#&quot; id=&quot;sideBarTab&quot;&gt;&lt;img src=&quot;images/slide-button-left.gif&quot; alt=&quot;sideBar&quot; title=&quot;sideBar&quot; /&gt;&lt;/a&gt;<br />
&nbsp;&nbsp;&nbsp; <br />
&lt;/div&gt; 
</div>
<h4>css</h4>
<p>The CSS again also did not require a great deal of modification.  The main changes were to absolutely position the tab and its contents to the left hand side and repositioning the contents background image. </p>
<p>Simple image amends were made and can be found in the download at the bottom of this article.</p>
<div class="code">&lt;style&gt;</p>
<p>body{<br />
&nbsp;&nbsp; &nbsp;font-size:75%;<br />
}</p>
<p>a{<br />
&nbsp;&nbsp; &nbsp;outline: none;<br />
}</p>
<p>a:active{<br />
&nbsp;&nbsp; &nbsp;outline: none;<br />
}</p>
<p>#sideBar{<br />
text-align:left;<br />
}</p>
<p>#sideBar h2{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;font-size:110%;<br />
&nbsp;&nbsp; &nbsp;font-family:arial;<br />
&nbsp;&nbsp; &nbsp;margin:10px 10px 10px 10px;<br />
&nbsp;&nbsp; &nbsp;font-weight:bold !important;<br />
}</p>
<p>#sideBar h2 span{<br />
&nbsp;&nbsp; &nbsp;font-size:125%;<br />
&nbsp;&nbsp; &nbsp;font-weight:normal !important;<br />
}</p>
<p>#sideBar ul{<br />
&nbsp;&nbsp; &nbsp;margin:0px 0px 0px 0px;<br />
&nbsp;&nbsp; &nbsp;padding:0px 0px 0px 0px;<br />
}</p>
<p>#sideBar li{<br />
&nbsp;&nbsp; &nbsp;margin:0px 10px 3px 10px;<br />
&nbsp;&nbsp; &nbsp;padding:2px;<br />
&nbsp;&nbsp; &nbsp;list-style-type:none;<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;background-color:#DA1074;<br />
&nbsp;&nbsp; &nbsp;width:177px;<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
}</p>
<p>#sideBar li a{<br />
&nbsp;&nbsp; &nbsp;width:100%;<br />
}</p>
<p>#sideBar li a:link,<br />
#sideBar li a:visited{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;font-family:verdana;<br />
&nbsp;&nbsp; &nbsp;font-size:100%;<br />
&nbsp;&nbsp; &nbsp;text-decoration:none;<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;margin:0px 0px 0px 0px;<br />
&nbsp;&nbsp; &nbsp;padding:0px;<br />
&nbsp;&nbsp; &nbsp;width:100%;<br />
}</p>
<p>#sideBar li a:hover{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;text-decoration:underline;<br />
}</p>
<p>#sideBar{<br />
&nbsp;&nbsp; &nbsp;position: absolute;<br />
&nbsp;&nbsp; &nbsp;width: auto;<br />
&nbsp;&nbsp; &nbsp;height: auto;<br />
&nbsp;&nbsp; &nbsp;top: 140px;<br />
&nbsp;&nbsp; &nbsp;left:0px;<br />
&nbsp;&nbsp; &nbsp;background-image:url(images/background-left.gif);<br />
&nbsp;&nbsp; &nbsp;background-position:top right;<br />
&nbsp;&nbsp; &nbsp;background-repeat:repeat-y;<br />
}</p>
<p>#sideBarTab{<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;height:137px;<br />
&nbsp;&nbsp; &nbsp;width:28px;<br />
}</p>
<p>#sideBarTab img{<br />
&nbsp;&nbsp; &nbsp;border:0px solid #FFFFFF;<br />
}</p>
<p>#sideBarContents{<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;overflow:hidden !important;<br />
&nbsp;&nbsp; &nbsp;width:200px;<br />
&nbsp;&nbsp; &nbsp;height:320px;<br />
}</p>
<p>#sideBarContentsInner{<br />
&nbsp;&nbsp; &nbsp;width:200px;<br />
}<br />
&lt;/style&gt; </div>
<h3>demo</h3>
<p>Please have a look at the  <a target="_blank" href="http://www.andrewsellick.com/examples/sliding-side-bar-left/">Sliding Menu Revisited demo</a>.</p>
<h3>download</h3>
<p>Please have a look at the  <a target="_blank" href="http://www.andrewsellick.com/examples/sliding-side-bar-left/sliding-side-bar-left.rar">Sliding Menu Revisited code</a>.</p>
<p>Hope this helps enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/53/sliding-menu-revisited/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fancy Sliding Tab Menu using script.aculo.us</title>
		<link>http://www.andrewsellick.com/52/fancy-sliding-tab-menu-using-scriptaculous</link>
		<comments>http://www.andrewsellick.com/52/fancy-sliding-tab-menu-using-scriptaculous#comments</comments>
		<pubDate>Wed, 18 Jul 2007 13:15:59 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/52/fancy-sliding-tab-menu-using-scriptaculous</guid>
		<description><![CDATA[Well I&#8217;ve been at it again looking at new ways in which I can make good use script.aculo.us effects.  I started by looking at the accordion this time and ways in which it can be developed to produce different results.  The most common example that I knew of was the Rico accordion, so [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&rsquo;ve been at it again looking at new ways in which I can make good use script.aculo.us effects.  I started by looking at the accordion this time and ways in which it can be developed to produce different results.  The most common example that I knew of was the <a href="http://openrico.org/demos?demo=accordion" target="_blank">Rico accordion</a>, so that&rsquo;s where I decided to start.</p>
<p>As you can see below it looks quite cool and can add some nice interaction to any site.  At this stage, however, I&rsquo;m not going to write too much about the code behind it as I am still working on it but I thought it may be interesting for people to have a look at.</p>
<p><a target="_blank" href="http://www.andrewsellick.com/examples/tabslide/"><img width="500" height="187" src="http://www.andrewsellick.com/wp-content/uploads/Image/tabslide.jpg" alt="Sliding Tab Menu" /></a></p>
<h3>browser list</h3>
<p>Currently the tab slide has been tested in Fixefox 2.0, Internet Explorer 7 &ndash; 6, Opera 9 and Safari 3.  I am planning to test this more rigorously, however, as I stated above there is still more work required before I prepared to say it is complete.</p>
<h3>demo</h3>
<p>Please use the <a href="http://www.andrewsellick.com/examples/tabslide/" target="_blank">Fancy Sliding Tab Menu using scipt.aculo.us demo</a>, have a play and let me know what you think.</p>
<h3>code</h3>
<p>Please download <a href="http://www.andrewsellick.com/examples/tabslide/tabslide.rar" target="_blank">Fancy Sliding Tab Menu using scipt.aculo.us code</a> and use it to your hearts desire.</p>
<h3>todo</h3>
<ul>
<li>Check accessibility</li>
<li>Degrade without JavaScript</li>
<li>Further browser tests</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/52/fancy-sliding-tab-menu-using-scriptaculous/feed</wfw:commentRss>
		</item>
		<item>
		<title>Script of the week</title>
		<link>http://www.andrewsellick.com/49/script-of-the-week-2</link>
		<comments>http://www.andrewsellick.com/49/script-of-the-week-2#comments</comments>
		<pubDate>Fri, 13 Jul 2007 09:55:32 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/49/script-of-the-week-2</guid>
		<description><![CDATA[This week I thought I would post a script for those &#34;Web 2.0&#34; lovers out there.&#160; It&#8217;s a simple script that produces reflections for predefined images.&#160; Simple yet effective.
Have a look for your self at the at the script.aculo.us reflector and the script.aculo.us reflector demo.
]]></description>
			<content:encoded><![CDATA[<p>This week I thought I would post a script for those &quot;Web 2.0&quot; lovers out there.&nbsp; It&#8217;s a simple script that produces reflections for predefined images.&nbsp; Simple yet effective.</p>
<p>Have a look for your self at the at the <a target="_blank" href="http://mir.aculo.us/2006/04/27/like-reflections-try-the-reflector">script.aculo.us reflector</a> and the <a target="_blank" href="http://mir.aculo.us/stuff/reflector/reflector.html">script.aculo.us reflector demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/49/script-of-the-week-2/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sexy Sliding Menu for script.aculo.us</title>
		<link>http://www.andrewsellick.com/44/sexy-sliding-menu-for-scriptaculous</link>
		<comments>http://www.andrewsellick.com/44/sexy-sliding-menu-for-scriptaculous#comments</comments>
		<pubDate>Thu, 14 Jun 2007 12:42:24 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/44/sexy-sliding-menu-for-scriptaculous</guid>
		<description><![CDATA[It&#8217;s been a while since the original post Sexy sliding JavaScript side bar menu using mootools so I decided it was about time I pulled my finger out and developed a sliding menu using script.aculo.us.  Well here goes&#8230;
 code
 css
a{
&#160;&#160; &#160;outline: none;
}
a:active{
&#160;&#160; &#160;outline: none;
}
#sideBar{
text-align:left;
}
#sideBar h2{
&#160;&#160; &#160;color:#FFFFFF;
&#160;&#160; &#160;font-size:110%;
&#160;&#160; &#160;font-family:arial;
&#160;&#160; &#160;margin:10px 10px 10px 10px;
&#160;&#160; &#160;font-weight:bold !important;
}
#sideBar [...]]]></description>
			<content:encoded><![CDATA[<p>It&rsquo;s been a while since the original post <a href="http://www.andrewsellick.com/35/sexy-sliding-javascript-side-bar-menu-using-mootools">Sexy sliding JavaScript side bar menu using mootools</a> so I decided it was about time I pulled my finger out and developed a sliding menu using script.aculo.us.  Well here goes&hellip;</p>
<h3> code</h3>
<h4> css</h4>
<div class="code">a{<br />
&nbsp;&nbsp; &nbsp;outline: none;<br />
}</p>
<p>a:active{<br />
&nbsp;&nbsp; &nbsp;outline: none;<br />
}</p>
<p>#sideBar{<br />
text-align:left;<br />
}</p>
<p>#sideBar h2{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;font-size:110%;<br />
&nbsp;&nbsp; &nbsp;font-family:arial;<br />
&nbsp;&nbsp; &nbsp;margin:10px 10px 10px 10px;<br />
&nbsp;&nbsp; &nbsp;font-weight:bold !important;<br />
}</p>
<p>#sideBar h2 span{<br />
&nbsp;&nbsp; &nbsp;font-size:125%;<br />
&nbsp;&nbsp; &nbsp;font-weight:normal !important;<br />
}</p>
<p>#sideBar ul{<br />
&nbsp;&nbsp; &nbsp;margin:0px 0px 0px 0px;<br />
&nbsp;&nbsp; &nbsp;padding:0px 0px 0px 0px;<br />
}</p>
<p>#sideBar li{<br />
&nbsp;&nbsp; &nbsp;margin:0px 10px 3px 10px;<br />
&nbsp;&nbsp; &nbsp;padding:2px;<br />
&nbsp;&nbsp; &nbsp;list-style-type:none;<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;background-color:#DA1074;<br />
&nbsp;&nbsp; &nbsp;width:177px;<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
}</p>
<p>#sideBar li a{<br />
&nbsp;&nbsp; &nbsp;width:100%;<br />
}</p>
<p>#sideBar li a:link,<br />
#sideBar li a:visited{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;font-family:verdana;<br />
&nbsp;&nbsp; &nbsp;font-size:100%;<br />
&nbsp;&nbsp; &nbsp;text-decoration:none;<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;margin:0px 0px 0px 0px;<br />
&nbsp;&nbsp; &nbsp;padding:0px;<br />
&nbsp;&nbsp; &nbsp;width:100%;<br />
}</p>
<p>#sideBar li a:hover{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;text-decoration:underline;<br />
}</p>
<p>#sideBar{<br />
&nbsp;&nbsp; &nbsp;position: absolute;<br />
&nbsp;&nbsp; &nbsp;width: auto;<br />
&nbsp;&nbsp; &nbsp;height: auto;<br />
&nbsp;&nbsp; &nbsp;top: 140px;<br />
&nbsp;&nbsp; &nbsp;right:0px;<br />
&nbsp;&nbsp; &nbsp;background-image:url(images/background.gif);<br />
&nbsp;&nbsp; &nbsp;background-position:top left;<br />
&nbsp;&nbsp; &nbsp;background-repeat:repeat-y;<br />
}</p>
<p>#sideBarTab{<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;height:137px;<br />
&nbsp;&nbsp; &nbsp;width:28px;<br />
}</p>
<p>#sideBarTab img{<br />
&nbsp;&nbsp; &nbsp;border:0px solid #FFFFFF;<br />
}</p>
<p>#sideBarContents{<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;overflow:hidden !important;<br />
&nbsp;&nbsp; &nbsp;width:200px;<br />
&nbsp;&nbsp; &nbsp;height:320px;<br />
}</p>
<p>#sideBarContentsInner{<br />
&nbsp;&nbsp; &nbsp;width:200px;<br />
}</div>
<p></p>
<h4> html</h4>
<div class="code">
<p>&lt;div id=&quot;sideBar&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &lt;a href=&quot;#&quot; id=&quot;sideBarTab&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;img src=&quot;images/slide-button.gif&quot; alt=&quot;sideBar&quot; title=&quot;sideBar&quot; /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/a&gt;<br />
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &lt;div id=&quot;sideBarContents&quot; style=&quot;width:0px;&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;div id=&quot;sideBarContentsInner&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;h2&gt;side&lt;span&gt;bar&lt;/span&gt;&lt;/h2&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;ul&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link One&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Two&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Three&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Four&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Link Five&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/ul&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp; <br />
&lt;/div&gt; </p>
</div>
<p>
As shown the code is not overly complex. The HTML comprises a containing DIV (with an ID of sideBar), then within this we have a linked tab image (with an ID of sideBarTab) followed by the contents of the side bar contained in a DIV (with an ID of sideBarContents) and sub contained within another DIV (with an ID of sideBarContentsInner).</p>
<p>The sideBarContents DIV has an inline style applied setting the width to zero. This is to allow the JavaScript to resize the region using script.aculo.us (Some browsers are a bit buggy when trying to change styles that are set in an external stylesheet). This DIV is also set to have an overflow hidden producing the effect that the content is sliding in.</p>
<p>Points to note within the CSS include the width set on the sideBarContentsInner DIV. This width should be adjusted as required to meet your deign requirements (It is set to 200px for the purpose of the demonstration).</p>
<p>Also to reposition the bar simply adjust the postioning styles applied on the sideBar DIV (i.e. right and top).</p>
<p>Finally you will need to include effects.js and side-bar.js to the head of the document in the order shown for this to work. Have a play with the demo below and download the code.</p>
<p>demo</p>
<p><a target="_blank" href="http://www.andrewsellick.com/examples/sliding-side-bar-scriptaculous/"> Try the Sexy Sliding Menu for script.aculo.us demo</a></p>
<p>Download<br />
<a target="_blank" href="http://www.andrewsellick.com/examples/sliding-side-bar-scriptaculous/sliding-side-bar-scriptaculous.rar"><br />
Download the Sexy Sliding Menu for script.aculo.us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/44/sexy-sliding-menu-for-scriptaculous/feed</wfw:commentRss>
		</item>
		<item>
		<title>Simple JavaScript Slide Show Using script.aculo.us</title>
		<link>http://www.andrewsellick.com/30/simple-javascript-slide-show-using-scriptaculous</link>
		<comments>http://www.andrewsellick.com/30/simple-javascript-slide-show-using-scriptaculous#comments</comments>
		<pubDate>Tue, 17 Apr 2007 20:10:26 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/30/simple-javascript-slide-show-using-scriptaculous</guid>
		<description><![CDATA[Simple JavaScript slide shows are a very useful way of slickly displaying images on any site.  I recently found my way on to DZone Snippets which provided a nice little article on creating a slide show, so, I thought it would be nice to take that script and add to it slightly making it [...]]]></description>
			<content:encoded><![CDATA[<p>Simple JavaScript slide shows are a very useful way of slickly displaying images on any site.  I recently found my way on to <a target="_blank" href="http://snippets.dzone.com/posts/show/1068">DZone Snippets</a> which provided a nice little article on creating a slide show, so, I thought it would be nice to take that script and add to it slightly making it easier for anyone to add it to their site.</p>
<h3> the code</h3>
<p>The code is very simple, requiring the inclusion of the following JavaScript files prototype.js, scriptaculous.js, effects.js and simple-slide-show.js.  These provide the foundation of the slide show with very little HTML and CSS needed to complete the example.</p>
<h4> HTML</h4>
<p>The HTML consists of a div containing an unordered list (ul) of the required images.  Both the containing div and ul have an id assigned to allow for easy styling without clashes.</p>
<div class="code">&lt;div id=&quot;slide-show&quot;&gt;</p>
<p>&nbsp;&nbsp; &nbsp;&lt;ul id=&quot;slide-images&quot;&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;img src=&quot;images/one.jpg&quot; alt=&quot;One&quot; title=&quot;One&quot; /&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;img src=&quot;images/two.jpg&quot; alt=&quot;Two&quot; title=&quot;Two&quot; /&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;img src=&quot;images/three.jpg&quot; alt=&quot;Three&quot; title=&quot;Three&quot; /&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;img src=&quot;images/four.jpg&quot; alt=&quot;Four&quot; title=&quot;Four&quot; /&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&lt;/ul&gt;</p>
<p>&lt;/div&gt;</p></div>
<h4> CSS</h4>
<p>The CSS is also very simple.  The ul is given a width and a height defining the size of the slide show area and finally the li tags are absolutely positioned one on top of the other and that&rsquo;s it.  The rest is all done with JavaScript magic.</p>
<div class="code">#slide-images{<br />
&nbsp;&nbsp; &nbsp;position:relative;<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;margin:0px;<br />
&nbsp;&nbsp; &nbsp;padding:0px;<br />
&nbsp;&nbsp; &nbsp;width:400px;<br />
&nbsp;&nbsp; &nbsp;height:300px;<br />
&nbsp;&nbsp; &nbsp;overflow:hidden;<br />
}</p>
<p>#slide-images li{<br />
&nbsp;&nbsp; &nbsp;position:absolute;<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;list-style-type:none;<br />
&nbsp;&nbsp; &nbsp;margin:0px;<br />
&nbsp;&nbsp; &nbsp;padding:0px;<br />
&nbsp;&nbsp; &nbsp;background-color:#FFFFFF;<br />
}</p>
<p>#slide-images li img{<br />
&nbsp;&nbsp; &nbsp;display:block;<br />
&nbsp;&nbsp; &nbsp;background-color:#FFFFFF;<br />
}</div>
<p></p>
<h3> example</h3>
<p>Please click to see the <a target="_blank" href="http://www.andrewsellick.com/examples/simple-slide-show/">Simple JavaScript Slide Show example</a>.</p>
<h3> download</h3>
<p>Please feel free to download the <a target="_blank" href="http://www.andrewsellick.com/examples/simple-slide-show/simple-slide-show.rar">Simple JavaScript Slide Show code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/30/simple-javascript-slide-show-using-scriptaculous/feed</wfw:commentRss>
		</item>
		<item>
		<title>Prototype &#038; script.aculo.us Image Cropper</title>
		<link>http://www.andrewsellick.com/5/prototype-scriptaculous-image-cropper</link>
		<comments>http://www.andrewsellick.com/5/prototype-scriptaculous-image-cropper#comments</comments>
		<pubDate>Mon, 26 Feb 2007 10:39:59 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Prototype]]></category>

		<category><![CDATA[script.aculo.us]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/?p=5</guid>
		<description><![CDATA[Another short article just to document an amazing example of a JavaScript image cropper tool.  Based on Prototype and script.aculo.us this example stylishly demonstrates a range of features including minimum image widths and heights, fixed ratios, a crop with preview and the ability to nudge the selected image region by use of the keyword [...]]]></description>
			<content:encoded><![CDATA[<p>Another short article just to document an amazing example of a JavaScript image cropper tool.  Based on Prototype and script.aculo.us this example stylishly demonstrates a range of features including minimum image widths and heights, fixed ratios, a crop with preview and the ability to nudge the selected image region by use of the keyword arrow keys.  This tool could be integrated into any CMS providing the wow factor for all end users.</p>
<p><strong>Links</strong>:</p>
<ul>
<li><a href="http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/" title="http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/">Image Cropper Code and Explanation</a>.</li>
<li><a href="http://www.defusion.org.uk/demos/060519/cropper.php" title="http://www.defusion.org.uk/demos/060519/cropper.php">Image Cropper Example</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/5/prototype-scriptaculous-image-cropper/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.380 seconds -->
