TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
JQuery Slide Functions
Kannadasan G
Jun 22
2015
Code
983
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
jQuery Slide Functions:
//--- JQUERY SLIDE - SLIDE AN ELEMENT IN AND OUT ---//
// toggle slide up and down
$(
"#DivID"
).slideToggle(1000);
// do something when animation complete
$(
"#DivID"
).slideToggle(1000, function () {
alert(
"Slide Toggle Complete"
);
});
// slide up
$(
"#DivID"
).slideUp(1000);
// do something when animation is complete
$(
"#DivID"
).slideUp(1000, function () {
alert(
"Slide Up Complete"
);
});
// slide down
$(
"#DivID"
).slideDown(1000);
// do something when animation is complete
$(
"#DivID"
).slideDown(1000, function () {
alert(
"Slide Down Complete"
);
});
Slide Functions
jQuery