Avatar of myddotorg

asked on 

website crashes safari browsers only - why?

The website www.myduiattorney.org crashes safari browsers when a user navigates using an Ipad and/or when a user goes to a subpage on the site (i.e. clicking any of the navigation tabs).

Can you tell why this is happening by looking at the source code of the pages?

HTMLWeb FrameworksJavaScript

Avatar of undefined
Last Comment
Chris Stanyon
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Couple of issues that you may want to address. You have a good helping of CSS errors. Some of these will be caused by using the jQueryUI framework, but others seem to be genuine errors. Not sure it would crash Safari, but it won't help your cause.

Secondly, you are including a script called image_preloader.js, which has a window.addEvent function. This is a function specific to MooTools, but you're not using MooTools, so you get Javascript errors. You also seem to be using jQuery.noConflict() indicating that you intend to use an extra javascript library. Not sure if this is intentional but will make a difference to how you code your javascript i.e use jQuery() instead of $()

Don't have an iPad so can't look too closely at this one. Maybe try to debug by disabling the javascipt and see if the problem goes away - if it does, you know it's javascript problem.

One final point to note - iPads don't support flash, which your site has. Try removing that to see if it solves your problem.


JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo