I am working on a web-site where I use the slimbox2 plug-in (similar to lightbox) for jquery to generate photo enlargements.
The plugin works in every browser I have tried except for Safari on the iPhone. It does work as expected on Safari for Windows but on the iphone there are two problems:
- The darkening of the rest of the page only happens on the top of the page, about the height of the viewport (let´s say the top 400px of the page), everything below that remains as it is.
- The larger image itself is placed exactly at the middle of the page, not the middle of the viewport.
I have read somewhere here on SO that jquery is supposed to work just fine on the iphone but as positioning and fading seem to be basic jquery functionalities, I am thinking that maybe that is not completely true. It could of course also be the plugin...
So my questions is: Is jquery really working on the iphone, and if not, does anybody know how to make it work?
Thanks a lot!