KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones

Best books about Javasript

JavaScript Tying Effect

javascript, javascript detect chinese input formSee the following Javascript typing effect in the text area.

javascript, javascript detect chinese input formHow to do it?

You need the following Javascript to get typing effect in web page.

<script language=javascript>
<!--
var i = 0;
var showString= "This is a computer typing script, the words in this test will appear "
+ "one letter after another. Ain't this cool? Download it for your own website!! "
+ "Get more easy to use yet powerful and useful JavaScripts at my website. You will be "
+ "transfered in a few seconds.";
function marquee()
{
var stringLength= showString.length;
document.show.marquee1.value= document.show.marquee1.value + showString.charAt(i);
i++;
var timeID= setTimeout("marquee()",70);
if (i >= stringLength)
{clearTimeout(timeID); i=0; location.href="http://www.geocities.com/SiliconValley/Network/7432";}
}

//-->
</script>

 

Then add the following code to where you want it to be:

<form name="show">

<textarea rows=6 cols=57 wrap="virtual" name="marquee1"></textarea>
</form>

 

add onload="marquee()" to <body> tag.

 

 

 

Best books about ASP & ASP.Net from Amazon
JavaScript Bible, Fifth Edition (Paperback) JavaScript & DHTML Cookbook (Paperback) JavaScript: The Definitive Guide (Paperback) Beginning JavaScript Second Edition (Paperback) JavaScript: The Complete Reference, Second Edition (Paperback)

 

Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © kidslovepc.com All rights reserved(new). Privacy|Copyright
designed by info@kidslovepc.com

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer