Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-24-2012, 05:50 PM   PM User | #1
wuzhannanan
New Coder

 
Join Date: Jul 2009
Location: Chicago, IL
Posts: 54
Thanks: 5
Thanked 0 Times in 0 Posts
wuzhannanan is an unknown quantity at this point
jQuery breaks in IE

I am using jQuery for my image gallery here: http://santahustle.com/image-gallery/. The gallery functions fine in most browsers, but I am having trouble with IE9 and Safari from a Mac computer. In both browsers, the gallery doesn't even function.

Here's a screenshot of what I'm seeing in IE:


I've been looking and playing with the code for a few days now and I can't get it to work in these two browsers. Can someone take a look at the code, it's possible I'm missing something that's completely obvious.

Thank you in advance for any help you can provide.
wuzhannanan is offline   Reply With Quote
Old 08-24-2012, 08:51 PM   PM User | #2
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
You have a number of errors in your HTML which will cause problems in some browsers (if not all!).

required attribute "alt" not specified will not impact the display of your page - I would regard this as "good advice" rather than an error. But you appear to have a few blank lines before your DOCTYPE declaration - it should be the very first line of the HTML.

And data-* attributes are only available with an HTML5 document declaration.

Still, you've got four months to fix it, ho, ho!!
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Old 08-25-2012, 01:10 PM   PM User | #3
profjacobs
New to the CF scene

 
Join Date: Aug 2012
Location: Moscow
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
profjacobs is an unknown quantity at this point
Take a look at already coded solutions, might be helpful:

http://dimsemenov.com/plugins/royal-slider/gallery/

http://www.tn3gallery.com/
profjacobs is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:31 AM.


Advertisement
Log in to turn off these ads.