ÿþ<html> <body> <h3>Thç thu­t blog Violet</h3> <script language="JavaScript1.2"> var ts_line=new Array() var ts_link=new Array() ts_line[1]="Chào mëng các b¡n ¿n vÛi Thç thu­t blog Violet - <b>Trongbang-studio</b>" ts_line[2]="BlOg °ãc thành l­p vÛi niÁm am mê cça b£n thân vÁ th¿ giÛi m¡ng" ts_line[3]="VÛi tinh th§n giúp á, cùng nhau phát triÃn cÙng Óng <b>Blog Violet ViÇt Nam</b>" ts_line[4]="<b>Thç thu­t blog Violet </b> sµn sàng giúp á các b¡n trong viÇc thi¿t k¿, chÉnh sía blog" ts_line[5]="VÛi h¡n <b>200 thç thu­t</b> cho blog Violet të dÅ ¿n khó" ts_line[6]="Và nhïng h°Ûng d«n r¥t cå thà và chi ti¿t" ts_line[7]="Hy vÍng <b>Thç thu­t blog Violet </b> s½ là Ëa iÃm dëng chân cho các <b>Blog violet ViÇt</b>" ts_line[8]="<b>WELCOME TO Thç thu­t blog Violet </b>" var ts_fontcolor="#FB6B01" var ts_fontsize="10pt" var ts_fontweight="normal" var ts_fontfamily="Verdana" var ts_bgcolor="transparent" var ts_bordercolor="#cccccc" var ts_bordersize="1px" var ts_borderstyle="solid" var ts_padding="5px" var ts_width="200px" var ts_height="100px" var ts_delay="3000" var ts_speed="35" var ts_linespread="1.2" var ts_rand=0 <!-- //--Don't edit below this line var longestmessage=1 for (i=2;i<ts_line.length;i++){ if (!ts_line[i] ) {ts_line[i] = ''; ts_link[i] = '#';} if (ts_line[i].length>ts_line[longestmessage].length) longestmessage=i } //Auto set scroller width var tscroller_width=ts_line[longestmessage].length lines=ts_line.length-1 //--Number of lines counter123 = 0; temp="" nextchar=-1; var shown = new Array(); for (i = 1; i <= lines; i++ ) { shown[i] = 0; } function checkshown() { var num = 0; for (i = 1; i<= lines; i++){ if (shown[i]) num++; } if ((num > (lines - 2))||(lines < 2)) { for (i = 1; i <= lines; i++ ) { shown[i] = 0; } } return; } if (ts_rand == 1) { checkshown(); do{ nextline=Math.floor(Math.random() * (lines + 1)); //1; } while (shown[nextline] != 0); shown[nextline] = 1; } else { nextline = 1; } cursor="\\" //if IE 4+ or NS6 if (document.all||document.getElementById){ document.write('<table style="width: '+ts_width+'; height: '+ts_height+';">') document.write('<tr><td') document.write(' style=" cursor:hand; background-color: '+ts_bgcolor+'; color: '+ts_fontcolor+'; font-family: '+ts_fontfamily+'; font-size: '+ts_fontsize+'; font-weight:'+ts_fontweight+'; border-color: '+ts_bordercolor+'; border-style: '+ts_borderstyle+'; border-width: '+ts_bordersize+'; padding: '+ts_padding+'; width: '+ts_width+'; height: '+ts_height+'; text-align:left; vertical-align:top; " onfocus="blur()" ') document.write('<a onclick="document.location=this.href;" id="banner_xyz_scroller" ') document.write(' style="line-height: '+ts_linespread+'; color: '+ts_fontcolor+'; font-family: '+ts_fontfamily+'; font-size: '+ts_fontsize+'; font-weight:'+ts_fontweight+'; " ') document.write (' href="javascript: void(0);"></a>') document.write('</td></tr></table>') } var scroller = document.getElementById("banner_xyz_scroller"); function animate(){ if (temp==ts_line[nextline] & temp.length==ts_line[nextline].length & nextline!=lines){ if (ts_link[nextline]) { //scroller.href="index.php?option=com_content&task=view&id="+ ts_link[nextline]; scroller.href="http://luyenthianhvan.org"; } if (ts_rand == 1) { checkshown(); do { nextline = Math.floor(Math.random() * (lines + 1)); //nextline++; }while (shown[nextline] != 0); shown[nextline] = 1; } else { nextline++; } nextchar=-1; scroller.innerHTML=temp; temp=""; setTimeout("nextstep()",ts_delay)} else if (nextline==lines & temp==ts_line[nextline] & temp.length==ts_line[nextline].length){ if (ts_link[nextline]) { //scroller.href="index.php&id="+ ts_link[nextline]; scroller.href="http://luyenthianhvan.org"; } if (ts_rand == 1) { checkshown(); do{ nextline= Math.floor(Math.random() * (lines + 1)); //1; }while (shown[nextline] != 0); shown[nextline] = 1; } else { nextline = 1; } nextchar=-1; scroller.innerHTML=temp; temp=""; setTimeout("nextstep()",ts_delay)} else{ nextstep()}} function nextstep(){ if (cursor=="\\"){ cursor="|"} else if (cursor=="|"){ cursor="/"} else if (cursor=="/"){ cursor="-"} else if (cursor=="-"){ cursor="\\" } nextchar++; temp+=ts_line[nextline].charAt(nextchar); scroller.innerHTML=temp+cursor setTimeout("animate()",ts_speed)} //if IE 4+ or NS6 if (document.all||document.getElementById) window.onload=animate // --> </script> </body> </html>