[jQuery] slideToggle problem in IE

2009-05-11 Thread Beyers
Hi everyone, Are there any known problems with slideToggle() and IE 7? The following code behaves strangely when run on IE 7, the input control that should receive focus dissappears for around 2secs after it gains focus. $("#myCheckbox").click(function() { $("#detailData").slideToggl

[jQuery] slideToggle Problem

2008-05-07 Thread Bo
Hello, I am using this code to slide a div up/down: $("#slide").click(function(){ $("#slider").slideToggle("slow"); $(this).toggleClass("active"); }); It works alright, just like it's supposed to, but how can I have the #slide div be in the up position by default? Right now it's