Announcement

Collapse
No announcement yet.

JavaScript Section Lists - formating

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

    JavaScript Section Lists - formating

    Hi -
    Does anyone have experience of using the 'javaScript Section Litsts' ?
    My lefthand menu lists all of the product sections and i need to make each of the top lovel section titles BOLD.
    I've looked through the javascript pages but have litte knowledge of how to edit them.

    Thanks in Advance

    Andy

    #2
    Andy

    I'm assuming your design is based on the 'Smart' theme as this is the only theme that uses this list by default.

    Look in the <head> section of your overall page layout. You should see some code that looks like this:

    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>' + ar[i].sName + '</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">' + ar[i].pChild[j].sName + '</span></a><br />';
                }
              }
            }
          }
        strIDs += '<br />'
        }
      }
    return strIDs
    }
    //-->
    </script>
    Where it says '<span class="actxxsmall">' try changing this to '<span class="actxsmall">'. The default font size is very small, and some browsers will not show it as bold.

    Comment


      #3
      Thanks for that cdicken - :-)

      It was driving me stupid!

      Regards
      Andy

      Comment

      Working...
      X