What's new

Popup windows javascript doesn't work on ipad

wgm51

iPF Noob
I am trying to update my photography website with popup windows when s.o. clicks on a thumbnail. I copied JavaScript HTML which resizes the popup to match the image size to display the larger image. Works fine on the MacBook pro but doesn't work on my iPad. The popup image is huge! If you want check it out it is on my website at ****** I have only set up one photo at the moment o see if it would all work. Wondered if s.o. who is familiar with HTML, JavaScript and iPad quirks could help out?
 
Last edited by a moderator:
I suspect the problem is that the iOS does not support Flash.

There may be workarounds that someone can provide. Can you code the pages in HTML5, which is supported by iOS?
 
The JavaScript doesn't use flash, it checks window size and re-adults to fit the image displayed. It seems the iPad handles popup windows differently to standard computer systems.
 
I should say "re-adjusts" window size!! Funny though when I clicked on the link in this app ( the link I put in the first message ), the popup works better!! It is obviously the quirks of Safari on the iPad!!
 

Most reactions

Back
Top