Solved

Website crashing on iphone

Posted on 2014-02-13
3
271 Views
Last Modified: 2014-02-17
The provided URL below always crashes when viewed on my iPhone, but fine when view via a normal browser. Any idea why?

http://www.petewinter.com/portfolio/
0
Comment
Question by:petewinter
3 Comments
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 150 total points
ID: 39855790
0
 
LVL 2

Accepted Solution

by:
DualCool earned 350 total points
ID: 39860233
Validating your site should always be your first step as Ray Paseur pointed out

Going beyond validation I can only offer theory but I will share what I have found on sites I have built that have had the same problem of making my iphones crash.

1 - the javascript on scroll event - I think the onscroll event causes an infinite loop which causes the iphone safari browser to crash. my solution was to make the scroll event instantiate conditionally only to non mobile browsers.

2 - Form tags - When I navigated to pages with forms sometimes my browser would crash.
solution - remove the form tags - this kinda sucks but my site crashing sucked more.

after taking a quick look at your site it looks like you are rockin some wordpress so I don't know if you would be able to get to the bottom of this without reverse engineering the javascript and dissecting it line by line then experimenting with your phone.

hope this helps
0
 

Author Closing Comment

by:petewinter
ID: 39864150
Thanks for your advice on this. The original plugin developer is working to fix this issue.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now