Announcement

Collapse
No announcement yet.

Bullet list - top level sections ??

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

    Bullet list - top level sections ??

    Hello all, Just a quick one....

    Ive used the AUG to add a bullet list of top level sections under my addtocart.

    Ive put the script in the head of the act brochureprimary which is this;

    <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->

    <SCRIPT LANGUAGE = JavaScript>
    <!--
    function BulletList(pItem)
    {
    var strIDs = '<ul>';
    {
    for (var i = 1; i <= pItem.length; i++)
    {
    strIDs += '<li><a href=' + pItem[i].sURL + '>'+ pItem[i].sName + '</a></li>';
    }
    }
    strIDs += '</UL>'
    return strIDs
    }
    -->
    </SCRIPT>

    And then the script just under my addtocart within the body, which is this;

    <script language=Javascript1.2>
    document.write(BulletList(sections))
    </script>

    But all i can see is a blank space, any ideas ???

    site www(dot)bosslighting(dot)co(dot)uk
    Reverse Osmosis Water Filters

    #2
    View page in Firefox and use it's Tools / Error Console for decent diagnostics.

    Also change <script...> line to be

    <script language="javascript">
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman,

      Done it and it looks horrible anyway, so ive just gone with another side bar.
      Reverse Osmosis Water Filters

      Comment

      Working...
      X