2008-10-10 15:43:33

h312y_sh
» FTalkFreak
FTalk Level: zero
1641
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=oby_nagnar]keknya gk ada hubungan deh... itu kan emg udah 1 paket... coba kombinasiin sama ini...[/quote] wew.... klw yg mp3 ntu ma dh goyang inul bro :lol: yg blom tuh yg ini [spoiler]//floating with login as var currentTime = new Date(); var hours = currentTime.getHours(); var minutes = currentTime.getMinutes(); if (minutes < 10) minutes = "0" + minutes; var jamenit = (hours + ":" + minutes + " "); if(hours > 11){ var ampm = ("PM"); } else { var ampm = ("AM"); } dude="<div id='divStayTopLeft' style='position:absolute;z-index:auto;'><b><font color='red'>Hi.."+pageViewerFName+"</b></font><br><div id='mainpic'></div><blink> tnx 4 coming </blink><br><b><font color='red'>Logged in as</font> <font color='white'> "+pageViewerFName+" </font></b><br>"+ "<b><font color='red'>Last visit</font><font color='white'>: Today "+jamenit+ampm+" </font></b><br></div>"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=dude ; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="fromtop" function BoyantDiv() { var startX = 15; var startY = 170; function ml(id) { if (document.getElementById) { var wek=document.getElementById(id); } else if (document.all) { var wek=document.all[id]; } else { var wek=document.layers[id]; } if(document.layers) { wek.style=wek; } wek.sP = function(x,y) {shino(x,y);}; function shino(x,y) { wek.style.left=x; wek.style.top=y; } wek.x = startX; if (verticalpos=="fromtop") { wek.y = startY; } else{ if (navigator.appName.indexOf("Netscape") != -1) { wek.y = pageYOffset + innerHeight; } else { wek.y = document.body.scrollTop + document.body.clientHeight; } wek.y -= startY; } return wek; } window.stayTopLeft = function () {boyant();}; function boyant() { if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset; } else { var tenten = document.body.scrollTop; } ftlObj.y += (tenten + startY - ftlObj.y)/8; } else{ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset + innerHeight; } else { var tenten = document.body.scrollTop + document.body.clientHeight; } ftlObj.y += (tenten - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); wakoko=setTimeout("stayTopLeft()", 50); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv();[/spoiler]

Board footer

© 2024 F Talk

Current time is 08:00

[ 12 queries - 0.320 second ]
Privacy Policy