toggle(slide) not working in ie (and safari, chrome)

toggle(slide) not working in ie (and safari, chrome)

hello all,

i'm new to jquery and now ran into the first problem.

Here i made a testcase: http://www.45miles.de/jquery_test/test.html

The 3 "Buttons" funktion 1, funktion 2, funktion 3 should do all nearly the same. Expecially the first and the third. The fist on works fine in all Browsers. The chosen div slides in and out. Well i thougt then, ok, now the samen once more with the third one. But here the "slide"-effect doesnt work in the above listes Browsers. It works in Firefox and Opera. Now i could imagin, that a certain effect doesnt work in some Browsers, but what i don't understand, is why on works and the other doesn't (on the same page).

This is how i did the effect:
the working one:
$("#b_kapitel_minus").click(function () {
     $("#kapitel").toggle("slide", { direction: 'down' }, 1000);
});


the not working one:
$("#floater #b_suche").click(function () {
   $("#suche").toggle("slide", { direction: 'down' }, 1000);
});



So, can anyone give me an hint?
Oh an please excuse my english, i know its now very goot.

many thanks in advance
Rainer
    • Topic Participants

    • web