473,467 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Create 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..

StaticEnableDefaultPopOutImage="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="Helvetica" Font-Size="Small"
Orientation="Horizontal"
StaticSubMenuIndent="0" StaticDisplayLevels="1"
DisappearAfter="500"
StaticEnableDefaultPopOutImage="False" >
<StaticMenuItemStyle BackColor="White"
ForeColor="#949494" />
<StaticHoverStyle BackColor="AliceBlue"
ForeColor="SteelBlue" />
<DynamicHoverStyle BackColor="AliceBlue"
ForeColor="SteelBlue" />
<Items>
<asp:MenuItem Text="Products"
ToolTip="Products" 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="Reports"
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 2069

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

Similar topics

2
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...
7
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...
5
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...
0
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...
0
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
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...
1
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...
4
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...
0
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.