Archive for the ‘slidetoggle’ tag

About jQuery slideUp, slideToggle flicker problem in IE

quite busy at work recently, when nothing to see jQuery his fiddle fiddle. Animation features in play when the slide × × accidentally discovered the effect in ie there are some problems. Every time when the operation will find slideUp elements disappeared after the last gasps, the flash so it over and then disappear. Studies have not resolved a long time, then ask my students, he soon found the answer to help me.
The easiest way is to add a line doctype, , declared the standard of W3C standards and found everything running normal.
Also if you know the root cause of this problem, we can not add this in the case of replication W3C standard jQuery code to solve this problem. If you are interested, you can see http://aqr199.myweb.hinet.net/jquery_slide_iebug.htm explained here is still pretty clear. Of course the good thing do not know why it is inexplicable on the outside wall, and also need to see the original wall Oh.

Posted: January 6th, 2012
at 10:41am by admin

Tagged with


Categories: Uncategorized

Comments: No comments


SlideToggle with jQuery to achieve the effect of sliding back and forth

basically from the W3C on the interception:
script part
type = “text / javascript”>
$ (document). ready (function ()
{$ (“. flip”). click (function () {
$ (“. panel”). slideToggle (“slow”);});});
body part
W3School – leading technology tutorial site Web
in
W3School, you can find all you need website building tutorials.

class = “flip”> click here
nothing. Next study

  • or list a series of lists and control slide.

    Posted: January 6th, 2012
    at 10:40am by admin

    Tagged with


    Categories: Uncategorized

    Comments: No comments


  • 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


    Categories: Uncategorized

    Comments: No comments