I have a master page which has a 3-column table. The left column contains a number of hyperlinks which acts as a menu for navigating the site. I'd like to effectively have the hyperlink functionality auto-hid, much like the toolbox, solution explorer,
etc. can be auto-hid in Visual Studio.
im1dermike
Member
45 Points
377 Posts
Auto hide window/menu
Nov 13, 2008 02:49 PM|LINK
I have a master page which has a 3-column table. The left column contains a number of hyperlinks which acts as a menu for navigating the site. I'd like to effectively have the hyperlink functionality auto-hid, much like the toolbox, solution explorer, etc. can be auto-hid in Visual Studio.
Is there a way to do this? Thanks in advance.
auto hide
A1ien51
All-Star
29935 Points
5821 Posts
Re: Auto hide window/menu
Nov 13, 2008 03:06 PM|LINK
To hide:
document.getElementById("someElementId").style.display = "none";
To Show:
document.getElementById("someElementId").style.display = "";
Specify the element you want to hide, and call the line with onclick of a button, checkbox, etc.
Now if you want to be able to drag it to resize, you would need to look into panels.
Eric
im1dermike
Member
45 Points
377 Posts
Re: Auto hide window/menu
Nov 13, 2008 03:33 PM|LINK
Lance Zhang ...
All-Star
33091 Points
2361 Posts
Re: Auto hide window/menu
Nov 18, 2008 08:08 AM|LINK
Hi im1dermike
You can also try the AJAX Control Toolkit.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Default.aspx
These controls are easy to create the effect.
Thanks.