Slideshow pesan

Demo :

What's On Update




Cara membuatnya

Penempatannya
dibawah <body>
........
diatas </body>


<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%"><form name="slideshow"><div align="center"><center><p><b>What's On Update</b><br/><textarea rows="5" name="S1"
      cols="30" wrap="virtual"></textarea><br/>
      <input type="button" value="Take me there!" name="B1" onClick="window.location=messagelinks[curmsg]" /></p>
      <</center></div>
    </form>
    </td>
  </tr>
</table>
<script type='text/javascript'>
//<![CDATA[

/*
Pembuat Script oleh JavaScript Kit http://www.javascriptkit.com/script/cut181.shtml
*/

//Tempat Pesan anda :
var curmsg=-1
var messages=new Array()
messages[0]="Ingin mengenal dasar-dasar kode HTML"
messages[1]="Apakah anda sudah menguasai HTML dan ingin mengenal XHTML ???"
messages[2]="HTML dan XHTML sudah anda kuasai ??? silahkan dilanjutkan dengan kode CSS !!!"
//tempat menambahkan pesan

//tempat link anda, dicocokkan dengan pesan diatas:
var messagelinks=new Array()
messagelinks[0]="http://nanoyulianto.blogspot.com/2010/12/tutorial-kode-html.html"
messagelinks[1]="http://nanoyulianto.blogspot.com/2010/12/tutorial-kode-xhtml.html"
messagelinks[2]="http://nanoyulianto.blogspot.com/2010/12/tutorial-kode-css.html"
//tempat menambahkan link

function slidemessage(){
if (curmsg<messages.length-1)
curmsg++
else
curmsg=0
document.slideshow[0].value=messages[curmsg]
setTimeout("slidemessage()",4500)
}
slidemessage()

//]]>
</script>



Credit : JavaScript Kit

Alhamdulillah

0 comments:


Posting Komentar


Creative Commons License
Slideshow pesan by Nano Yulianto is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at http://nanoyulianto.blogspot.com/2011/01/slideshow-pesan.html.
Permissions beyond the scope of this license may be available at http://nanoyulianto.blogspot.com/.