IE8 Slide Toggle Issue
Posted
by jef2904
on Stack Overflow
See other posts from Stack Overflow
or by jef2904
Published on 2010-04-22T21:44:21Z
Indexed on
2010/04/22
21:53 UTC
Read the original article
Hit count: 171
jQuery
Im having some trouble with jQuery's slideToggle function in IE8 for some reason the DIV its opening closes immediately after its opened
heres the code im using
$("h3 a").click(function(){
id = $(this).attr("href");
$(id).slideToggle("slow");
});
and the HTML
<h3><a href="#promo-materials">Graphic and Pormotional Materials</a></h3>
<div id="promo-materials" class="center gallery">
<a href="images/portfolio/bistro.png" rel="facebox">
<img src="images/portfolio/thumbs/bistro.png" alt="" />
</a>
<a href="images/portfolio/direct-savings.png" rel="facebox">
<img src="images/portfolio/thumbs/direct-savings.png" alt="" />
</a>
</div>
Here is a link to the functional page it works in all other browsers including IE7
© Stack Overflow or respective owner