Hi
I posted a question about a problem I'm having with my department navigation. I'm currently using the JavaScript to produce my left hand navigation but I would like to be able to sort this alphabetically and for the sub section navigation only to show when you have clicked on the parent. What I want to achieve is this http://www.djwade.com/hsbc/cards.html
This is the code I'm using
<!--@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 my access keys to this but not sure how to which I'm doing with CUSTOMVAR:ACCESSKEY. Is this possible to add this to this JavaScript. Is their way to do this?
Cheers
Darren
I posted a question about a problem I'm having with my department navigation. I'm currently using the JavaScript to produce my left hand navigation but I would like to be able to sort this alphabetically and for the sub section navigation only to show when you have clicked on the parent. What I want to achieve is this http://www.djwade.com/hsbc/cards.html
This is the code I'm using
<!--@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 my access keys to this but not sure how to which I'm doing with CUSTOMVAR:ACCESSKEY. Is this possible to add this to this JavaScript. Is their way to do this?
Cheers
Darren
Comment