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
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
Comment