CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 11/22/2007 11:31:40 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 76 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
NickKA
Asp.Net User
Menu not showing correctly11/22/2007 11:31:40 PM

0/0

I am using a menu control in my master page. When I hover offer the top level menu, it will drop down. It does not, however, drop down all the way and display over what is below it. I will include the html for the menu control and the CSS file. I did check that the menu has a z-index greater than what is being displayed below the menu.

Any ideas on how to correct this?

Here is the menu control:

<asp:Menu ID="Menu2" runat="server" DataSourceID="SiteMapDataSource" DynamicHorizontalOffset="-3" DynamicVerticalOffset="10" StaticEnableDefaultPopOutImage="false" DynamicEnableDefaultPopOutImage="false" Orientation="horizontal">

<StaticMenuItemStyle CssClass="nav" ItemSpacing="0px" />

<StaticSelectedStyle CssClass="nav_selected" />

<DynamicMenuStyle CssClass="sublevelwrapper" />

<DynamicMenuItemStyle CssClass="sublevel" Width="200px" />

<DynamicSelectedStyle CssClass="sublevel_selected" />

</asp:Menu>

Here is the CSS:

/* navigation */

table.nav td

{

border-right: solid 1px #999999;

padding-right: 10px;

padding-left: 10px;

}

a.nav, a.nav:link, a.nav:active, a.nav:visited, a.nav:hover

{

display: block;

height: 100%;

width: 100%;

color:#CDCACA;

}

a.nav:hover

{

color: #FFFFFF;

}

a.nav_selected, a.nav_selected:link, a.nav_selected:active, a.nav_selected:visited, a.nav_selected:hover

{

font-weight: bold;

color: #FFFFFF;

}

div.sublevelwrapper

{

border-right: solid 1px #000000;

border-left: solid 1px #000000;

border-bottom: solid 1px #000000;

background-color:Blue;

z-index:400;

 

}

a.sublevel, a.sublevel:link, a.sublevel:active, a.sublevel:visited, a.sublevel:hover

{

padding: 3px;

display: block;

height: 10px;

width: 100%;

color: #CDCACA;

z-index:500;

overflow:visible;

}

a.sublevel:hover

{

color: #FFFFFF;

z-index:500;

overflow:visible;

}

a.sublevel_selected, a.sublevel_selected:link, a.sublevel_selected:active, a.sublevel_selected:visited, a.sublevel_selected:hover

{

font-weight: bold;

color: #FFFFFF;

z-index:500;

overflow:visible;

}

/* end navigation */

ganesansankar
Asp.Net User
Re: Menu not showing correctly11/23/2007 8:23:20 AM

0/0

Hi,

<asp:Menu ID="Menu1" CssClass="Menu" runat="server"  StaticSubMenuIndent="" Orientation="horizontal"
    StaticEnableDefaultPopOutImage="False" StaticBottomSeparatorImageUrl="~/Graphics/Icons/btn_menuDown.gif" >
    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="3px" CssClass="Menu" />
    <DynamicHoverStyle CssClass="SubMenuHoverColor" />
    <DynamicMenuItemStyle BorderColor="Black" BorderWidth="1px" CssClass="SubMenuContent" HorizontalPadding="1px" VerticalPadding="3px"  />
    <Items>
    <asp:MenuItem Selectable="False"  Text="Admin" Value="Admin">
        <asp:MenuItem Text="User" Value="User ">
            <asp:MenuItem NavigateUrl="~/User Management/frmUserProfileView.aspx" Text="User Profile" Value="User Profile"></asp:MenuItem>
            <asp:MenuItem NavigateUrl="~/User Management/frmRoleGrid.aspx" Text="User Role" Value="User Role"></asp:MenuItem>
            <asp:MenuItem NavigateUrl="~/User Management/frmUserGroup.aspx?Mode=New" Text="User Group" Value="User Group">
            </asp:MenuItem>
        </asp:MenuItem>
   
    </Items>
    </asp:Menu>

Try this code with you application.I hope it'll help you

Along with that check this links also.

http://msdn2.microsoft.com/en-us/library/ecs0x9w5(vs.80).aspx 

