<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts in 'autoscroll or time delayed auto scroll' | Prototype UI</title>
    <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <atom:link rel="search" type="application/opensearchdescription+xml" href="http://forums.prototype-ui.com/open_search.xml"/>
    <description></description>
    <item>
      <title>autoscroll or time delayed auto scroll replied by Jangla @ Thu, 29 May 2008 14:18:40 -0000</title>
      <description>&lt;p&gt;Anyone know if it&amp;#8217;s possible to smooth scroll the carousel rather than having it scroll in stages?&lt;/p&gt;


	&lt;p&gt;Also, if the scroll could reverse itself when it reaches the end it would be superfantastic :)&lt;/p&gt;</description>
      <pubDate>Thu, 29 May 2008 14:18:40 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:451</guid>
      <author>Jangla</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by ocsinet @ Sat, 17 May 2008 21:43:06 -0000</title>
      <description>&lt;p&gt;Hi, I wrote the solution.&lt;br /&gt;After hacking prototype class with periodicalexecuter restart: &lt;a href="http://dev.rubyonrails.org/ticket/9370"&gt;http://dev.rubyonrails.org/ticket/9370&lt;/a&gt; and support for mouseenter and mouseleave: &lt;a href="http://dev.rubyonrails.org/attachment/ticket/8354/event_mouseenter_106rc1.patch"&gt;http://dev.rubyonrails.org/attachment/ticket/83&amp;#8230;&lt;/a&gt; , I noticed that the browser had a big load and often crashed, so I wrote my own code, in this way:&lt;/p&gt;


	&lt;p&gt;var x = null;&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;function startscroll() {
   x = window.setInterval(function scroll() {
    hCarousel.scrollTo(hCarousel.currentIndex() + 1);
   },3000);
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;function stopscroll() {
   window.clearInterval(x);
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;function runTest() {
  hCarousel = new UI.Carousel("horizontal_carousel", {direction: "horizontal"});
  startscroll();
  $('horizontal_carousel').observe('mouseover', stopscroll);
  $('horizontal_carousel').observe('mouseout', startscroll);
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;Event.observe(window, "load", runTest);&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;This is lighter code. I hope it will be useful.&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2008 21:43:06 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:417</guid>
      <author>ocsinet</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by ocsinet @ Sat, 17 May 2008 09:17:04 -0000</title>
      <description>&lt;p&gt;Hello, Seb you said:&lt;/p&gt;


	&lt;p&gt;just observe mouseenter/leave on carousel div to start/stop the periodcal executer&lt;/p&gt;


	&lt;p&gt;but periodicalexecuter has only stop method and not start..how can I do this?&lt;br /&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2008 09:17:04 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:416</guid>
      <author>ocsinet</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by blacksmith_tb @ Wed, 23 Apr 2008 00:01:33 -0000</title>
      <description>&lt;p&gt;James,&lt;/p&gt;


	&lt;p&gt;Javascript != Java&lt;/p&gt;


	&lt;p&gt;There are lots of good Javascript books out there. It&amp;#8217;s been so long that I&amp;#8217;m not sure I could recommend an intro, though I see O&amp;#8217;Reilly are about to publish one that looks &lt;a href="http://www.oreilly.com/catalog/9780596517748/index.html#top"&gt;great&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Of course, there are lots of &lt;a href="http://developer.mozilla.org/en/docs/A_re-introduction_to_JavaScript"&gt;online references&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I did just pick up the Pragmatic Prototype and script.aculo.us book, and it&amp;#8217;s good, though not as a general intro to Javascript.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Apr 2008 00:01:33 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:352</guid>
      <author>blacksmith_tb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by mocax @ Fri, 14 Mar 2008 07:44:56 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;I also used a periodic executer for my carousel, thus I don&amp;#8217;t need a next and previous button.&lt;/p&gt;


	&lt;p&gt;However when I set previous and next button to false in the options, there will be an error that says this.previousButton is null.&lt;/p&gt;</description>
      <pubDate>Fri, 14 Mar 2008 07:44:56 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:226</guid>
      <author>mocax</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by seb @ Thu, 13 Mar 2008 08:59:22 -0000</title>
      <description>&lt;p&gt;just observe mouseenter/leave on carousel div to start/stop the periodcal executer&lt;/p&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:59:22 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:219</guid>
      <author>seb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by Osiride @ Wed, 12 Mar 2008 10:39:11 -0000</title>
      <description>&lt;p&gt;Hi,&lt;br /&gt;I use the function that Seb wrote, is exact what I want, but now I need an extra mod:&lt;br /&gt;Is possible to stop the autoScrolling when the mouse cursor is over the &lt;span class="caps"&gt;DIV&lt;/span&gt; (or UL) of the carousel? (and obiviously continue when the mouse cursor is out)...?&lt;/p&gt;


	&lt;p&gt;thanks&lt;/p&gt;</description>
      <pubDate>Wed, 12 Mar 2008 10:39:11 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:214</guid>
      <author>Osiride</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by jamesdin @ Mon, 03 Mar 2008 16:52:10 -0000</title>
      <description>&lt;p&gt;I would get that book in a heartbeat if I knew java. You see, I&amp;#8217;m a complete newbie. I mean, html-is-a-programming-language type of a newbie. Can you recommend a Java book to somebody like me (no CS background)?&lt;/p&gt;</description>
      <pubDate>Mon, 03 Mar 2008 16:52:10 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:190</guid>
      <author>jamesdin</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by seb @ Sun, 02 Mar 2008 07:31:49 -0000</title>
      <description>&lt;p&gt;I recommand this great book &lt;a href="http://www.pragprog.com/titles/cppsu"&gt;http://www.pragprog.com/titles/cppsu&lt;/a&gt;.&lt;br /&gt;I did not write it and do not get any money with :), I was just a reviewer of the author (a friend of mine). You will learn everything about prototype and script.aculo.us.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Mar 2008 07:31:49 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:178</guid>
      <author>seb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by jamesdin @ Sat, 01 Mar 2008 22:50:32 -0000</title>
      <description>&lt;p&gt;You, sir, are a freaking genius. Genius I say. Yes, you are! This is awesome. Thank you very much. :-)&lt;/p&gt;</description>
      <pubDate>Sat, 01 Mar 2008 22:50:32 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:177</guid>
      <author>jamesdin</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by seb @ Sat, 01 Mar 2008 16:12:40 -0000</title>
      <description>&lt;p&gt;look at this &lt;a href="http://prototypejs.org/api/periodicalExecuter"&gt;http://prototypejs.org/api/periodicalExecuter&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;if you add this &lt;br /&gt;&lt;pre&gt;
 new PeriodicalExecuter(function() {
   hCarousel.scrollTo(hCarousel.currentIndex() + 1);
 }, 3);
&lt;/pre&gt;&lt;br /&gt;to test_carousel.html, it works fine.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Mar 2008 16:12:40 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:176</guid>
      <author>seb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by jamesdin @ Sat, 01 Mar 2008 14:52:23 -0000</title>
      <description>&lt;p&gt;I mean is it possible to get photos scroll automatically every 3 seconds? can you give me some pointers or links to existing libraries that have timers built in? I&amp;#8217;m a newbie. :-)&lt;/p&gt;</description>
      <pubDate>Sat, 01 Mar 2008 14:52:23 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:174</guid>
      <author>jamesdin</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by seb @ Sat, 01 Mar 2008 12:34:28 -0000</title>
      <description>&lt;p&gt;1) Is it possible to automatically scroll photos in the carousel?&lt;br /&gt;Not directly with Carousel&amp;#8217;s options but you can create your own timer, it&amp;#8217;s pretty easy&lt;/p&gt;


	&lt;p&gt;2) Is it possible to time delay scroll of photos in the carousel?&lt;br /&gt;What do you mean?&lt;/p&gt;</description>
      <pubDate>Sat, 01 Mar 2008 12:34:28 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:172</guid>
      <author>seb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
    <item>
      <title>autoscroll or time delayed auto scroll replied by jamesdin @ Sat, 01 Mar 2008 04:49:56 -0000</title>
      <description>&lt;p&gt;Is it possible to automatically scroll photos in the carousel?&lt;br /&gt;Is it possible to time delay scroll of photos in the carousel?&lt;/p&gt;</description>
      <pubDate>Sat, 01 Mar 2008 04:49:56 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:66:163</guid>
      <author>jamesdin</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/66</link>
    </item>
  </channel>
</rss>
