Sunday, June 21, 2009

Tutorial Java script



Peripatetic text
Syntac:
<html>
<head>
<script language="JavaScript">
<!-- Hide the script from old browsers --

var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;

function txtScroll() {
var i,x
var message="example name of website.";
x=(60/message.length)+1;
for(i=0;i<=x;i++) message+=" "+message; document.tickerTape.tickerTape.value=message.substring
(position,position+60); if(position++==128) position=2; id=setTimeout("txtScroll()",1000/10);}function action() { if(!pause)
{ clearTimeout(id); pause=1; } else { ticker(); pause=0; } }
// --End Hiding Here -->
</script>

<title>tutorial javascript

<body onLoad="txtScroll()">
<center>

<form name="tickerTape">
</center>
</body>
</html>

boldness :type in notepad and keep example.html.






tutorial javascript











Related Posts by Categories



Widget by Simran

0 comments on "Tutorial Java script"

Add your comment. Please don't spam!
Subscribe in a Reader
:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment

 

Hadena | Copyright © 2009 | Original Design By Deluxe Themes | Converted To Blogger By Technolizard