Solved

Website crashing on iphone

Posted on 2014-02-13
3
282 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 109

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
A brief look into what is, how to use, and how to make GIFs
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

789 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