• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 556
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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