CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

ie7 issue #12

Closed hpatel25 closed 13 years ago

hpatel25 commented 13 years ago

Is there a bug in the code that displays incorrectly in IE7? It looks like the javascript code isn't loading correctly on that browser www.lowcostwebdesignfirm.com

Thanks, Hiren

Mottie commented 13 years ago

Hi hpatel25!

I don't have IE7 to test for bugs, but it works just fine in IE8 in compatibility mode. Is there a specific error or line number of the error that you are seeing?

hpatel25 commented 13 years ago

I found it :) there's an extra comma in this line before the comment after the }. IE7 doesn't like it when you have extra commas in javascript code.

navFormatter : function(index, panel){ return panel.find('h2 span').text(); } // function which gets nav text from span inside the panel header

Mottie commented 13 years ago

ahhh good... oh is it on that site or in the core code? I'm pretty sure I cleared out all those naughty extra commas from the code.

hpatel25 commented 13 years ago

It's on the site. It was hiding from us all!