Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#8865 closed bug (worksforme)

IE9 display:none in class bug

Reported by: bestrong89@… Owned by:
Priority: low Milestone: 1.next
Component: effects Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


In IE9, slideDown(), fadeIn() and I am assuming other functions, do not work if display:none is in the class. The following code works fine in FireFox, Chrome, Safari, and previous versions of IE, but does fails in IE9.

<style type="text/css">
	border:1px solid #090;
<p style="cursor:pointer" onclick="$('#div1').slideDown()">Show div1</p>
<div id="div1" class="classname">This is div1</div>
<p style="cursor:pointer" onclick="$('#div2').slideDown()">Show div2</p>
<div id="div2" class="classname">This is div2</div>

Thanks, Ben

Change History (6)

comment:1 Changed 12 years ago by bestrong89@…

Update: I forgot to post this, but I tried this in jsFiddle and the code functions properly, but does NOT work in a standard environment.

comment:2 Changed 12 years ago by Timmy Willison

Component: unfiledeffects
Priority: undecidedlow
Resolution: invalid
Status: newclosed

jsfiddle is a standard environment. In fact, you can put the code on it's own page by adding "/show" to the end of the url. If you can reproduce for us on jsfiddle, we can take a look.

comment:3 in reply to:  2 Changed 12 years ago by anonymous

reproduced on jsFiddle

works in every browser except IE9


comment:4 Changed 12 years ago by Timmy Willison

Resolution: invalid
Status: closedreopened

@bestrong89 http://jsfiddle.net/timmywil/YL8gC/1/ Does this also fail? If so, it may be a problem with inline event handlers. I don't have a way to test IE9 yet.

comment:5 Changed 12 years ago by ajpiano

This is working fine for me in IE9, both jsFiddles.

comment:6 Changed 12 years ago by Timmy Willison

Resolution: worksforme
Status: reopenedclosed

With DaveMethvin and ajpiano confirming the first fiddle works in IE9, closing. Be sure that you are not testing with a beta version of IE9 as well.

Note: See TracTickets for help on using tickets.