Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>SerialScroll is an pain in the ass, so I made something quick for you, I almost wrote some code that work for serialScroll, but I had some trouble changing the direction of scrolling with serialscrolling.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script type='text/javascript' src='jquery.js'&gt;&lt;/script&gt; &lt;style&gt; li{ list-style:none outside none; float:left; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div style="width:500px;"&gt; &lt;div id="buttons"&gt; &lt;a class="prev" href="#" onmousedown="previous();start()" onmouseup="stop()"&gt;Previous&lt;/a&gt; &lt;a class="next" href="#" onmousedown="next();start()" onmouseup="stop()"&gt;Next&lt;/a&gt; &lt;br class="clear" /&gt; &lt;/div&gt; &lt;div id="pane" style="overflow:hidden;"&gt; &lt;ul style="width:2000px"&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;li&gt;&lt;img src="https://mail.google.com/mail/help/images/logo2.gif" /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;script&gt; interval=20; speed=3; change = 1; handleTimeOut = null; function next(){ change = 1; } function previous(){ change = -1; } function start(){ handleTimeOut =setTimeout(function(){timeout()},interval); } function stop(){ clearTimeout(handleTimeOut); } function timeout() { $('#pane')[0].scrollLeft += speed*change; start(); } &lt;/script&gt; &lt;/body&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload