Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
menu on and off
Pranav Sharma
Ranch Hand
Posts: 261
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi i was looking at a vertical menu bar. its actually a tree. but wat i want to do is have an option of hide/unhide.
I dont want to use frames. what would be the best way to do this.
im making the tree from a pre made javascript.
can someone tell me the best way to do this
Kerry Wilson
Ranch Hand
Posts: 254
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you want to hide the whole thing put it into a div tag and set style.visibility property to 'visible' or 'hidden'
http://www.goodercode.com
SCJP 1.4
Pranav Sharma
Ranch Hand
Posts: 261
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
what i want is to not only to hide it but also use the space.
How would i do this
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
use
document.getElementById("yourMenu").style.display = "block";
hide it with "none"
Eric
It's never done THAT before. Explain it to me tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
disable popup menu of JOptionPane
Cancelling events
JTree help
TREE menu
How to read the Monitor Resolution?
More...