473,563 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp:menu transparent submenu? and size of parent menus?

Hi.

I have a menu horizontal on the top.

I figured out that if I set this property the black arrow on parent
items goes away..

StaticEnableDef aultPopOutImage ="False"

However, the item is still wider than other items accross than items
with no submenus.

1. Any way to set the width of a specific menu parent item?

Also, when I select my parent item, sub items drop down as expected,
but their backgrounds cut into a header image i have. I see a
transparent color background properties, but I only want to set it for
sub items while they are not selected.

2. Any way to set the submenu items to transparent background while
the parent is selected? Any way to set backgrounds to color and semi
transparent?
Here's my code:

<asp:Menu ID="Menu" CssClass="Menu" runat="server" Font-
Names="Helvetic a" Font-Size="Small"
Orientation="Ho rizontal"
StaticSubMenuIn dent="0" StaticDisplayLe vels="1"
DisappearAfter= "500"
StaticEnableDef aultPopOutImage ="False" >
<StaticMenuItem Style BackColor="Whit e"
ForeColor="#949 494" />
<StaticHoverSty le BackColor="Alic eBlue"
ForeColor="Stee lBlue" />
<DynamicHoverSt yle BackColor="Alic eBlue"
ForeColor="Stee lBlue" />
<Items>
<asp:MenuItem Text="Products"
ToolTip="Produc ts" Value="Products " >
<asp:MenuItem NavigateUrl="_" Text="y"
ToolTip="y" Value="y"></asp:MenuItem>
<asp:MenuItem Text="x" ToolTip="x"
Value="x" NavigateUrl="~/Security/apps.aspx">
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Reports" ToolTip="Report s"
Value="Reports" ></asp:MenuItem>
<asp:MenuItem Text="Logout" ToolTip="Logout "
Value="Logout"> </asp:MenuItem>
<asp:MenuItem Text="Admin" Value="Tools"></
asp:MenuItem>
<asp:MenuItem Text="Help" Value="Help"
ToolTip="Help"> </asp:MenuItem>
</Items>
</asp:Menu>


Thanks in advance for any help or information.

Jun 23 '07 #1
0 2079

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

Similar topics

2
1571
by: Uriah | last post by:
I have a sort of critical problem that is driving users nuts. My site works fine when running over HTTP but when I switch to HTTPS, an error is generated every time a user mouses over one of the drop down menus. The error is 'This page contains both secure and nonsecure items. Do you want to display the nonsecure items?' and it is driving...
7
2416
by: tfsmag | last post by:
Has anyone had a problem with putting a menu control into a master page in .net 2.0? I have a problem where if i just drop a menu control on a regular page the menu works fine, the submenus work perfect. But if I put that exact same code inside a master page, when i go to view one of the files that use that master page, all of the submenus are...
5
2242
by: seo | last post by:
Hi everyone, I'm getting an graphical error when using the asp:menu control. Check out this screenshot: http://www.connexion.at/downloads/asp-menu.gif The page uses doctype xhtml 1.0 transitional. IE produces some white space to the right of the drop down menus. Firefox doesn't. How can I avoid that?
0
1349
by: chris.mcinnes | last post by:
G'day, I'm trying to implement a graphical horizontal Menu-bar feeding off a SiteMapDataSource with some top-level menu-items and a couple of sub-menus. I've managed to get the menu bar working, but noticed that the top-level items were spaced generously. Once the menu renders on the screen I find all these "margin-left=16px"
0
974
by: amirl | last post by:
Im tring to expand items in ASP:MENU from right to left what should I do in order to have submenu expanded to the left ?
2
9532
by: Kevin L. Kitchens | last post by:
Howdy... Been toying the the asp:menu object in order to dump the manually generated menu I've been using, however, I cannot seem to get the coloring to work properly. First off, what CSS tags should I be setting for how the menu is eventually rendered? spans? tables? td? div? In the example below I resorted to using inline coloring...
1
2057
by: eps | last post by:
Has anyone have any experience of doing this ? I want a small menu on each row with a few options, I have tried it and it seems to work great at first but after clicking on a menu item and handling that event you get some weird display artifacts, when you hover your mouse over them all the menus on the page in each row of the gridview are...
4
1150
by: =?Utf-8?B?S2F0b3Nhbg==?= | last post by:
Hi, I have a frameset with 2 horizontal frames. In the upper one, there is a asp:menu. His is only one line hight. The other frame take all the rest of the screen. It is the target frame. If I choose a item on the menu, I want that the submenu items appear on the other frame. Is it possible ?
0
4142
by: Mark B | last post by:
I have an asp:Menu control in vertical drop-down mode, a portion as displayed: Can anyone tell me how to get Community correctly aligned with Support? Also how do I put a bit of a gap between Community and its gray border? I have the following CSS which I purchased as part of a theme from www.aspthemes.net ...) /*-- ASP Menu --*/
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.