Announcement

Collapse
No announcement yet.

JavaScript Help

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

    JavaScript Help

    Hi

    I'm using the following piece of code to create my left hand navigation:

    <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
    <SCRIPT LANGUAGE = JavaScript>
    <!--
    function BulletList(pItem)
    {
    var strIDs = '';
    {
    for (var i = 1; i <= pItem.length; i++)
    {
    strIDs += '<div class="LeftNavBackground"><div class="LeftNavContent"><a href=' + pItem[i].sURL + ' accesskey="" class="nav" title="'+ pItem[i].sName + '">'+ pItem[i].sName + '</a></div></div><div class="BlueBoxLine"></div>';
    }
    }
    strIDs += ''
    return strIDs
    }
    -->
    </SCRIPT>

    I would also like to be able to add access keys to this but not sure how too. I have created a custom properties called CUSTOMVAR:ACCESSKEY. Is this possible to add this to this JavaScript. Is their way to do this?

    Cheers

    Darren
    Darren Tickle
    http://www.funky-cards.co.uk

    Greetings cards, and gift wrap for every occasion.

    #2
    Hi Darren

    This will have to be looked into by a JavaScript expert on the forum.

    Cheers
    Krithika Chandrasekar
    SellerDeck

    sigpic

    E-commerce software by SellerDeck

    Comment

    Working...
    X