Skip to content Skip to sidebar Skip to footer

Window.open() In An Ipad On Load Of A Frame Does Not Work

I am trying to modify a site that uses 'Morten's JavaScript Tree Menu' to display PDFs in a frames set using the Adobe Reader plug-in. On the iPad the frame is useless, so I want t

Solution 1:

probably Safari tries to block popups. That means that when the user clicks, does an action, window.open works, but not when it "happens".

Solution 2:

You should also check your element and parent elements and make sure you do not have a ":hover" pseudo class on there. When you touch that element expecting a "click" event to occur, it will trigger the hover state on the element. If you touch again it will then fire the click event.

Post a Comment for "Window.open() In An Ipad On Load Of A Frame Does Not Work"