[quote=jacks]aduh2..kk tolongin buatin dunk....
gmn caranya supaya isa ada tulisan med dateng..kalo di buka sama org...!!
caranya susah amad yach...
ada yang mu buatin g?? =p
ntar qu kasi aps ma id nya plizzzzzzz
[/quote]
kalo enggak coba ini bro
[b]WELCOME MESSAGE AT TOP PROFILE BY BRO ANDHA[/b]
[quote]var themessage="[b]KATA2 KAMU[/b]"
var fontsize=[b]10[/b] // below 50px.
[color=red]// don't edit below here.[/color]
var appearfor=2000
if (!attachOnLoadHandler(function() { position_at_top();expand();})) window.onload = function() { position_at_top();expand();};
function position_at_top(){
if (document.layers)
document.test.top=pageYOffset
else if (document.all){
test.innerHTML='<div align=center><font face="Arial">'+themessage+'</font></div>'
setTimeout("test.style.top=document.body.scrollTop+10;test.style.left=document.body.scrollLeft+10",100)
}
else if (document.getElementById){
document.getElementById("navigation").innerHTML='<div align=center><font face="Arial">'+themessage+'</font></div>'
document.getElementById("navigation").style.top=pageYOffset
}
}
function expand(){
if (document.layers){
document.test.document.write('<div align=center style="font-size:'+fontsize+'px"><font face="Arial">'+themessage+'</font></div>')
document.test.document.close()
}
else if (document.all)
test.style.fontSize=fontsize+'px'
else if (document.getElementById)
document.getElementById("navigation").style.fontSize=fontsize+'px'
fontsize+=5
if (fontsize>50){
if (document.layers)
setTimeout("document.test.visibility='hide'",appearfor)
else if (document.all)
setTimeout("test.style.visibility='hidden'",appearfor)
else if (document.getElementById)
setTimeout("document.getElementById('navigation').style.visibility='hidden'",appearfor)
return
}
else
setTimeout("expand()",50)
}[/quote]
taroh di js kamu
tinggal ngganti iang di [b]Bold [/b]
Last edited by sekya (2008-02-06 08:33:33)