Pages: 123

  2008-04-25 07:27:21

aLkisaH
» n00b
FTalk Level: zero
53
0
1969-12-31

[b]Mengganti FOOTER dengan teks berjalan[/b] Before : [img]http://img.photobucket.com/albums/v626/michikora/footer.jpg[/img] After : [img]http://img.photobucket.com/albums/v626/michikora/footer1.jpg

[b]Mengganti FOOTER dengan teks berjalan[/b] Before : [img]http://img.photobucket.com/albums/v626/michikora/footer.jpg[/img] After : [img]http://img.photobucket.com/albums/v626/michikora/footer1.jpg[/img] Caranya : pertama bikin file php di webhost mu contoh : http://h1.ripway.com/aLkisaH/Layout/footer.php [quote]<html> <head> <style type="text/css"> a:link {color: #00ff00 ; text-decoration: none; font-family: Courier New;font-size:8pt;} a:visited {color: #00ff00 ; text-decoration: none; font-family: Courier New;font-size:8pt;} a:hover {color: #000000 ; text-decoration: underline; } a:active {color: #00ff00 ;text-decoration: underline;font-size:8pt; } </style> </head> <body bgcolor="[b]#000000[/b]" style="overflow:hidden;" text="[b]#00ff00[/b]"> <div id="infoNews" style="position:absolute;left:0;top:-4;width:4000px;"></div> <script language="javascript"> // Support v.i.o Nazwa, Inc. - Visit http://www.friendster.com/deadevildoll // Newsticker by v.i.o Nazwa, Inc. ( 2008 ) ns6 = document.getElementById; ns = document.layers; ie = document.all; var news = new Array(); var urls = new Array(); var t = 0; var buffer = ""; var x = 0; var y = -2; var speed = 1; var overlink = false; function accessCSS(layerID) { if(ns6){ return document.getElementById(layerID).style;} else if(ie){ return document.all[layerID].style; } else if(ns){ return document.layers[layerID]; } } function move(layer,x,y) { accessCSS(layer).left=x; accessCSS(layer).top = y; } function newContent(layernm,content) { if (ns6) document.getElementById(layernm).innerHTML=content; else if (ie) document.all[layernm].innerHTML=content; else if (ns) { eval(' document.layers["'+layernm+'"].document.open();'); eval(" document.layers['"+layernm+"'].document.write('"+content+"');"); eval(' document.layers["'+layernm+'"].document.close();'); } } news[0] = "[b]This Layout is Powered By aLkisaH, Inc.[/b]"; urls[0] = "[b]http://www.friendster.com/alkisahz[/b]"; news[1] = "[b]I'm Not A Cracker --- I'm Just a Newbie[/b]"; urls[1] = "[b]http://www.friendster.com/alkisahz[/b]"; news[2] = "[b]This Footer credits by v.i.o Nazwa, Inc[/b]"; urls[2] = "[b]http://www.friendster.com/deadevildoll[/b]" news[3] = "[b]Try To Crack Some Script[/b]"; urls[3] = "[b]http://www.friendster.com/alkisahz[/b]"; news[4] = "[b]But Don't Be A Code Ripper[/b]"; urls[4] = "[b]http://www.friendster.com/alkisahz[/b]"; news[5] = "[b]Try To Be A Good Role Model[/b]"; urls[5] = "[b]http://www.friendster.com/alkisahz[/b]"; news[6] = "[b]Thank's For Visiting aLkisaH, Inc. Profile...[/b]"; urls[6] = "[b]http://www.friendster.com/alkisahz[/b]"; function rollFreedom() { if (!overlink) { move("infoNews",x,y); x -= speed; if (x<-4000) x=0; } } var loopId = "rollNews"; loopId=window.setInterval('rollFreedom();',24); for (t=0;t<news.length;t++) { buffer+='<a href="'+urls[t]+'" target="_top" onmouseover="overlink=true;" onmouseout="overlink=false;">'+news[t]+'</a> - '; } newContent("infoNews",buffer+buffer); rollFreedom(); </script> </html> </html>[/quote] ubah bagian yg dicetak tebal sesuai keinginan, save dengan ekstensi .php setelah itu masukan dibawah kode ini di BAGIAN C sesuai tutorial bang kanal [quote]function footer() { foot = "<div align=\"center\"><iframe name=\"ticker\" id=\"ticker\" src=\"[b]URL PHP[/b]?fcol=00ff00&bcol=000000&hcol=00ff00\" style=\"width:799px;height:20px;\" ></iframe><br><br><br></div>"; document.getElementById("footer_container").innerHTML= "<center><table><tr><td>"+foot+"</td></tr></table></center>"; } window.onload=function() { footer(); } document.write("<style>#footer_container {width:800px !important;height:25px !important;align:center;background-color:transparent !important;border:none !important;display:block !important;}</style>");[/quote] [b]ATAU[/b] save kode di atas dengan ekstensi .js dan masukan ke js eksternal kamu di BAGIAN A dengan kode dibawah ini [quote]//change footer var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "[b]url js kamu[/b]"; document.getElementsByTagName("head")[0].appendChild(myjs);[/quote] Live preview : My profile http://profiles.friendster.com/alkisahz credits : :arrow: v.i.o Nazwa and Me

Last edited by KaNaLiTnUk (2008-04-27 13:08:33)

Pages: 123

Board footer

© 2024 F Talk

Current time is 19:20

[ 12 queries - 0.012 second ]
Privacy Policy