carl allan Posted October 26, 2005 Share Posted October 26, 2005 Hi, i have a standard menu bar. I want it to collapse whenever i click at the primary button. I have tried using some scripts that can be downloaded via the web but the table design, in turn, was ruined. My boss said that i should use DOM on it. (eq. hide and unhide the table) Is this possible? Help me please. Link to comment Share on other sites More sharing options...
actionsketch Posted October 26, 2005 Share Posted October 26, 2005 <tag onclick="document.getElementById('table').style.visibility='hidden'"> Link to comment Share on other sites More sharing options...
MadPotato Posted October 27, 2005 Share Posted October 27, 2005 ...and with some more CSS you can make a drop down. To make it dont take space int the page, and get the position you want, use something like:position: absolute;left: 20;top: 20; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now