Promosi dan Informasi Iklan
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Pencarian
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» solusi bau mulut
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptySun Aug 17, 2014 3:40 am by wartasolusi

» akhirnya terjawab sudah masalah saya
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptySun Oct 28, 2012 4:31 am by stokisherbal

» solusi bau mulut, napas, kurus/obesitas, kerusakan rambut
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyWed Oct 17, 2012 4:18 pm by stokisherbal

» nulled CPA blaster
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyWed Oct 17, 2012 12:15 pm by Admin

» Script Download Mp3 dari 4Shared [White Code]
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptySun Sep 30, 2012 12:01 pm by mandala

» Backlink Pasang Ac Surabaya | Do follow blog - Infoac.info
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyFri Sep 28, 2012 10:42 pm by mandala

» Backlink Service Ac Surabaya
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyFri Sep 28, 2012 10:37 pm by mandala

» site:perawatanac.infoac.info
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyWed Sep 26, 2012 1:31 am by mandala

» Auto Approve - Bakclink September 2012
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyThu Aug 30, 2012 10:41 pm by mandala

» pemesanan id betting online
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyWed Aug 29, 2012 2:40 pm by dragonbet77

» Dijual Segera Rumah Minimalis Siap Huni dan Hadap Timur | Surabaya
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptyTue Aug 28, 2012 9:23 pm by mandala

» Get Usernames And Passwords + Database By Google
STATUS BAR DENGAN EFEK DATANG BERTAUTAN EmptySun Aug 26, 2012 12:15 pm by mandala


STATUS BAR DENGAN EFEK DATANG BERTAUTAN

Go down

STATUS BAR DENGAN EFEK DATANG BERTAUTAN Empty STATUS BAR DENGAN EFEK DATANG BERTAUTAN

Post by Admin Mon Dec 06, 2010 8:09 am

Copy paste saja script dibawah ini :
Code:

<SCRIPT LANGUAGE="JavaScript">
<!--// Copyright 1996 - Tomer and Yehuda Shiran
// This example will appear in our forthcoming book on JavaScript.
// Feel free to "steal" this code provided that you leave this notice as is.
// Additional examples from the book can be found at http://www.geocities.com/SiliconValley/9000/
// For more information contact Tomer or Yehuda Shiran <yshiran@iil.intel.com>

// set speed of banner (pause in milliseconds between addition of new character)
var speed = 10

// decrease value to increase speed (must be positive)
// set pause between completion of message and beginning of following message
var pause = 1500

// increase value to increase pause
// set initial values
var timerID = null
var bannerRunning = false

// create array
var ar = new Array()

// assign the strings to the array's elements
ar[0] = "Welcome to my home page"
ar[1] = "I hope you enjoy "
ar[2] = "terima kasih atas kunjungan nya"
ar[3] = "semoga bermanfaat!"

// assign index of current message
var message = 0

// empty string initialization
var state = ""

// no value is currently being displayed
clearState()

// stop the banner if it is currently running
function stopBanner() {   
   // if banner is currently running   
   if (bannerRunning)      
   // stop the banner      
   clearTimeout(timerID)   
   // timer is now stopped   
   timerRunning = false
}

// start the banner
function startBanner() {   
   // make sure the banner is stopped   
   stopBanner()   
   // start the banner from the current position   
   showBanner()
}

// assign state a string of "0" characters of the length of the current message
function clearState() {   
   // initialize to empty string   
   state = ""   
   // create string of same length containing 0 digits   
   for (var i = 0; i < ar[message].length; ++i) {      
      state += "0"   
   }
}

// display the current message
function showBanner() {   
   // if the current message is done   
   if (getString()) {      
      // increment message      
      message++      
      // if new message is out of range wrap around to first message      
   if (ar.length <= message)         
      message = 0      
      // new message is first displayed as empty string      
      clearState()      
      // display next character after pause milliseconds      
      timerID = setTimeout("showBanner()", pause)   
   }
   else {      
      // initialize to empty string      
      var str = ""      
      // built string to be displayed (only character selected thus far are displayed)      
   for (var j = 0; j < state.length; ++j) {         
      str += (state.charAt(j) == "1") ? ar[message].charAt(j) : "    "      
   }      
   // partial string is placed in status bar      
   window.status = str      
   // add another character after speed milliseconds      
   timerID = setTimeout("showBanner()", speed)   
   }
}

function getString() {   
   // set variable to true (it will stay true unless proven otherwise)   
   var full = true   
   // set variable to false if a free space is found in string (a not-displayed char)   
   for (var j = 0; j < state.length; ++j) {      
      // if character at index j of current message has not been placed in displayed string      
      if (state.charAt(j) == 0)         
      full = false   
   }   
   // return true immediately if no space found (avoid infinitive loop later)   
   if (full) return true   
   // search for random until free space found (braoken up via break statement)   
   while (1) {      
      // a random number (between 0 and state.length - 1 == message.length - 1)      
      var num = getRandom(ar[message].length)      
      // if free space found break infinitive loop      
   if (state.charAt(num) == "0")         
      break   
   }   
   // replace the 0 character with 1 character at place found   
   state = state.substring(0, num) + "1" + state.substring(num + 1, state.length)   
   // return false because the string was not full (free space was found)   
   return false
}

function getRandom(max) {   
   // create instance of current date   
   var now = new Date()      
   // create a random number (good generator)   
   var num = now.getTime() * now.getSeconds() * Math.random()   
   // cut random number to value between 0 and max - 1, inclusive   
   return num % max
}
startBanner()
// -->
</SCRIPT>
Very Happy
Admin
Admin
Admin
Admin

Jumlah posting : 347
Points : -2145353246
Reputation : 8
Join date : 08.11.10
Age : 37
Lokasi : Surabaya

https://promosi.indonesianforum.net

Kembali Ke Atas Go down

Kembali Ke Atas

- Similar topics

 
Permissions in this forum:
Anda tidak dapat menjawab topik