SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Site not working in iOS Safari; help much appreciated!

    At my wit's end with this issue. My site, http://pokejungle.net, has been having loading problems on iPhones. Basically the page keeps loading and loading and loading with the blue bar constantly refreshing.

    I don't have a Mac so I can't use the Web Inspector feature. Can someone help me out with debugging? From what I can tell it's a JavaScript issue, but I've tried disabling some and no improvements.

    Appealing to the experts here now, please help

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Hi tangerine17. Welcome to the forums.

    It loads fine for me on the iPhone. There are some design problems (with some content being cut off on the right, but that's not the current issue. However, the fact that content is hanging out to the right makes this in your head a disaster: user-scalable=no.)

    The only problem that shows up in the Chrome inspector (on the desktop) is this JS warning:

    Code:
    Unsafe JavaScript attempt to access frame with URL http://pokejungle.net/ from frame with URL http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-150837761708807…h-appreciated!&fu=0&ifi=2&dtd=401&xpc=og4rINuRWj&p=http%3A//pokejungle.net. Domains, protocols and ports must match.
     swfobject2.js:5
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for replying, was worried I wouldn't get any responses.

    The initial load for the index often goes OK, if not a bit slow, but subsequent visits will probably bring up the problem I'm talking about. Also clicking on any article seems to produce it as well.

    Not sure about the ad code since the settings for Adsense should be correct...

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    OK, I saw the behavior the second time. Well, I would recommend disabling that script to see if it's the thing causing the problem. If not, then do the same with the other elements of the page.

    It's also worth tidying up some of the errors on the page:

    http://validator.w3.org/check?uri=ht...Inline&group=0
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

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