How can I indicate that a popup has been blocked by Safari?
In Safar开发者_开发百科i for iPad, if the popups are disabled, is there any way to get the bar at the top..like in IE which says "...website trying to open popup.."
I mean the user can at least come to know there is some popup being opened..
Otherwise if the popup setting is blocked, nothing happens when the user clicks on a link which has that popup.
The only way that I know of to get a new window to open up in Mobile Safari is to use the target="_blank"
(and I guess target="_new"
) attribute.
<a href="my_popup_page.html" target="_blank">Open 'popup'</a>
精彩评论