Results 1 to 6 of 6

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Script to keep a webapp self-contained?

  1. #1
    Default Script to keep a webapp self-contained?
    I'm sure there's something on here referencing it, but if I can't figure out the right words to punch into Google to find it, I wouldn't know where to start here.

    Basically, I'm looking for ideas for what to add to my webapp so that links will stay within the webapp, and not exit and launch in Safari. I'm pretty new to js and figure it has something to do with that, so any help is appreciated

  2. #2
    Retired Moderator z3r01's Avatar
    Join Date
    Jul 2007
    Location
    Brooklyn
    Posts
    5,697
    Thanks
    83
    Thanked 886 Times in 557 Posts

    well, links should just be an html thing and not have to open safari...if ur doing a UIWebView with local files that is....

    instead of
    <a href="http://www.google.com">
    make it say
    <a href="xxxxxl.html">
    and make sure its in the directory
    Last edited by z3r01; 2010-04-27 at 02:15 PM.

  3. #3
    I know they shouldn't have to open Safari, and all my links are local (/index.php?ref=xxx).. can't figure it out.

    Also, didn't realize there was a webapp forum until after i posted, haha..

  4. #4
    Retired Moderator z3r01's Avatar
    Join Date
    Jul 2007
    Location
    Brooklyn
    Posts
    5,697
    Thanks
    83
    Thanked 886 Times in 557 Posts

    i dont thinklocal php will work thats probably why unless u make a .manifest file

  5. #5
    that'd probably be the culprit, then lol. How do I go about using a manifest file?

  6. #6
    All my "pages" are now in the same directory and are htm files.. yet it still launches externally, lol! Help!

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •