...

View Full Version : Problems with the ipad/iphone and my new website



barricades
11-22-2012, 06:40 PM
Hi all. I've just finished coding up my first proper website and having tested it on all the browsers you can install on a windows PC I was hoping that things would go painlessly. Not so...

When I borrowed my friends ipad and looked the page took an absolute age to load. And sometimes it wouldn't load at all. After checking other websites etc I'm sure it's not the connection. I have some Javascript I had never used before, could this be causing the problem? Sometimes it looks like it's taking a long time loading the FB, google and twitter buttons. Do they cause problems on iphones and ipads?

Unfortunately my problem is made worse because I can't easily get my hands on an ianything as I don't own one myself and all the emulators/simulators I've found don't appear to be 100% authentic. So it'd even be useful if someone could tell me if they have problems too.

Can anyone help me out?
the site's at www.traditionalirishgifts.com

I'd appreciate it :)

barricades
11-23-2012, 04:07 PM
I'm still struggling with this, anyone any ideas?

AndrewGSW
11-24-2012, 02:15 AM
When I first loaded your page on my laptop, with my admittedly slow broadband connection, I was presented with a blank screen for quite a while.

Most of your scripts can be placed at the bottom of the page, just before the closing </body> tag. That is, allow the content of the page to be filled in before loading the scripts.

Some of the scripts could/should only run once the page has fully loaded. As you are using jQuery you can place the code in:


$(document).ready( ... )

..even if the code is plain JS (rather than jQuery). An exception to this is where you use document.write() to add content in-place in the page. document.write() should be avoided where possible, instead waiting for the page to complete and then inserting (appending) content at the relevant location.

AndrewGSW
11-24-2012, 02:21 AM
I like your page though - very neat :thumbsup:

Just a thought, but you could repeat your "Traditional Irish-Gifts" image-logo further down the page, perhaps in the footer; it doesn't harm to remind people of the page they are viewing - people have a short attent..



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum