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, ...Different colour for each page in menuDifferent colour for each page in menu
Previous
 
Next
New Post
4/30/2010 11:19 AM
 

Armand Datema wrote:

I would go for DDRMenu from dnngarden.com

Thanks for the reference, I think you just solved an issue one of my clients is having.

Jeff

 
New Post
4/30/2010 12:37 PM
 

@Jeff

Yeah I use it for almost everything, I just completed another skin conversion that uses a modifeid version fo the superfish template

http://www.schwingsoft.com/thecorporation/Home/tabid/469/Default.aspx

@Salarmon

Here is a modification of the superfish template that i just whipped up

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:param name="ControlID" />
    <xsl:param name="Options" />
    <xsl:template match="root">
        <script type="text/javascript">
            jQuery(function($) {
                $("#<xsl:value-of select="$ControlID" />").superfish(
                    <xsl:value-of select="$Options" />
                );
            });
        </script>
        <ul class="sf-menu" id="{$ControlID}">
            <xsl:apply-templates select="node" />
        </ul>
    </xsl:template>
    <xsl:template match="node">
    <li>
     
      <a href="{@url}"><xsl:attribute name="class">tab-<xsl:value-of select="@id" /><xsl:if test="@breadcrumb = 1"> current</xsl:if></xsl:attribute>
        <xsl:value-of select="@text" />
      </a>

      <xsl:if test="node">
        <ul>
          <xsl:apply-templates select="node" />
        </ul>
      </xsl:if>
    </li>
  </xsl:template>
</xsl:stylesheet>

put the css at the bottom of superfish.css

example

.tab-522{background-color:Lime;}

 
New Post
4/30/2010 3:38 PM
 

 ok. thanks. I'll try this on the weekend and i'll let you know how it worked.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different colour for each page in menuDifferent colour for each page in 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