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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbscript mouseover, how?

Status
Not open for further replies.

TMI

Technical User
Jul 13, 2001
3
0
0
US
I am trying to do a vbscript mouseover so that i can change an img src file to another img src file in html...how would i do this?
 
Try this:
You actually need two functions:

<script language=vbscript>
function Image1_onmouseover()
Image1.src = &quot;Picture2.jpg&quot;
end function

function Image1_onmouseout()
Image1.src = &quot;Picture1.jpg&quot;
end function
</script>

TazzMann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top