broken marquee |
broken marquee |
Mar 26 2004, 06:15 PM
Post
#1
|
|
![]() Its okay, cry all you want...I'm here. ![]() ![]() ![]() ![]() Group: Member Posts: 121 Joined: Jan 2004 Member No: 2,381 |
CODE <!-- begin code provided by createblog.com --> <script language="JavaScript"><!-- line=new Object() line[1]=" CHANGE " line[2]=" CHANGE " line[3]=" CHANGE " line[4]=" CHANGE " line[5]=" CHANGE " line[6]=" CHANGE" lines=6 //--Number of lines//--Don't edit below this line document.write('<form name="bannerform">') document.write('<div align="center"><center><p><input type="button" name="banner" size="50"') document.write(' style="background-color: transparent; color: #fdee00; text-align: center; font-family: arial; font-size: 8pt; text-position: center; letter-spacing: 1px; height:50px;width:625px;background-color:66ccff;filter:alpha(style=2,opacity=300,finishopacity=0);border:none" onfocus="blur()"></p>') document.write(' </center></div>') document.write('</form>') temp="" nextchar=-1; nextline=1; cursor="\\" function animate(){ if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){ nextline++; nextchar=-1; document.bannerform.banner.value=temp; temp=""; setTimeout("nextstep()",1000)} else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){ nextline=1; nextchar=-1; document.bannerform.banner.value=temp; temp=""; setTimeout("nextstep()",1000)} else{ nextstep()}} function nextstep(){ if (cursor=="\\"){ cursor="|"} else if (cursor=="|"){ cursor="/"} else if (cursor=="/"){ cursor="-"} else if (cursor=="-"){ cursor="\\"} nextchar++; temp+=line[nextline].charAt(nextchar); document.bannerform.banner.value=temp+cursor setTimeout("animate()",25)} document.onload=animate(); // --></script> <!-- end code provided by createblog.com --> my marquee broke, and i have no clue why. I wish xanga would stop changing things... Can annyone fix this script? |
|
|
|
Tsukasa broken marquee Mar 26 2004, 06:15 PM
aznhybriddragon i am guessing that this is a cursor changing scrip... Mar 27 2004, 01:36 AM
adoggydog195 It is the setTimeout part, it dont work on xanga n... Mar 27 2004, 02:01 AM
Tsukasa i hate xanga. Mar 28 2004, 12:21 PM
Mireh QUOTE(Tsukasa @ Mar 28 2004, 12:21 PM)i hate ... Mar 28 2004, 02:33 PM
Tsukasa let me refrase...
i hate it when xanga changes th... Mar 28 2004, 02:35 PM
Mireh QUOTE(Tsukasa @ Mar 28 2004, 2:35 PM)let me r... Mar 28 2004, 03:05 PM![]() ![]() |