CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/27/2008 3:01:00 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
sunny74
Asp.Net User
extending pure css layout for menus beyond 2nd level1/27/2008 3:01:00 PM

0/0

Dear All,

I am using the pure CSS layout for designing web pages which includes menu control.

I tried to use the CSSFriendly adapters to design the menus but it had various limitations like StaticDisplayLevel cannot be greater than 1,MaxDynamicDisplay level is not being adhered to.

Therefore I switched to pure css layout using which not only do I get excellent page design but  can also have the menus designed as per my wish.

I am using the corporate design template given in the link

http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx

as a guide in my design efforts.

If you look at the css file of this template you will find that it supports menu design till the second level but my menus extend till the 5th level.

My web sitemap field looks like this:

<siteMapNode url="~/home.aspx" title="Home" description="HOME">

<siteMapNode title="Clinical Section" description="Clinical Section" >

<siteMapNode url="~/ClinicalSection/submenu1.aspx" title="Submenu1" description="Submenu1" >

<siteMapNode url="" title="Submenuoption1" description="Submenuoption1" >

<siteMapNode url="~/ClinicalSection/subsubmenuoption1.aspx" title="SubSubmenuoption1" description="SubSubmenuoption1" />

<siteMapNode url="~/ClinicalSection/subsubmenuoption2.aspx" title="SubSubmenuoption2" description="SubSubmenuoption2" />

<siteMapNode url="~/ClinicalSection/subsubmenuoption3.aspx" title="SubSubmenuoption3" description="SubSubmenuoption3" />

<siteMapNode url="~/ClinicalSection/subsubmenuoption4.aspx" title="SubSubmenuoption4" description="SubSubmenuoption4" />

</siteMapNode>

<siteMapNode url="~/ClinicalSection/submenuoption2.aspx" title="Submenuoption2" description="Submenuoption1" >

</siteMapNode>

 

</siteMapNode>

<siteMapNode url="~/ClinicalSection/submenu2.aspx" title="Submenu2" description="Submenu2" >

</siteMapNode>

<siteMapNode url="~/ClinicalSection/submenu3.aspx" title="Submenu3" description="Submenu3" >

</siteMapNode>

<siteMapNode url="~/ClinicalSection/submenu4.aspx" title="Submenu4" description="Submenu4" >

</siteMapNode>

</siteMapNode>

<siteMapNode title="Administration" description="Administration" >

<siteMapNode url="~/administration/submenu1.aspx" title="Submenu1" description="Submenu1" >

<siteMapNode url="~/administration/submenuoption1.aspx" title="Submenuoption1" description="Submenuoption1" >

<siteMapNode url="~/administration/subsubmenuoption1.aspx" title="SubSubmenuoption1" description="SubSubmenuoption1" />

<siteMapNode url="~/administration/subsubmenuoption2.aspx" title="SubSubmenuoption2" description="SubSubmenuoption2" />

<siteMapNode url="~/administration/subsubmenuoption3.aspx" title="SubSubmenuoption3" description="SubSubmenuoption3" />

<siteMapNode url="~/administration/subsubmenuoption4.aspx" title="SubSubmenuoption4" description="SubSubmenuoption4" />

</siteMapNode>

</siteMapNode>

<siteMapNode url="~/administration/submenu2.aspx" title="Submenu2" description="Submenu2" >

</siteMapNode>

<siteMapNode url="~/administration/submenu3.aspx" title="Submenu3" description="Submenu3" >

</siteMapNode>

<siteMapNode url="~/administration/submenu4.aspx" title="Submenu4" description="Submenu4" >

</siteMapNode>

</siteMapNode>

<siteMapNode title="MIS" description="MIS HOME" >

<siteMapNode url="~/mis/submenu1.aspx" title="Submenu1" description="Submenu1" >

</siteMapNode>

<siteMapNode url="~/mis/submenu2.aspx" title="Submenu2" description="Submenu2" >

</siteMapNode>

<siteMapNode url="~/mis/submenu3.aspx" title="Submenu3" description="Submenu3" >

</siteMapNode>

<siteMapNode url="~/mis/submenu4.aspx" title="Submenu4" description="Submenu4" >

</siteMapNode>

</siteMapNode>

<siteMapNode title="Housekeeping" description="Housekeeping" >

<siteMapNode url="~/housekeeping/submenu1.aspx" title="Submenu1" description="Submenu1" >

</siteMapNode>

<siteMapNode url="~/housekeeping/submenu2.aspx" title="Submenu2" description="Submenu2" >

</siteMapNode>

<siteMapNode url="~/housekeeping/submenu3.aspx" title="Submenu3" description="Submenu3" >

</siteMapNode>

<siteMapNode url="~/housekeepings/submenu4.aspx" title="Submenu4" description="Submenu4" >

</siteMapNode>

</siteMapNode>

</siteMapNode>

 

How can I extend the css relating to the menus till the 5th level?

The code within the  #mainnav relates to the menus.

Pls provide the necessary css code.While providing the code pls give explanation for each level wthin comments.

Your help will be highly appreciated.

Thanks.

Adam.Kahtava
Asp.Net User
Re: extending pure css layout for menus beyond 2nd level1/28/2008 6:27:31 PM

0/0

sunny74,

