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, ...DDRMenu - Superfish - Navbar styling?DDRMenu - Superfish - Navbar styling?
Previous
 
Next
New Post
7/27/2011 7:59 PM
 

What changes are needed to get the Superfish template to display with the 'navbar' styling?

I see that the 'superfish-navbar.css' is included in the template, and I tried adding this as an included style sheet in the template .xml file, but the menu is still displaying using the standard superfish styling.

Thanks,
Elaine Visner

 
New Post
8/1/2011 3:53 AM
 
Hi Elaine, please refer to the Superfish documentation at http://users.tpg.com.au/j_birch/plugi... (specifically the nav-bar tab in the examples section). It explains which classes you'll need to add in your template to make use of the navbar styles.
 
New Post
8/1/2011 12:18 PM
 
Thanks Mark.

I finally got this working.  Not only did the .xslt file have to be modified to include the additional navbar css file, but I had to add the  'sf-navbar' class to the <div> tag containing the DDRMenu object.

I recommend that the DDRMenu documentation for the Superfish template be modified to show these changes.  Even though these other Superfish options are included with the DDRMenu template,  it was not obvious to me how to implement them within the DDRMenu framework.

Thanks for your work on this menu.  It is definitely a nice addition to the DNN family.

Elaine
 
New Post
11/7/2011 3:17 PM
 
I am trying to accomplish this as well and cannot find where in the xslt file to add the other css file. I did find it in menudef.xml and changed it there and added the sf-navbar class to the containing div but it did not make a difference.

Can you give further details on what you did to make it work?
 
New Post
3/21/2012 9:14 AM
 
Hi Mark,

The website listed above gives code to restore the relevant sub-menu when the user is not exploring other sub-menus:  

$(document).ready(function(){ 
        $("ul.sf-menu").superfish({ 
            pathClass:  'current' 
        }); 
    }); 

Can you tell me where I need to put this to make it work? I tried adding it to my XSLT file, but have had no luck:

jQuery(function($) {
$("#<xsl:value-of select="$ControlID" />").superfish(
<xsl:value-of select="$Options" />
);

});
$("ul.sf-menu").superfish({ 
            pathClass:  'current' 
        });

Thanks for your help,

Kelly

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDRMenu - Superfish - Navbar styling?DDRMenu - Superfish - Navbar styling?


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