Jquery

Jquery

  • Docs

Animations

.fadeIn( time, callback )

Display the matched elements by fading them to opaque and visibility.

time: animation time as miliseconds

callback: callback function fired when animation is done

    $(selector).fadeIn(time,callback)

.fadeOut( time, callback )

Hide the matched elements by fading them to opaque and visibility.

time: animation time as miliseconds

callback: callback function fired when animation is done

    $(selector).fadeOut(time,callback)

.show( time, direction )

Show the matched elements by fading them to opaque and visibility.

time: animation time as miliseconds

direction: "left" for left to right, "top" for top to bottom, default: "false"

    $(selector).show(time,callback)

.hide( time, direction )

Hide the matched elements by fading them to opaque and visibility.

time: animation time as miliseconds

direction: "left" for left to right, "top" for top to bottom, default: "false"

    $(selector).hide(time,callback)

.toggle( time, direction )

Toggle the matched elements by fading them to opaque and visibility.

time: animation time as miliseconds

direction: "left" for left to right, "top" for top to bottom, default: "false"

    $(selector).toggle(time,callback)
Facebook Open Source
Copyright © 2018 TESODEV