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, ...DNNMenu Selected Node doesnt workDNNMenu Selected Node doesnt work
Previous
 
Next
New Post
1/4/2010 9:39 AM
 

Hey there!

I'm testing the DNNMenu but I can't define a class for a selected item. It should be rendered as list, so here is my code:

 dnn:nav id="dnnNAV" csscontrol="mainMenu" CSSNode="glossymenu" CSSNodeSelectedRoot="current" CSSNodeSelectedSub="glossySubmenu_current"  controlorientation="Horizontal" indicatechildren="false" PopulateNodesFromClient ="true" ForceDownLevel="True" ExpandDepth="1" providername="DNNMenuNavigationProvider" runat="server"></dnn:nav

Any Idea how I can add a class (e.g. "Selected") to the currently active < li > ?

 

 

 
New Post
1/4/2010 10:43 AM
 

Download the doc on this page (the skin object tables)

The class should be .sel if you are using DNN 5.2

 
New Post
1/4/2010 11:03 AM
 

Thx Timo, I'm using DNN 5.2, but there is wether a class "sel" nor another class.

Page2.aspx is selected:

 
New Post
1/4/2010 2:37 PM
 

You should not look at the source, but the gerenated source, since the classes are added by javascript.

Could that be the problem?

 
New Post
1/5/2010 3:14 AM
 

it is the generated source  (displayed by developer toolbar), so classes generated by javascript should be visible.

Do you have a working code snippet for .ascx where the menu will generate list items and a class for selected items?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNNMenu Selected Node doesnt workDNNMenu Selected Node doesnt work


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