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

Best books about Javasript

JavaScript Blur Image while Mouse over

javascript, javascript detect chinese input formSee the following image blur effect by move mouse over and out of it.

javascript, javascript detect chinese input formHow to do it?

This special effect is using Javascript to adjust CSS style alpha opacity in onmouseover and onmouseout event. Copy the following script to your <head>section.


<SCRIPT language="javascript">
<!--

function low(which2){

which2.filters.alpha.opacity = 40 ;

}
function high(cur2){
cur2.filters.alpha.opacity += 90 ;
}
//-->
</SCRIPT>

 

Add onmouseout=low(this) onmouseover=high(this) style="FILTER: alpha(opacity=20)" to your <img> tag. You may adjust initial opacity here.

 

 

 

 

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