BUG jquery slideToggle flashing when closed
today to see a strange BUG
jquery method of slideToggle
in the IE browser, when there will be flashing away
$ ( check . bind (“click”, function () {
$ (“# tag-list”). slideToggle ()
});
do not know why this child. Tangle the morning did not see progress.
to start to write a function or not, as in away away when when to be a BUG in processing.
away suddenly when fully closed together again to start the same, so you have to completely put away so that he no longer start.
code is as follows:
$ ( check . bind (“click”, function () {
if ($ (” # tag-list “). css ( isplay == none {
$ (” # tag-list “). slideDown ()
< br />} else {
$ (“# tag-list”). slideUp ();
setTimeout (function () { $ (“# tag-list”). css ( isplay one }, 350);
/ / this time determined by the height to start their own situation to see written on the line
}
})
Posted: January 6th, 2012
at 10:40am by admin
Tagged with slidetoggle
Categories: Uncategorized
Comments: No comments













