CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/23/2005 4:29:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 57 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
JoBean
Asp.Net User
Hide "Home" link in the Menu12/23/2005 4:29:06 PM

0/0

I have a web.sitemap file I'm using for a breadcrumb, a sitemap page (tree view control), and now I'm using it for a menu.

I have all the site pages in the sitemap xml file but I do not want all of them to appear in the menu. It makes sense that they are included in the breadcrumb and the sitemap, but we do not want every single page in the site to be in the menu.

The big issue is the "home" link - it's the top level siteMapNode in my xml file. I use the banner image as a hyperlink back to the home page, and the menu has so many sections, we do not want "home" to be in the menu itself.

How can I hide the top level link ("home") when the menu loads, so just the sites sections appear in the menu?

JoBean
Asp.Net User
Re: Hide "Home" link in the Menu12/23/2005 5:14:20 PM

0/0

The two key parts are in green below:

<asp:SiteMapDataSource ID="SiteMapDataSource1" ShowStartingNode="false" runat="server" />

<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal" StaticDisplayLevels="1">

</asp:Menu>

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Dreamweaver 8: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 936, Published: 2006
Dreamweaver MX 2004: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 836, Published: 2004
Dynamic HTML: The Definitive Reference Authors: Danny Goodman, Safari Tech Books Online, Pages: 1401, Published: 2002
Beginning Joomla!: From Novice to Professional Authors: Dan Rahmel, Pages: 475, Published: 2007
Dreamweaver CS3: The Missing Manual Authors: David Sawyer McFarland, Pages: 995, Published: 2007
Excel 2007: Beyond the Manual Authors: Helen Dixon, Pages: 417, Published: 2007
The Complete Pro Tools Handbook: Pro Tools/HD, Pro Tools/24 Mix, Pro Tools LE for Home, Project, and Professional Studios Authors: José Valenzuela, Jose Chilitos Valenzuela, Pages: 516, Published: 2003
Macromedia Dreamweaver MX 2004 for Windows and Macintosh: Visual QuickStart Guide Authors: J. Tarin Towers, Pages: 736, Published: 2004
Macromedia Dreamweaver 8: Training from the Source Authors: Khristine Annwn Page, Pages: 590, Published: 2006
PHP Web Development with Macromedia Dreamweaver MX 2004 Authors: Allan Kent, David Powers, Rachel Andrew, Pages: 531, Published: 2004

Web:
Hide "Home" link in the Menu - ASP.NET Forums How can I hide the top level link ("home") when the menu loads, so just the sites sections appear in the menu? ...
San Francisco State University ... Other Study Options; Costs + Financial Aid. hide Get to Know links; Link Menu top ... Campus Life top. Show all links Hide all links. SF State Home ...
SugarCRM Forums - hide tabs but show module link in shortcut Menu? What I said Shortcuts means the menu.php in the leftside of a listview. but under the home tabs. E.g I want to hide the tab of the module ...
Navy.mil the Official Web Site of the United States Navy Hide About the Navy Menu. Navy Leadership: ... Hide Navy Leadership Menu. Media Resources: ... Hide Media Resources Menu. Links of Interest: ...
Home link on dynamic menu - Radiant CMS: Dev | Google Groups Hide quoted text -. - Show quoted text -. > On Sep 22, 11:51 pm, ... Subject: Re : [Radiant-Dev] Re: Home link on dynamic menu ...
Joomla! • View topic - Hide home menu item If I hide my main menu Home item I get the message below on my homepage ... show the Home link but I dont want to as the site is only accessable to members. ...
Hide Links Folder on Favorites Menu at Registry Guide for Windows Hide Links Folder on Favorites Menu (All Windows) Popular. Internet Explorer persistently creates a Links folder on the Favorites menu, this tweak allows ...
Hoverbox Menu | Design Meme May 23, 2006 ... #menu li { float:left; }. We’ll hide the span inside the link from displaying in ... background-position:center bottom; } #menu li#home a, ...
Documentation And How To :: Icy Phoenix 1.2.0.27c Add Extra Link ... Oct 24, 2008 ... Icy Phoenix 1.2.0.27c Add Extra Link To Top Menu To Another Site ( Home ... Spoiler: [ Hide ]. Put Name ...
Module: change home link ... help ! [Support Forums - Module usage ... The link in the menu "smartsection" refer directly to the home page of the of ... your own menu or you can hide smartsection from main menu and add link by ...

Videos:
Fight Club-drawn on ms paint Every one please show ur mates and leave comments, i want some advice, critisism, jst tell me wut u thot this is an amazing video fo me drawing a fi...




Search This Site:










hi everyone,

add contentholder automatically to the content page

asp.net 2.0 menu cross-browser issue

finding a treenode with getelementbyid

registerhiddenfield within master page

findcontrol with master, user control, datalist, footer

links to inc/decrease font size?

allowing unique <title>s for content pages that implement a master

custom sitemapprovider and update of the menu associated

menu control expand url image and width of menu items?

<asp:wizard and javascript question

master page & content pages (urgent)

how to flush just the contents of a master page?

master page in different directory

how to access the child node of treeview in masterpage to content page?

menu control as second level navigation

how can display a radio button before item in treeview control?

error: object expected. what am i missing?

css not applied with theme

css is not working properly

master pages & user control events

masterpages, folders and images

using ajax to avoid refresh of layout in the master page

how to navigate using treeview postback?

master page does not display image on pages which are not in same root level

multiview and treeview -- can't find selectednode

asp:menu submenu sizes

dynamic masterpage?

webresource.axd needs querystring parameter

[2005] some css styles not working when used in a theme

  Privacy | Contact Us
All Times Are GMT