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 Rhinorhino 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
Joined
Jul 13, 2001
Messages
3
Location
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?
 
TMI,
I not an experience programmer, but as I have surfed the web for tips and tricks I have found a few sites the do mouseover in Javascript ( and hotwired.lycos.com/webmonkey/index.html). You can use these scripts within vbscripts and they should work.
 
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