Announcement

Collapse
No announcement yet.

TEMPLATES: Modiying position of department links

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TEMPLATES: Modiying position of department links

    Hello,
    In the Best Seller Theme templates...

    I'm looking to change the position and layout of the department heading links from the left-hand side to the top and running horizontally.

    In the Primary template, all I can see is:-

    <script language=Javascript1.2>
    document.write(YahooSections(section_tree))
    </script>

    Anyone got any clues?
    Alec Moss
    Business Webpage Ltd
    Web Design
    Starter Websites

    #2
    You should see this code at the top of the HTML file

    Code:
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
      {
      if (ar[i].sURL != null)
        {
        strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
          {
          if (ar[i].pChild)
            {
            for (var j=1;j<=ar[i].pChild.length;j++)
              {
              if (ar[i].pChild[j].sURL != null)
                {
                strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
                }
              }
            }
          }
        strIDs += '<br>'
        }
      }
    return strIDs
    }
    //-->
    </SCRIPT>
    The Advanced User Guide also has details on how to make varations of this.
    Owner of a broken heart

    Comment

    Working...
    X