473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Dynamic Menus

tma
How does one accomplish "dynamic" menus? For example, I have three items
(labels?) on top of each other down the left of my screen. I do not want
item 2 to show up in the list unless the user is logged in. In addition, I
only want the users to see items 1 & 3, making item 2 essentially invisible
and leaving no blank space. Is this possible?

Nov 18 '05 #1
2 978
Just set

label2.Visible=false;

Search MSDN for Positioning and Visibility and you can learn the client side
technologies for implementing dynamic elements or to make it really easy,
check out www.skmMenu.com.

Dale
"tma" <tm*@allisconfusing.net> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
How does one accomplish "dynamic" menus? For example, I have three items
(labels?) on top of each other down the left of my screen. I do not want
item 2 to show up in the list unless the user is logged in. In addition, I
only want the users to see items 1 & 3, making item 2 essentially invisible and leaving no blank space. Is this possible?

Nov 18 '05 #2
HTML
<div id="_div" style="DISPLAY: none; VISIBILITY: hidden" runat="server">
<a href="xyz.htm">xyz</a>
</div>

C#
protected System.Web.UI.HtmlControls.HtmlGenericControl _div;
_div.Style["visibility"] = "visible";
_div.Style["display"] = "block";

Bobby Ryzhy
bobby@ domain below
http://weekendtech.net
On Thu, 15 Jul 2004 18:11:10 -0500, "tma" <tm*@allisconfusing.net> wrote:
How does one accomplish "dynamic" menus? For example, I have three items
(labels?) on top of each other down the left of my screen. I do not want
item 2 to show up in the list unless the user is logged in. In addition, I
only want the users to see items 1 & 3, making item 2 essentially invisible
and leaving no blank space. Is this possible?


Bobby Ryzhy
bobby @ domain below
http://weekendtech.net
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Colvin | last post by:
I'm trying to create a pair of dynamic drop-down menus. I'm new to Javascript, so I tried to find a simple example on the web. I found a good example at...
3
by: Eddie de Bear | last post by:
Hi, A project I am working on has a requirement for dynamic menus. For the most part this works really well. The menus I'm creating a based on files and directories, so naturally the menu...
0
by: JMMB | last post by:
Just couldn't find any article in MSDN about dynamic menus. I know i can create menus dynamically in run time using the information from a database combined with System.Refletion, but didn't find...
3
by: Stan Smith | last post by:
Is there a way to create dynamic menus and create dynamic events associated with those menus? I would like to create a menu system based on the contents of a text file. When the menu item is...
2
by: rpeterson84 | last post by:
Hello: I was hoping to gain some insight, a point in the right direction if you will... We use an .asp web page to select from a couple of dynamic drop down menus then enter a number, and press...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.