NetTalk Central

Author Topic: popup windows on ipad  (Read 3650 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
popup windows on ipad
« on: August 22, 2012, 02:47:15 PM »
Do anybody know how to get popup windows work on ipad as it seems to just open new windows all the time and i end up with 100s of windows open on screen

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Re: popup windows on ipad
« Reply #1 on: August 22, 2012, 03:26:56 PM »
Safari on iPad runs ALL web windows in full screen, so any new window will ignore any sizing restrictions and end up as a new tab.  No way around this I'm afraid as it is an OS restriction.

The only other thing is to create the 'pop up' window using a jQuery dialog box call, then it will LOOK like a popup window and can be moved/resized by the user if needed.  You can also make the dialog box modal, so that the user cannot click on anything 'behind' the popup until they close it.

This is essentially what NetTalk does when opening up a 'popup' entry form from a Browse etc.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11263
    • View Profile
Re: popup windows on ipad
« Reply #2 on: August 22, 2012, 10:20:15 PM »
Olu,

your reference to "popup windows" is somewhat ambiguous.
there are "real" popup windows, in other words new browser instances, and these open in a new tab (full screen) in Safari on iOs. They can also be blocked with popup-blockers and so on.

then there are "simulated" popups - such as what NetTalk uses for popup forms and lookups. These are really just some clever HTML and JavaScript _on the original page_ that get unhidden at the appropriate time. They are not "popups" in the "true" sense of the word, but they simulate a windows-like environment that has multiple "windows".

Which one were you referring to?

cheers
Bruce