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

Best books about Javasript

JavaScript Flashing border

javascript, javascript detect chinese input formSee the following effect. It is easy to change color or add links to text. It works well in Internet Explorer.

www.kidslovepc.com -- add your link here

javascript, javascript detect chinese input formHow to do it?

The above example use javascript switch table border. The time interval is set to 500 micro seconds.

<table border="0" width="179" id="my" style="border: 5px solid yellow" height="25">
<tr>
<td height="21" valign="center" width="161">
<font size="2">Your text here .</font>
</td>
</tr>
</table>
<script language="JavaScript1.2">
<!--

function flashit()
{

var myexample = document.getElementById('my');
if (myexample.style.borderColor=="blue")
myexample.style.borderColor="red" ;
else
myexample.style.borderColor="blue" ;


}
setInterval('flashit()', 500) ;
//-->
</script>

 

 

 

 

 

 

 

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