http://msdn2.microsoft.com/en-us/library/Aa478963.aspx 

 


Regards
Ganesan S
"Hard Work Never Fails"

Please "Mark as Answered" if helpful for you.
ganesansankar
Asp.Net User
Re: Menu not showing correctly11/23/2007 8:27:36 AM

0/0

Hi,

If you have any other idea about using CSS menu then visit this link.

It's very good and useful.

http://css.maxdesign.com.au/listamatic/vertical01.htm 

You should visit all the below things.

 


Regards
Ganesan S
"Hard Work Never Fails"

Please "Mark as Answered" if helpful for you.
NickKA
Asp.Net User
Re: Menu not showing correctly11/23/2007 1:00:38 PM

0/0

Your providing me with links about menu design but not an answer to my problem. My menu works but only fails when I add too many menu items and the drop down somehow interfers with the html below. It it like the html below would have a higher z-index and the menu would not display over it. That is not the case, the menu has a higher z-index and it still does not display over the html below.

Amanda Wang - M
Asp.Net User
Re: Menu not showing correctly11/26/2007 6:19:01 AM

0/0

Hi,

NickKA:
It does not, however, drop down all the way and display over what is below it.

Test the code that you provided, we can see the cause of the probelm is the height of the  cssclass sublevel

NickKA:
a.sublevel, a.sublevel:link, a.sublevel:active, a.sublevel:visited, a.sublevel:hover

{

padding: 3px;

display: block;

height: 10px;

width: 100%;

color: #CDCACA;

z-index:500;

overflow:visible;

}

You can try to set it larger, for example 15px.  like this:

NickKA:

height: 15px;

width: 100%;

 

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Ford Shop Manual: Models 5640, 6640, 7740, 7840, 8240, 8340 Authors: Intertec, I & T Shop Service, Pages: 280, Published: 1995
Human Centred Computing: Cognitive, Social and Ergonomic Aspects Authors: Don Harris, Pages: 1478, Published: 2003
Upgrading and Repairing PCs Authors: Scott Mueller, Pages: 1575, Published: 2003
Microsoft Office Specialist Excel 2003: Study Guide Authors: Linda F. Johnson, Pages: 474, Published: 2006
The Psychology of Menu Selection: Designing Cognitive Control Ot the Human/computer Interface Authors: Kent L. Norman, Pages: 350, Published: 1991
Principles of Food, Beverage, and Labor Cost Controls Authors: Paul R. Dittmer, J. Desmond Keefe, J. Desmond Keefe, III, Pages: 656, Published: 2005
The Musician's Guide to Pro Tools Authors: John Keane, Pages: 417, Published: 2004
Professional Cooking Authors: Wayne Gisslen, Pages: 1056, Published: 2006
Survey automation: report and workshop proceedings: Report and Workshop Proceedings Authors: National Academies Press, Pages: 260, Published: 2003
Ten Steps to Complex Learning: A Systematic Approach to Four-component Instructional Design Authors: Jeroen J. G. van Merriënboer, Paul Arthur Kirschner, Pages: 306, Published: 2007

