Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  House Menu selected item
Previous Previous
 
Next Next
New Post 3/27/2008 5:36 AM
User is offline joe cicchetto
2 posts
10th Ranked


House Menu selected item 

I am having an issue with the House Menu not setting either an ID or class for the selected item in the menu.  It basically renders like this all the time:

 

<ul id="tabs8">
<li id="tabs8ItemHome"><a href="http://localhost/blah" title="Home">Home</a></li>
<li id="tabs8Item117"><a id="tabs8Link117" href="http://localhost/blah/AboutUs/OurCompany/tabid/118/Default.aspx" title="About Us" tabindex="1">About Us</a></li>
</ul>
Only way I see around it is to insert one via javascript, but that is a pain and not dynamic for the user.
 
 
New Post 3/27/2008 8:00 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: House Menu selected item 

Actually HouseMenu sets an id tag for current link.

So just set currentlink css and your set.

For example I have

CssElementId = "HouseMenuNav"

in my CSS I have

#HouseMenuNavCurrentLink
{
insert styling
}

That will style the currently selected menu item. NOTE: It will not style the Home tab/page.

You have to do #HouseMenuNavItemHome for that, this is a bit of a problem though cause the styling remains the same on the Home tab as its a set id. To work around this create a second html file for Home page, and set the CssElement to HouseMenuNavHome or whatever naming convention you want, then set #HouseMenuNavHomeItemHome style. Then just set your home tab / page to have the Home version of your skin. This way when our users are on Home it will display the selected styling you want, but when they travel to the other tabs/pages the HouseMenuNavCurrentLink will take over.

 

 
New Post 3/28/2008 2:05 PM
User is offline Timo Breumelhof
1628 posts
5th Ranked




Re: House Menu selected item 
Modified By Timo Breumelhof  on 3/28/2008 5:05:46 PM)

 keeperofstars wrote

NOTE: It will not style the Home tab/page.

It will if you set the portals home page to "none" in the site settings


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
New Post 3/31/2008 6:34 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: House Menu selected item 

just a side question if you don't set a home page does the site just default to lowest tab, for a new user / login?

 
New Post 7/11/2008 10:10 PM
User is offline BKahuna
15 posts
10th Ranked


Re: House Menu selected item 

 Timo Breumelhof wrote

 keeperofstars wrote

NOTE: It will not style the Home tab/page.

 

It will if you set the portals home page to "none" in the site settings

This appears to be a very clever workaround to a vexing problem - thanks Timo.  So does setting the Home page to <none selected> affect anything else in a DNN portal?  The manual says:

Set any page as the Home page of this portal.  This setting also sets the page users are taken to when they click on the logo. If a Home page is not set, the page located on the far left or top of the menu will be the default home page.

So it doesn't sound as if it hurts anything.  Nice work.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  House Menu selected item
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP