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, ...Active Link / Highlight On current Page Menu Active Link / Highlight On current Page Menu
Previous
 
Next
New Post
1/14/2011 1:22 PM
 
Hi,

I'm using an Accordion Menu from dnngarden.com on my DNN-Blue skin. However, I'm having difficulty making the current page link to be highlighted.
I was able to change the a. visited, a. link, a.hover style in the Accordion CSS, but a#current..
Where can i find the menu html (Like below ) in DNN so i can add ID for the pages.
or is there any other way to do it?

ex) where can i find them in my DNN?
<ul>
<li><a href="" id="home"></a></li>
<li><a href="" id="about"></a></li>
<li><a href="" id="contact"></a></li>
<li><a href="" id="faqs"></a></li>
<li><a href="" id="products"></a></li>
<li><a href="" id="services"></a></li>
<li><a href="" id="sitemap"></a></li>
</ul>


This is my ascx file looks like.

<%@ Register TagPrefix="ddr" TagName="MENU" Src="~/DesktopModules/DDRMenu/Menu.ascx" %>
<%@ Register TagPrefix="ddr" Namespace="DNNDoneRight.DDRMenu" Assembly="DNNDoneRight.DDRMenu" %>
.
.
.
<td class="leftpane" id="LeftPane" runat="server" valign="top" align="left">
                                    <ddr:MENU ID="MENU1" MenuStyle="Accordion" runat="server">
                                        <ClientOptions>
                                            <ddr:ClientString Name="animated" Value="slow" />
                                            <ddr:ClientBoolean Name="unique" Value="true" />
                                        </ClientOptions>
                                    </ddr:MENU>
                                </td>
.
.
.

Can anyone help me please. Here is part of my stlyesheet.

/* Menu Box */
.toolsaccordion {
    background:#d6d6a5;
    margin-top: 35px;
    width: 175px;
    border:0px solid #333333;
}

/* Main Menu Text*/
.toolsaccordion h3 {
    background:#d6d6a5;
    margin: 0px;
    padding:5px 5px;
    font-size:16px;
    font-weight:bold;
    font-family:Helvetica;
    border:0px solid #ffffff;
    border-bottom:0px solid #dddddd;
    cursor:pointer;       
}

/* Main Menu Text (mouse over) */
.toolsaccordion h3.current
{
    background:#d6d6a5;
    cursor:default;
    color:white;
    
}

/* Sub Menu Text */
.toolsaccordion div.pane {
    border:0px solid #ffffff;
    border-width:0 0px;
    display:none;
    padding-top:0px;
    padding-bottom:0px;
    margin-left: 15px;
    line-height: 25px;
    color:#ffffff;
    font-family:Helvetica;
    font-size:16px;
    font-weight:bold;
}

/* entry inside pane with no link */
.toolsaccordion div.pane div {
    color:#ffffff;
}

/* a title inside pane */
.toolsaccordion div.pane h3 {
    font-weight:bold;
    margin:0 0 -25px 0;
    font-size:16px;
    color:#999999;
}

.toolsaccordion A:link
{
    color: black;
    text-decoration: none;
}
.toolsaccordion A:visited
{
    color: black;
    text-decoration: none;
}

.toolsaccordion A:hover
{
    color: #ffffff;
    text-decoration: none;
}
.toolsaccordion A:active
{
    background-color: White;      
    text-decoration: none;   
}
 
New Post
1/16/2011 9:12 AM
 
I just went to their site and I inspect their menu using Chrome Code inspector.
Basically whey you do a hover on the li menu list, it will add the class called current on it.
I would advise if you can see the documentation they provide when you purchase the module or you can contact the module provider directly
Hope this helps
 
New Post
1/17/2011 9:15 AM
 
Thanks kindly. Because they are free to use, I couldn't find any help. Well..you get what you pay for right? ^^ have a good day!
 
New Post
2/28/2012 9:55 AM
 

Hi Hyun,

I was wondering if you ever resolved this? You could help me out if you have.

Thanks,

Gerard

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Active Link / Highlight On current Page Menu Active Link / Highlight On current Page Menu


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