Vizard-Coder
07-29-2010, 05:27 AM
Hello,
I have a div called pageWrap to wrap my page with the css as
margin-top:-46px;
I would like to use Javascript onClick on another div.
This Div is called loginButton, the onclick should change the the css of pageWrap to 0px and onclick again should change it back.
If someone could help me with this code, it would be greatly appreciated
Thanks in advance! :)
I have a div called pageWrap to wrap my page with the css as
margin-top:-46px;
I would like to use Javascript onClick on another div.
This Div is called loginButton, the onclick should change the the css of pageWrap to 0px and onclick again should change it back.
If someone could help me with this code, it would be greatly appreciated
Thanks in advance! :)