Read the latest web development and design tips at Fred Wu's new blog! :-)
Poke me on GitHub

A simple Google search suggests that people are having problems with jQuery.slideDown() on Internet Explorer.

I’ve come across two issues on Internet Explorer 7 while developing a website containing some slideDown() effects, and found some quick fixes for them. :)

  • Digg
  • DZone
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Related posts

Tags: , , , ,

Comments Section

19 Responses to “”

Sidebar might be covered by comments ... consider it a feature! ;)
  1. 1

    Hi, I’ve been going around in circles trying to make slideDown() work in IE and you seem to have the only diagnosis on the web specific to this problem.

    Im relatively new to javascript and would really appreciate some help with my code.

    $(‘#projectLoaded’).hide();

    $(‘.projectThumbs a’).click(function() {
    $(‘#projectLoaded’).slideDown(2000);
    return false;
    });

    $(‘#closeProject a’).click(function() {
    $(‘#projectLoaded’).slideUp(2000);
    return false;
    });

    Thanking you.

  2. 2

    You should do what is written in the article. As follows, your code should look this way:

    $(’.projectThumbs a’).click(function() {
    $(’#projectLoaded’).slideDown(2000).show(function(){
    $(this).show();
    });
    return false;
    });

  3. 3

    Or..

    You can set a css property on the div in question

    zoom: 1

    to give it the coveted hasLayout

  4. 4

    zoom:1 also worked for me quite nicely! Thanks for the post.

  5. 5

    Hey there!
    I’m using something similar on my page, when you click the about-link in the menu, the info about me slides down, pushing the content below down. Well, in FF and Safari it does.

    My problem is that in IE7, which is the only browser where it won’t work, I can’t make the appearing box push the rest of the content on the page down, instead it lays on top of everything and looks really bad.

    Do you know what might be the problem for this, I suspect this too is a matter of css tweaking..

    Thanks!
    // Jens.

  6. 6

    Hello again!
    Just wanted to let you know that I got everything to work, after testing every trick in the book, by giving the container a min-height value instead of a plain height value.

    Take care!

  7. 7

    Thanks a bunch :-D

  8. 8

    Hi, Thanks for this nice tips. Very helpful…

  9. 9

    Very nice and useful tutorials for web designers,
    Thanks for posting.

  10. 10

    and do not forget to define the width of the slideable content in IE(7)! the content will not appear correctly otherwise. (for me it was also a bug)

  11. 11

    *note my case was a two column layout… so the width is essential for counting the proper width in IE.

  12. 12

    In my case I put the Div to be slided inside li element.
    No problem while sliding down but the problem is:
    It takes some time before it starts sliding in IE.Please any suggestion will be helpfull.

  13. 13

    Hey all,

    had this issue in IE6 and 7 – fixed it by setting a width on the element being slided.

  14. 14

    Thank you very much. You saved my life!!!!

  15. 15

    “zoom: 1;” works for me, simple and elegant. Thanks a lot guys!

  16. 16

    Sorry guys, I’ve have tried every suggestion here and nothing is working for me.
    jQuery doesn’t even seem to load at all – only in IE7. (validated code)
    I’m utterly stuck.
    Any other words of wisdom?
    The start of my js is:

    jQuery(document).ready(function($) {
    $(‘#accordion dd’).hide();

    It’s not even getting that far.

  17. 17

    Thanks guys, after reading your article I played around with positioning the element that was being slided. position:relative fixed the display problem in IE6 and IE9 compatibility mode.
    Cheers

  18. 18

    zoom:1; solved it… Thanks!

Trackbacks

  1. Kompass