Register
Login
 

Support House of Nuke

  

 House of Nuke Forums  
Subject: Styling home link
Prev Next
You are not authorized to post a reply.

Author Messages
Robert EverlandUser is Offline
Novice
Novice
Posts:4

02/08/2008 3:02 PM Alert 
Currently I can style the links in the menu because they are all href tags under the housemenu, my problem is that I want the current menu selected to have a different style (whether it be bold or a picture behind it). I can do this with every menu item except for the home menu. Each menu item that is selected has a style name of HouseMenuNavCurrentLink but the home menu whether you're at the home section or not is always HouseMenuNavItemHome . Is there a setting I can change so that isn't always the Home menu's name? If you're at home I would like it to be HouseMenuNavCurrentLink  so I can change the style so the user knows that is where they are.
Charles MoserUser is Offline
Novice
Novice
Posts:2

03/18/2008 12:29 PM Alert 

I wish I could help you, perhaps you can help me.  How did you get the anchor tags in the HouseMenu to have their own unique id tags in the first place.  I just installed the HouseMenu Module 1.4.1 beta and I'm just getting plain ul / li anchor structure with no id tags!  ACK!

SuperDMon

matthew thompsonUser is Offline
Novice
Novice
Posts:12

03/19/2008 9:00 AM Alert 

superdmon check the DNN forums I replied there, but I will do so here as well. If I am not mistaken your using the module which just reads the page structure and creates an unordered lists. While if you use the skinobject each list item is an instance of the housemenu skinobject. In asp.net you cannot have 2 controls that have the same id. Thusly DNN creates / increments each instance of a control automatically. The module itself will have a unique id but the contents inside don't need unique id's cause they are nested inside the HouseMenu module and technically are not skinobjects, but really no different then an unordered list in the html/textbox module. The house module just does the leg work on reading the page structure.

 

matthew thompsonUser is Offline
Novice
Novice
Posts:12

03/19/2008 9:08 AM Alert 

To the OP, I  have the same issue and have had no luck so far. What I did to help resolve my problem was create a skin for my home page and a skin for rest. What this allows me to do is when the user visits the homepage skin the css sets the homemenu item to the styling I want. When the user navigates away from the home page my "normal" skin is then used and I turn off the styling for the homepage and use CurrentNav to set my styling.

Let me know if you need a bit more details.

 

You are not authorized to post a reply.
Forums > House Modules > HouseMenu 1.x > Styling home link



ActiveForums 3.6
  

Terms Of Use  |  Privacy Statement
Copyright © 2006-2008 by Avastone Technologies. All rights reserved.