<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How To Create a Side Scrolling Page Effect - Part III - MooTools</title>
	<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/</link>
	<description></description>
	<pubDate>Wed, 10 Mar 2010 09:28:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: Pedja Drljaca</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-125</link>
		<author>Pedja Drljaca</author>
		<pubDate>Mon, 06 Aug 2007 19:22:01 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-125</guid>
					<description>Very nice. But what if JS is disabled? :/</description>
		<content:encoded><![CDATA[<p>Very nice. But what if JS is disabled? :/</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-126</link>
		<author>David Baxter</author>
		<pubDate>Mon, 06 Aug 2007 19:28:13 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-126</guid>
					<description>I am afraid to say that if javascript is turned off, the effect goes splat. However, you could enhance the page to allow for a seperate menu system that works with or without javascript without too much trouble. 

The Coda page has done something like this, and I am planning on implementing something to fill this need for my client's project.

With that said, however, if you are building a site with this type of effect you are probably building it for an audience that would appreciate it. An audience like that is probably going to have the latest browser with JS enabled. 

David</description>
		<content:encoded><![CDATA[<p>I am afraid to say that if javascript is turned off, the effect goes splat. However, you could enhance the page to allow for a seperate menu system that works with or without javascript without too much trouble. </p>
<p>The Coda page has done something like this, and I am planning on implementing something to fill this need for my client&#8217;s project.</p>
<p>With that said, however, if you are building a site with this type of effect you are probably building it for an audience that would appreciate it. An audience like that is probably going to have the latest browser with JS enabled. </p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: links for 2007-08-07 &#171; Simply&#8230; A User</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-129</link>
		<author>links for 2007-08-07 &#171; Simply&#8230; A User</author>
		<pubDate>Tue, 07 Aug 2007 00:44:17 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-129</guid>
					<description>[...] creativeUI - How To Create a Side Scrolling Page Effect - Part III - MooTools (tags: mootools scriptaculous ** ajax effects slideshow) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] creativeUI - How To Create a Side Scrolling Page Effect - Part III - MooTools (tags: mootools scriptaculous ** ajax effects slideshow) [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: olivier allouch</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-132</link>
		<author>olivier allouch</author>
		<pubDate>Tue, 07 Aug 2007 10:51:38 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-132</guid>
					<description>Using mootools, your code would actually look like:

function MoveLeft() {
    var bigBox = $('BigBox');
    new Fx.Style(bigBox, 'marginLeft', {
        duration: 500, 
        transition: Fx.Transitions.Sine.easeInOut
    }).start(bigBox.getStyle('marginLeft'));
}

(didn't test it)

mootools handles all the little issues we have with JavaScript :)</description>
		<content:encoded><![CDATA[<p>Using mootools, your code would actually look like:</p>
<p>function MoveLeft() {<br />
    var bigBox = $(&#8217;BigBox&#8217;);<br />
    new Fx.Style(bigBox, &#8216;marginLeft&#8217;, {<br />
        duration: 500,<br />
        transition: Fx.Transitions.Sine.easeInOut<br />
    }).start(bigBox.getStyle(&#8217;marginLeft&#8217;));<br />
}</p>
<p>(didn&#8217;t test it)</p>
<p>mootools handles all the little issues we have with JavaScript <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: All in a days work&#8230;</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-133</link>
		<author>All in a days work&#8230;</author>
		<pubDate>Tue, 07 Aug 2007 12:44:42 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-133</guid>
					<description>[...] Create a Side Scrolling Page Effect With MooTools (tags: Scroll MooTools) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Create a Side Scrolling Page Effect With MooTools (tags: Scroll MooTools) [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-135</link>
		<author>David Baxter</author>
		<pubDate>Tue, 07 Aug 2007 13:26:14 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-135</guid>
					<description>Hey Olivier, nice script, so does that mitigate the need for this: effect.start(parseInt(left)-872); ?

It just goes to show you the difference between an experienced user and a newb when it comes to MooTools. :)

David</description>
		<content:encoded><![CDATA[<p>Hey Olivier, nice script, so does that mitigate the need for this: effect.start(parseInt(left)-872); ?</p>
<p>It just goes to show you the difference between an experienced user and a newb when it comes to MooTools. <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: olivier allouch</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-136</link>
		<author>olivier allouch</author>
		<pubDate>Tue, 07 Aug 2007 15:09:43 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-136</guid>
					<description>You may want to move the element based on its "normal" position. In that case, you should use "position: relative" in the CSS.
Also, I never change margin-left values, but I use the regular "left".
For me, mootools (the main part of it) really is what JavaScript should have been. I love the syntax, the Element class, the animations, the Events class, (the DnD is so simple) ...

BTW, navigation using scrolling is nice :)
Look at http://filthyrichclients.org/ .</description>
		<content:encoded><![CDATA[<p>You may want to move the element based on its &#8220;normal&#8221; position. In that case, you should use &#8220;position: relative&#8221; in the CSS.<br />
Also, I never change margin-left values, but I use the regular &#8220;left&#8221;.<br />
For me, mootools (the main part of it) really is what JavaScript should have been. I love the syntax, the Element class, the animations, the Events class, (the DnD is so simple) &#8230;</p>
<p>BTW, navigation using scrolling is nice <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Look at <a href="http://filthyrichclients.org/" rel="nofollow">http://filthyrichclients.org/</a> .</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-138</link>
		<author>David Baxter</author>
		<pubDate>Tue, 07 Aug 2007 15:34:42 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-138</guid>
					<description>Ooh cheap plug :P

Its all good. Nice site by the way.

I typically use Left rather than margin-left as well...for some reason in the example I saw when I was dabbling in Moo they used margin-left.

Thanks for the advice.

David

P.S. Olivier, send me an email if you have any interest in writing something on MooTools...</description>
		<content:encoded><![CDATA[<p>Ooh cheap plug <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Its all good. Nice site by the way.</p>
<p>I typically use Left rather than margin-left as well&#8230;for some reason in the example I saw when I was dabbling in Moo they used margin-left.</p>
<p>Thanks for the advice.</p>
<p>David</p>
<p>P.S. Olivier, send me an email if you have any interest in writing something on MooTools&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Pedja Drljaca</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-140</link>
		<author>Pedja Drljaca</author>
		<pubDate>Wed, 08 Aug 2007 10:47:06 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-140</guid>
					<description>You're right, David.
I just wanted to check if there is a JS-off solution.

Thank you for this article,
Pedja</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, David.<br />
I just wanted to check if there is a JS-off solution.</p>
<p>Thank you for this article,<br />
Pedja</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-141</link>
		<author>David Baxter</author>
		<pubDate>Wed, 08 Aug 2007 13:01:11 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-141</guid>
					<description>Hey Pedja, glad you liked it. In the next few days I will be posting up the site I have been working on for a client. It contains a much more robust solution, including a JS-off solution.

It is written using Scriptaculous, but it should be easy to convert to MooTools.

David</description>
		<content:encoded><![CDATA[<p>Hey Pedja, glad you liked it. In the next few days I will be posting up the site I have been working on for a client. It contains a much more robust solution, including a JS-off solution.</p>
<p>It is written using Scriptaculous, but it should be easy to convert to MooTools.</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: yellow1912</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-963</link>
		<author>yellow1912</author>
		<pubDate>Sun, 30 Mar 2008 20:36:08 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-963</guid>
					<description>Hi David, thanks for the code. I wonder if you still update this topic.

Anyway, thanks a lot for the codes, I'm both an Ajax newbie and Mootools newbie, and your snippet helped me a lot.

I made some changes:
function MoveLeft(){
	var current_slide = parseInt($('current_slide').value) - 1;
	var left = parseInt($('BigBox').getStyle('marginLeft'))+parseInt($('ScrollBox').getStyle('width'));
		    
	if(current_slide  parseInt($('num_slides').value)){
		current_slide = 1;
		left = 0;
	}
	Move(current_slide, left);
}

function Move(current_slide, left){
	var bigBox = $('BigBox');
	new Fx.Style(bigBox, 'marginLeft', {
	duration: 500,
	transition: Fx.Transitions.Sine.easeInOut
	}).start(left);
	$('current_slide').value = current_slide;
}
I assign fixed width to ScrollBox div, and use it instead.
Also, with my code, when you go to the end of the slides, clicking next and you will go back to the beginning (vice versa: at the beginning, you can click previous to go to the end).
I needed to create 2 hidden input fields to store current_slide, and num_slides btw. num_slides is the total number of slides, which is calculated by php/asp.</description>
		<content:encoded><![CDATA[<p>Hi David, thanks for the code. I wonder if you still update this topic.</p>
<p>Anyway, thanks a lot for the codes, I&#8217;m both an Ajax newbie and Mootools newbie, and your snippet helped me a lot.</p>
<p>I made some changes:<br />
function MoveLeft(){<br />
	var current_slide = parseInt($(&#8217;current_slide&#8217;).value) - 1;<br />
	var left = parseInt($(&#8217;BigBox&#8217;).getStyle(&#8217;marginLeft&#8217;))+parseInt($(&#8217;ScrollBox&#8217;).getStyle(&#8217;width&#8217;));</p>
<p>	if(current_slide  parseInt($(&#8217;num_slides&#8217;).value)){<br />
		current_slide = 1;<br />
		left = 0;<br />
	}<br />
	Move(current_slide, left);<br />
}</p>
<p>function Move(current_slide, left){<br />
	var bigBox = $(&#8217;BigBox&#8217;);<br />
	new Fx.Style(bigBox, &#8216;marginLeft&#8217;, {<br />
	duration: 500,<br />
	transition: Fx.Transitions.Sine.easeInOut<br />
	}).start(left);<br />
	$(&#8217;current_slide&#8217;).value = current_slide;<br />
}<br />
I assign fixed width to ScrollBox div, and use it instead.<br />
Also, with my code, when you go to the end of the slides, clicking next and you will go back to the beginning (vice versa: at the beginning, you can click previous to go to the end).<br />
I needed to create 2 hidden input fields to store current_slide, and num_slides btw. num_slides is the total number of slides, which is calculated by php/asp.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: yellow1912</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-964</link>
		<author>yellow1912</author>
		<pubDate>Sun, 30 Mar 2008 20:37:47 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-964</guid>
					<description>Somehow my MoveRight was cut out:

function MoveRight(){
	var current_slide = parseInt($('current_slide').value) + 1;
	var left = parseInt($('BigBox').getStyle('marginLeft'))-parseInt($('ScrollBox').getStyle('width'));
		    
	if(current_slide &#62; parseInt($('num_slides').value)){
		current_slide = 1;
		left = 0;
	}
	Move(current_slide, left);
}</description>
		<content:encoded><![CDATA[<p>Somehow my MoveRight was cut out:</p>
<p>function MoveRight(){<br />
	var current_slide = parseInt($(&#8217;current_slide&#8217;).value) + 1;<br />
	var left = parseInt($(&#8217;BigBox&#8217;).getStyle(&#8217;marginLeft&#8217;))-parseInt($(&#8217;ScrollBox&#8217;).getStyle(&#8217;width&#8217;));</p>
<p>	if(current_slide &gt; parseInt($(&#8217;num_slides&#8217;).value)){<br />
		current_slide = 1;<br />
		left = 0;<br />
	}<br />
	Move(current_slide, left);<br />
}</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-965</link>
		<author>David Baxter</author>
		<pubDate>Mon, 31 Mar 2008 12:52:00 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-965</guid>
					<description>Hey Yellow, I am glad my post was helpful. I have a more robust solution as the last step in this series, but it uses scriptaculous.

However your code will be great for those who want to stick with mootools.

Thanks!
David</description>
		<content:encoded><![CDATA[<p>Hey Yellow, I am glad my post was helpful. I have a more robust solution as the last step in this series, but it uses scriptaculous.</p>
<p>However your code will be great for those who want to stick with mootools.</p>
<p>Thanks!<br />
David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Josh Craddock</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1028</link>
		<author>Josh Craddock</author>
		<pubDate>Sat, 12 Jul 2008 18:10:11 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1028</guid>
					<description>Is there a way to make them scroll vertically rather then horizontally?</description>
		<content:encoded><![CDATA[<p>Is there a way to make them scroll vertically rather then horizontally?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: fb</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1050</link>
		<author>fb</author>
		<pubDate>Thu, 14 Aug 2008 07:15:49 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1050</guid>
					<description>cool script!</description>
		<content:encoded><![CDATA[<p>cool script!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Manjit Karra</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1067</link>
		<author>Manjit Karra</author>
		<pubDate>Fri, 05 Sep 2008 05:36:25 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1067</guid>
					<description>very good, i am from India, a social worker and hav created this website. horizontal scrolling style. we helping people form different countries to explore beautiful India.
i want to make a photo gallery for my website.. just look like as http://www.hotel-oxford.ro/en.. scrolling type. can you help me..
thanx</description>
		<content:encoded><![CDATA[<p>very good, i am from India, a social worker and hav created this website. horizontal scrolling style. we helping people form different countries to explore beautiful India.<br />
i want to make a photo gallery for my website.. just look like as <a href="http://www.hotel-oxford.ro/en.." rel="nofollow">http://www.hotel-oxford.ro/en..</a> scrolling type. can you help me..<br />
thanx</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: 17 mega-creative side scrolling websites.</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1128</link>
		<author>17 mega-creative side scrolling websites.</author>
		<pubDate>Sat, 28 Feb 2009 18:41:20 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1128</guid>
					<description>[...] JQuery Serial Scroll MooFx ScrollTo Demo Creating a side scrolling page effect with Scriptaculous Creating a side scrolling page effect with MooTools Portfolio Design side scrolling Tutorial The Horizontal [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] JQuery Serial Scroll MooFx ScrollTo Demo Creating a side scrolling page effect with Scriptaculous Creating a side scrolling page effect with MooTools Portfolio Design side scrolling Tutorial The Horizontal [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Web developer</title>
		<link>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1133</link>
		<author>Web developer</author>
		<pubDate>Mon, 08 Jun 2009 22:13:07 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/08/03/how-to-create-a-side-scrolling-page-effect-part-iii-mootools/#comment-1133</guid>
					<description>It would be great to see something like this  created with JQuery.</description>
		<content:encoded><![CDATA[<p>It would be great to see something like this  created with JQuery.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
