[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

How do I Enlarge an image on webpage running on ipad?

Hi Guys
I am using Classic ASP, Javascript,html,vbscript
Can anyone tell me what code  (Ipad friendly) can I use to provide a user with an enlarged Image When he click a link called  'Enlarge'. on my webpage?
JS ->popups are unreliable, and onmouseout does not work,,,,,
Onmouseover does work but is useless without 'onmouseout'
Your help is appreciated
Dory
0
dory550
Asked:
dory550
1 Solution
 
COBOLdinosaurCommented:
Assuming an id of "theimg"  for your image tag; then you just swap the source on the onclick event of the link:

onclick="docment.getElementById('theimg').src='thebiggerimage.png';"


Cd&
0
 
dory550Author Commented:
COBOLdinosaur
Thank you for your help
Dory
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now