Jquery demo for displaying and hiding div Effects

Source: Internet
Author: User
Jquery demo $ (document) for displaying and hiding div effects ). ready (function () {}); functionhiden () {$ (& quot; # divObj & quot ;). hide (); // The hide () function to hide data. A time parameter (millisecond) can also be included in the brackets. For example, hide (2000) can be hidden at a speed of 2000 milliseconds, you can also display and hide div effects demo $ (document) with jquery ). ready (function () {}); function hiden () {$ ("# divObj "). hide (); // The hide () function to hide data. A time parameter (millisecond) can also be included in the brackets. For example, hide (2000) can be hidden at a speed of 2000 milliseconds, it can also contain slow, fast} function slideToggle () {$ ("# divObj "). slideToggle (2000); // switch the curtain effect. Click close and open. The parameter can be left blank. The parameter description is the same as above} function show () {$ ("# divObj "). show (); // display, parameter description above} function toggle () {$ ("# divObj "). toggle (2000); // display hidden switchover. The parameter can be left blank. The parameter description is the same as above} function slide () {$ ("# divObj "). slideDown (); // curtain effect expansion}
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.