Posts

Showing posts from January 5, 2010

search drop down list onmouseover event

Image
Hi friends Here you can see the code to get dropdown list onmouseover event using javascript <script type="text/javascript"> var timeout    = 100; var closetimer    = 0; var ddmenuitem    = 0; function mopen(id) {     // cancel close timer     mcancelclosetime();     // close old layer     if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';     // get new layer and show it     ddmenuitem = document.getElementById(id);     if(ddmenuitem)         ddmenuitem.style.visibility = 'visible'; } function mclose() {     if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; } function mclosetime() {     closetimer = window.setTimeout(mclose, timeout); } function mcancelclosetime() {     if(closetimer)     {   ...