Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Is there a specific reason you're using "document.getElementById" rather than a JQuery selector here? It's not finding <code>document.getElementById(id)</code> and it's throwing an error on this line: <code>tmp = elementOnShow.parentNode.offsetTop + 'px';</code>:</p> <pre><code>function FlushThis(id){ var msie = 'Microsoft Internet Explorer'; var tmp = 0; var elementOnShow = document.getElementById(id); if(navigator.appName == msie) { tmp = elementOnShow.parentNode.offsetTop + 'px'; } else { tmp = elementOnShow.offsetTop; } } </code></pre> <p>Maybe change <code>var elementOnShow = document.getElementById(id);</code> to <code>var elementOnShow = $("#" + id);</code>?</p> <p>Also, why are you adding 'px' to the end for IE? Try commenting that out so it just says <code>tmp = elementOnShow.offsetTop</code> and see if that makes a difference.</p> <p>The error is probably just disabling most of the rest of the Javascript on that page.</p> <hr> <p>One other thing I've found: sometimes "slideUp" and "slideDown" and other "built-in" animation methods seem to be buggy or crunchy in IE (like, they animate most of the way, then they stop for a second near the end of the animation, and suddenly blink to the end). </p> <p>I always use the JQuery <code>animate()</code> function for everything. It's a bit more of a pain to write, but you can specify outerHeight/outerWidth values that take padding into account and things like that. Try replacing your functions with <code>animate()</code> and see if that helps!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload