Note that there are some explanatory texts on larger screens.

plurals
  1. POhow can I display the text in an ordered list using javascript
    text
    copied!<p>Could someone please check my code? Thank you</p> <p>Here is the fiddle site if you want to test: <a href="http://jsfiddle.net/66QYr/" rel="nofollow">http://jsfiddle.net/66QYr/</a></p> <p>I would like to have the first 3 text to appear on the left (vertically) and then the next 3 text appear on the right (vertically) then the next 2 text appear on the lower right bottom (vertically) and the last 2 text appear on the lower left bottom (vertically) </p> <p><a href="http://i197.photobucket.com/albums/aa253/tintingerri/Test/pic001.png" rel="nofollow">http://i197.photobucket.com/albums/aa253/tintingerri/Test/pic001.png</a></p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;tintin&lt;/title&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt; &lt;style type="text/css"&gt; #tintin{ position: relative; top: 211px; left: 12px; font-size:14pt; font-weight:bold; font-family: Calibri; color:red; filter:alpha(opacity=0); opacity:0;} .image{ height:350px; width: 855px;} &lt;/style&gt; &lt;script type="text/javascript"&gt; var txt=['text1','text2', 'text3', 'text4', 'text5', 'text6', 'text7', 'text8', 'text9', 'text10'], init=0,i=0,k=0,speed=20,el; var loopCount=1000; var j=0; //var padd = 20; //set this to an approriate increment function fade(){ init==0?i++:i--; el.filters?el.style.filter='alpha(opacity='+i+')':el.style.opacity=i/100; el.firstChild.nodeValue=txt[k]; if(i==100)init=1; if(i==0) {init=0;k++;j++; el.style.paddingLeft=20*k; } if(k==txt.length)k=0; if (j&lt;loopCount) setTimeout('fade()',speed); } window.onload=function(){ el=document.getElementById('tintin'); fade(); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="tintin"&gt;&amp;nbsp;&lt;/div&gt; &lt;div class="image" style="background-image:url('pic007s.jpg')"&gt;; &lt;/div&gt; &lt;/body&gt; &lt;/html&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