![]() |
Need help with Javascript/jQuery |
Re: Need help with Javascript/jQuery First I would recommend coding up the HTML of what you require with proper Classes and IDs so you can target the elements with Javascript. Basically for your first case you would set the hidden div to display:none; Lets say your hidden div has a class of .hidden and your button has a class of .button. Your code will be something like this:- Code: $(function(){ |
Re: Need help with Javascript/jQuery Dude that's a comment in my code explaining what I am doing with that line. The code is complete ;) I'm not telling you to do anything extra. Perhaps you can link me to the live site and I will put your elements into the code above :). |
Re: Need help with Javascript/jQuery Yeah you will need to include the jQuery library. |
| All times are GMT -6. The time now is 11:22 AM. |