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

Event Handler for icons??

Status
Not open for further replies.

golyg

Programmer
Jul 22, 2002
319
US
Is there a way to assign an eventHandler to a .gif?

Thanks alot,


Silly questions but someone has to keep you busy!

 
<IMG SRC='go.gif' onclick='vbscript:SayHi'>
<SCRIPT Language='VBScript'>
SUB SayHi
MsgBox &quot;Hi&quot;
END SUB
</SCRIPT>

or simply

<IMG SRC='go.gif' onclick='vbscript:MsgBox &quot;Hi Amigo&quot;'> Jon Hawkins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top