Web:
Menu not showing correctly in Firefox Re: Menu not showing correctly in Firefox. Poster: John Dated: Wednesday April 2 2008 - 16:42:49 UTC Before you do what Ruth has suggested ...
Milonic • View topic - Menu not showing correctly in Firefox Re: Menu not showing correctly in Firefox. Post by Ruth » Wed Apr 02, 2008 4:38 pm. Hi, For your layout you would be better positioning the menu relatively ...
CSS horizontal drop down menu not showing correctly in IE : CSS ... Hello, I am trying to do a pure CSS menu and am having issues - especially with IE. The code I borrowed from displays correctly in IE but mine doesn't.
Creative Menus for Dreamweaver » Menu not showing correctly and ... Creative Menus for DreamweaverMenu not showing correctly and submenu disappears under other flash.
Top menu is not showing correctly on Internet Explorer | McJiffy When going to the website using Internet Explorer, the top menu is not showing correctly and actually covers the search feature. Also, the last button has ...
Menu in sidebar not showing correctly using FF3 | drupal.org The menu items in the list in my sidebar is not displaying properly. The bullet in the dhtml activated menu is not aligned with the text. ...
Spry menu bar not showing correctly on Firefox? - WebDeveloper.com Spry menu bar not showing correctly on Firefox? HTML. ... Anyone having issues with Spry menu bars not showing properly in Firefox? ...
CSSFriendly Menu with more than three level is not showing ... CSSFriendly Menu with more than three level is not showing correctly. Last post 08-23-2008 5:03 AM by suryawang. 6 replies. Sort Posts: ...
Horizontal Menu showing correctly in IE8/Firefox but not IE7 Horizontal Menu showing correctly in IE8/Firefox but not IE7 (from CSS) ... It will perform correctly in Firefox and IE 8, but when I view ...
Custom Dropdown menu's not showing values in 5.0 - SugarCRM Forums Reload this Page Custom Dropdown menu's not showing values in 5.0 ... Any Custom Dropdown field I create in 5.0 is not showing correctly in the module page. ...

Videos:
Guitar Hero II FC 100% 5-Star Glitch (Xbox 360) Guitar Hero II FC 100% 5-Star Glitch (Xbox 360) --- 1. go to TRAINING - PRACTICE 2. choose ANY song 3. LEAD 4. choose ANY difficulty 5 ...
Remote Play on the psp with Sixaxis controller (may not work ... READ HERE Please, and leave a comment :) and rate it, am i asking to much? THIS DOES NOT REQUIRE Custom Firmware You can use the Sixaxis on ...
How to make "Start Menu" menus to open real fast!!! Windows ... High Quality: http://www.youtube.com/watch?v=8dzOLaCJHPE&fmt=18 How to make "Start Menu" menus to open real fast!!! It is a Windows XP tweak ...
Tenchu: Stealth Assassins - Showy Shinobi (Tricky Stealth Kills) This video is a "Tenchu: Stealth Assassins" video showing a compilation of stylish stealth kills. The music in a track entitled "Oriental ...
Get Anything for Free Go here http://www.rewards1.com/index.php?referrer_id=19810 or go here http://rewards-freeprize.blogspot.com Hey guys! I'm going to show you ...
NES - 6 Modifications For A Better Castlevania II 6 Modifications For A Better Castlevania II Set I - Added Skills Set Mod 1: Oak Stake can be used as a weapon The Oak Stake can be used ...
How to get free microsoft points http://www.rewards1.com/index.php?referrer_id=53295 Hey guys! I'm going to show you how I got 1600 XBox 360 Live Points emailed to me completely ...
Final Fantasy V-2 Tech Demo Teaser Some people liked the look of my last video of this project, so I have decided to continue it. Here is a tech demo, testing No Encounters while on ...
How to make a Pandora Memory Stick on Fat and Slim Psp-NOOB ... *Download Both links Below: Total Newbi Easy Installer http://www.megaupload.com/?d=8DRF7QEM UNIUNBR File for BOTH Psps http://www ...
Installing Ubuntu with Windows Dual-Boot This screencast shows how to install Ubuntu on a system that already has Windows installed.




Search This Site:










validation per button???

issecureconnection problem

does asp.net 2.0 work with sql server 2000?

how do you raise a user control event with inline code???

how to make a default template in every new page in c#

help with custom user class and login form (easy one, please help)

adding textbox entry & dropdown list selection to sql database

web matrix win os?

meaning of i*net

*.nrg files not downloading from www server, but do from dev computer

no data

which one? dataset or others?

active server pages error 'asp 0221'

adding dynamic linkbuttons...

code of .aspx file....

display to x decimal points, no trim?

split page title

help skmmenu

how to add a new page to the folder in project which is under source safe

asynchronous call

httpwebrequest and javascript

enable an dropdownlist

c# architect

missing variable

how to print from asp.net at client machine

can't get the text to fit the column

urgent - app settings not used ie in macs

page is causing system to lockup

remoting client activated

sending email that looks like a webpage client's inbox

  Privacy | Contact Us
All Times Are GMT