You may want to consider including the StyleSheets associated with this menu layout, or an active link to your site. Speaking for myself, I don't have time to download and install a theme, then sift through the files looking for this StyleSheet.

Another consideration: menus that exceed 3 levels deep degrade your site's usability.
 


-Adam Kahtava [http://adam.kahtava.com]
Amanda Wang - M
Asp.Net User
Re: extending pure css layout for menus beyond 2nd level1/29/2008 5:59:03 AM

0/0

Hi 

sunny74:
If you look at the css file of this template you will find that it supports menu design till the second level but my menus extend till the 5th level.

Do you set the StaticDisplayLevels of the menu's property is 5?

If there are 5 levels in the sitmap file, if you want menu extend to 5th level like the msdn link that your posted, you should set StaticDisplayLevels is 5.

For example:

<asp:Menu ID="mainMenu" SkinID="mainMenu" DataSourceID="mainnavSitemap" Orientation="Horizontal" runat="server"
        StaticDisplayLevels="5" MaximumDynamicDisplayLevels="0" StaticSubMenuIndent="0" /> 

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
sunny74
Asp.Net User
Re: extending pure css layout for menus beyond 2nd level1/29/2008 11:06:23 AM

0/0

Hi Amanda,

I am showing the 5 levels of menu using 2 menu controls, one at the top and one on the left side.

Now the top one displays menus till level 3 and rest 2 levels by the menu control on the left side.

Both the menu control have one level of dynamic menus. So I wanted to know, how to display the dynamic level using css. As I told you the first 2 levels of the top menu is static and I know how to add css to it(from the design template link).

Anyhow I solved the problem myself. Thanks for taking interest.

I have a different question for you.

What is the word MSFT that you write beside your name?

How does one become a MSFT?

I will be glad if you answer my questions.

Thanks once again.

Amanda Wang - M
Asp.Net User
Re: extending pure css layout for menus beyond 2nd level1/30/2008 6:07:00 AM

0/0

Hi

sunny74:
What is the word MSFT that you write beside your name?

MSFT is the designation used by Microsoft Employees on these forums.

You can refer this thread: http://forums.asp.net/t/1126847.aspx

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:


Web:
extending pure css layout for menus beyond 2nd level - ASP.NET Forums extending pure css layout for menus beyond 2nd level. Last post 01-30-2008 1:07 AM by Amanda Wang - MSFT. 4 replies. Sort Posts: ...
extending css for menus beyond second level - SitePoint Forums extending css for menus beyond second level Web Page Design. ... I am using the pure CSS layout for designing web pages which includes menu ...
CSS-based Dropdown Check my latest article about pure CSS drop down menus for a better solution. Figure A ... so we set a background color for the second level LIs instead, ...
InformIT: Creating a Pure CSS Template in Joomla! > Using CSS to ... Jan 25, 2008 ... We will be using pure CSS to make a 3-column layout for the ..... One of the other advantages of using CSS for menus is that there is a lot ...
Design Blog » Creating and Customizing Vertical Spry Menu Bars in ... anyone experience a left offset, when working with 2nd level submenu, ... Just a note, there’s a new pure CSS menus Dreamweaver extension called CSS Menu ...
Powell's Books - Joomla! a User's Guide: Building a Successful ... Chapter 9: Creating a Pure CSS Template 239. What Is a Joomla! Template? 240 ... Extending a Blog Website Beyond the Basics 397. Forums 398. Ecommerce 398 ...
How To: Simplicity Drop Down Menus with Extended Menu Suckerfish CSS Also, all the Menu Templates support multi level drop downs, not just one level ... Extended menu helps you achieve pure CSS driven menus by ...
Juicy Studio: ECMAScript Menu System Because it's barebones in the HTML , I can use pure CSS to style it. ... When selecting a second level list, it collapses everything. ...
mezzoblue § MOSe Menus Oct 27, 2003 ... With a strong nod to Eric Meyer’s Pure CSS Menus, ..... This will not fix the problem of text extending beyond the bounds of the pop-up menu ...
Book Detail: Joomla Users Guide - Bookware - Australia's Computer ... Chapter 9: Creating a Pure CSS Template 239. What Is a Joomla! Template? 240 ... Extending the School Website Beyond the Basics 336. Summary 337 ...




Search This Site:










reddick and intellisence

how to find the node use node id

adding an onclick event in a .vb class

sharpziplib error dru\\uring module installs

repeater adapter?

start action not retained between loadings of vs2005 sp1

dnn support

event not found on user control

unable to cast object of type 'profilecommon' to type 'profilecommon' with custom profileprovider

createuserwizard and username max length

module to module navigation in dnn 2.1.2

createuserwizard title text

authentication and authorization from database

question 1 - why is my edit, delete template missing?

wanted: codesmith templates for generating import/export code

web.config file with configuration block

context menu in datagrid

asking for an idea: how to check if the client is online

looking for alternative way to upload modules to portal

public website security using adam

intellisense in vs 2008

reg treeview node selection

replace config section groups - please!

vs2005 - cannot access public class?

webmail 2.2 and child portals

i need help regarding inheritence

problem using master page in subfolders

exclude subfolder from processing by dnn

having single login within applications in asp.net

can't download from file manager

 
All Times Are GMT