Solved

Website crashing on iphone

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
A brief look into what is, how to use, and how to make GIFs
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

896 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

16 Experts available now in Live!

Get 1:1 Help Now