CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
JavaScript Jungle
.Toggle Problem
Waffle
Permalink to comment
#
May 2011
Hey
$(document).ready(function(){
$("button").click(function(){
$(".Form").slideToggle();
});
});
Just a simple problem, I hope someone can quickly solve it.
How do I make it so the .Form is already toggled up. and not showing because it seems that its showing when I open the Page, I want the button to slide it down and reveal it.
Any help?
thanks in advance
Add a Comment
Just a simple problem, I hope someone can quickly solve it.
How do I make it so the .Form is already toggled up. and not showing because it seems that its showing when I open the Page, I want the button to slide it down and reveal it.
Any help?
thanks in advance