Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Make vertical menu highlight on current pageMake vertical menu highlight on current page
Previous
 
Next
New Post
7/12/2006 5:31 PM
 
I would like to have the Vertical menu item highlight to the current page.
 
So if the breadcrumbs are:
Home --- Products --- Backpacks
 
And the vertical menu is:
Home
Products
Backpacks
Contact Us
 
I would like Backpacks to be highlighted since this is the page that's in the frame.
 
Can I do this native to DNN or is there a third party plugin to handle more advanced menu features?
 
Also, I can get someone to edit the coding if that is an option as well.
 
Thanks!
 
Dan
 
New Post
7/13/2006 1:02 AM
 
Several third-party modules make this rather easy. We use the Inventua Side Menu on our own site.  The House Menu from House of Nuke is good, too.


Shane Miller
Call Centers 24x7
 
New Post
7/13/2006 3:31 AM
 
Hi Dan,

You can do this in Solpart easily using the following classes:

.MainMenu_RootMenuItemActive



Solpart Menu Root Menu Item


Styles the root menu item for the currently selected page. In the image above you can see that the Home page is currently displayed. Here you can see we have applied a background color of yellow and a height of 50px to emphasise the styling for this example, so you could also use this to specify a background image for each menu item.

Note: You will notice however that the borders specified below do not display in the menu.


.MainMenu_RootMenuItemActive
{
    border: solid 10px purple;
    background-color: Yellow;
    height: 50px;
}


and:

.MainMenu_SubMenuItemActive

Styles the sub-menu item for the currently selected page. In the image below you can see that page three is currently displayed. Here you can see we have applied a background color of blue and a height of 50px to emphasise the styling for this example.

Note: The border displays for this item, but once you hover over the item the top and bottom borders disappear leaving just the left and right borders.


.MainMenu_SubMenuItemActive
{
    border: solid 10px purple;
    background-color: blue;
    height: 50px;
    padding: 20px;
}


Solpart Menu Sub Menu Item Active


Lee Sykes - DNN Creative Magazine - 600+ Video Tutorials, Articles, Interviews - July Issue 58 out now!
DNN Creative Magazine for DotNetNuke

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
 
New Post
7/14/2006 2:26 AM
 

Dear Dan

You can do this very easy with solpartmenu like dnncreative said, but you must also know that there are no default css class are set to have this effect. You must upload this with .xml or directly in your control acsx file of your skin.
To remember:

rootmenuitemcssclass No default css class set
rootmenuitemselectedcssclass No default css class set
rootmenuitemactivecssclass No default css class set
rootmenuitembreadcrumbcssclass No default css class set
submenuitemactivecssclass No default css class set
submenuitemselectedcssclass No default css class set
submenuitembreadcrumbcssclass No default css class set


Vriendelijke groeten
Gilbert Vanden Borre
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Make vertical menu highlight on current pageMake vertical menu highlight on current page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out