Sean, Just adding target="_webapp" would solve the "problem" isn't it ?
Remi Le 9 janv. 2010 à 01:12, Sean Gilligan a écrit : > Peter S. Easton Jr. wrote: >> I'm creating a web app and i've created a web clipping on home screen and >> everything is moving along great. >> I have several pages that all link off a central menu page and those links >> work but today a created another page and for some reason when it's clicked >> it opens mobile safari. >> I can't figure out what i changed to make this happen. >> > > > By default links will open in mobile safari. > >> What i'm asking is it possible to force a page to stay in the web clip if it >> is opened in a web clip? >> > > location.href = new URL > > That's how iUI does it (for links marked target="_webapp"). See line 330: > http://code.google.com/p/iui/source/browse/web-app/iui/iui.js > > -- Sean > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
