sebelumnya mohon maaf apabila tread ini sudah pernah di share disini maapun di trick and tutorial
soalnya baru nyoba brsn dan lom sempet jalan2 lg ke trick and tutorial
klw dah ada silahkan di close aja saya ikhlas kok
script ini bisa nampilin text di atas footer lo
ini dia codenya
credit :
1.dynamicdrive
2.me
[quote]/*
Neon Lights Text
By JavaScript Kit (
http://javascriptkit.com)
For this script, TOS, and 100s more DHTML scripts,
Visit
http://www.dynamicdrive.com
*/
var message="[b]Kata2 lo[/b]"
var neonbasecolor="[b]blue[/b]"
var neontextcolor="[b]green[/b]"
var flashspeed=100 //in milliseconds
///No need to edit below this line/////
var n=0
if (document.all||document.getElementById){
document.write('<font size="[b]5[/b]" face="[b]comic sans ms[/b]" color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</font>')
}
else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}
function neon(){
//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
//eval("document.all.neonlight"+m).style.color=neonbasecolor
crossref(m).style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()[/quote]
untuk ganti font size nya tinggal ganti aja angkanya
silahkan edit yg dah di bold
dan simpan kode di atas di bagian C aja
tambahan dikit nih
script ini memang sudah gk asing lg di friendstertalk
tp saya coba share dan buat yg gk tau silahkan dicoba aja ya
step 1:
download gambar dibawah ini
[img]http://h1.ripway.com/agam10/al.gif[/img][img]http://h1.ripway.com/agam10/bl.gif[/img][img]http://h1.ripway.com/agam10/cl.gif[/img][img]http://h1.ripway.com/agam10/dl.gif[/img][img]http://h1.ripway.com/agam10/el.gif[/img][img]http://h1.ripway.com/agam10/fl.gif[/img]
step2:
buat text file baru dan masukan kode ini
[quote]//Autumn leaves- by Kurt Grigg (kurt.grigg@virgin.net)
//Modified by Dynamic Drive for NS6 functionality
//visit
http://www.dynamicdrive.com for this script
//Pre-load your image below!
grphcs=new Array(6)
Image0=new Image();
Image0.src=grphcs[0]="[b]url al.gif[/b]";
Image1=new Image();
Image1.src=grphcs[1]="[b]url bl.gif[/b]"
Image2=new Image();
Image2.src=grphcs[2]="[b]url cl.gif[/b]"
Image3=new Image();
Image3.src=grphcs[3]="[b]url dl.gif[/b]"
Image4=new Image();
Image4.src=grphcs[4]="[b]url el.gif[/b]"
Image5=new Image();
Image5.src=grphcs[5]="[b]url fl.gif[/b]"
Amount=8; //Smoothness depends on image file size, the smaller the size the more you can use!
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;
if (ns){
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
for (i=0; i < Amount; i++){
Ypos[i] = Math.round(Math.random()*WinHeight);
Xpos[i] = Math.round(Math.random()*WinWidth);
Speed[i]= Math.random()*5+3;
Cstep[i]=0;
Step[i]=Math.random()*0.1+0.05;
}
function fall(){
var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i++){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);
Ypos[i]+=sy;
Xpos[i]+=sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+3;
}
if (ns){
document.layers['sn'+i].left=Xpos[i];
document.layers['sn'+i].top=Ypos[i]+hscrll;
}
else if (ns6){
document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
}
else{
eval("document.all.si"+i).style.left=Xpos[i];
eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
}
Cstep[i]+=Step[i];
}
setTimeout('fall()',20);
}
window.onload=fall
//-->[/quote]
ganti yg bold dgn url gambar yg dah di download tadi dan kasih nama Autumn.js
step3:
masukan kode ini ke js kamu
[quote]//Autumn.js
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "[b]URL Automn.js[/b]";
document.getElementsByTagName("head")[0].appendChild(myjs);[/quote]
masukan URL automn.js yg telah dibuat tadi
simpan di bagian A
preview
[url]http://profiles.friendster.com/ebengemoholic[/url]
cari di atas footer ada text selamat datang di dunia hitam muhahahahaha d
Last edited by EbengMaya (2008-07-02 10:26:41)