Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OnMouseOver Not working?? HELP Me...

Status
Not open for further replies.

yash

Programmer
Apr 9, 2001
46
IN
Hi Guys,
Can anybody Help What i'm doing wrong..???
I want to change Image OnMouseOver/OnMouseOut event..

---------------------------------------
<TD>
<IMG SRC=&quot;/img/types_off.gif&quot;
tabindex=&quot;7&quot;
onMouseOver='<IMG SRC=&quot;/img/types_on.gif&quot;>'
onMouseOut='<IMG SRC=&quot;/img/types_off.gif&quot;>'
onfocus=&quot;window.status='Show Donations Types';return true;&quot;
onClick=&quot;javascript:eek:pencenter('/pls/devwebb/center_details.donations?p_dcid='+document.calform.p_center.value,'625','290','210','70','60000','no','yes','yes')&quot;
>
</TR>
---------------------------------------

Regards
 
Try this:

Code:
<TD>
<IMG
 SRC=&quot;/img/types_off.gif&quot; 
 Name=&quot;MyImage&quot;
 tabindex=&quot;7&quot;
 onMouseOver='document.MyImage.src=&quot;/img/types_on.gif&quot;;'
 onMouseOut='document.MyImage.src=&quot;/img/types_off.gif&quot;;'
 onfocus=&quot;window.status='Show Donations Types';return true;&quot;
 onClick=&quot;javascript:opencenter('/pls/devwebb/center_details.donations?p_dcid='+document.calform.p_center.value,'625','290','210','70','60000','no','yes','yes')&quot;>
</TR>

My JS is rusty, but that <i>should</i> work...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top