2008-10-31 06:04:09

freedoom07
» FTalker
FTalk Level: zero
175
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

:thumbsup: endang. jgn double post bro. ne kode title bar [spoiler]/************ * TITLE BAR * ************/ <!--// function tb9_makeArray(n){ this.length = n; return this.length; } tb9_messages = new tb9_makeArray(3); tb9_messages[0] = "met datang iah di profile Freedoom"; tb9_messages[1] = "don't distrube me"; tb9_messages[2] = "Thx For Welcome my Friendster"; tb9_messages[3] = "Don't Forget Give Me Comment Ya"; tb9_rptType = 'infinite'; tb9_rptNbr = 5; tb9_speed = 120; tb9_delay = 2000; var tb9_counter=1; var tb9_currMsg=0; var tb9_timerID = null var tb9_bannerRunning = false var tb9_state = "" tb9_clearState() function tb9_stopBanner() { if (tb9_bannerRunning) clearTimeout(tb9_timerID) tb9_timerRunning = false } function tb9_startBanner() { tb9_stopBanner() tb9_showBanner() } function tb9_clearState() { tb9_state = "" for (var i = 0; i < tb9_messages[tb9_currMsg].length; ++i) { tb9_state += "0" } } function tb9_showBanner() { if (tb9_getString()) { tb9_currMsg++ if (tb9_messages.length <= tb9_currMsg) { if ((tb9_rptType == 'finite') && (tb9_counter==tb9_rptNbr)){ tb9_stopBanner(); return; } tb9_counter++; tb9_currMsg=0; } tb9_clearState() tb9_timerID = setTimeout("tb9_showBanner()", tb9_delay) } else { var tb9_str = "" for (var j = 0; j < tb9_state.length; ++j) { tb9_str += (tb9_state.charAt(j) == "1") ? tb9_messages[tb9_currMsg].charAt(j) : "____" } document.title = tb9_str tb9_timerID = setTimeout("tb9_showBanner()", tb9_speed) } } function tb9_getString() { var full = true for (var j = 0; j < tb9_state.length; ++j) { if (tb9_state.charAt(j) == 0) full = false } if (full) return true while (1) { var num = tb9_getRandom(tb9_messages[tb9_currMsg].length) if (tb9_state.charAt(num) == "0") break } tb9_state = tb9_state.substring(0, num) + "1" + tb9_state.substring(num + 1, tb9_state.length) return false } function tb9_getRandom(max) { var now = new Date() var num = now.getTime() * now.getSeconds() * Math.random() return num % max } tb9_startBanner() // --> <!--// function doClock() { window.setTimeout( "doClock()", 1000 ); today = new Date(); self.status = today.toString(); } doClock() // -->[/spoiler] taruh d bagian C

Board footer

© 2024 F Talk

Current time is 15:13

[ 12 queries - 0.195 second ]
Privacy Policy