Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Feb 27, 1997



Application Security Testing: An Integral Part of DevOps

Sensitive maps

I would like to change SRC picture of the sensitive map, onClick on some area of same picture. With JavaScript it works that if instead of HREF ="some.URL" on imagespot you just put HREF="javascript:Function()" Under IE3.0 I got reasonable message that javascript is not supported protocol. How to do that in VBScript ?

I'm surprised that your Javascript did not work in IE 3.0. However, you can do it in VBScript by using an Image control and checking the MouseDown event. It is easiest to do this with the ActiveX Control Pad and use the Script Wizard to help you write the code. The MouseDown event will provide you X and Y coordinates which you can check against your imagemap.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date