Hi
I have added the following (pasted below) into Act_Primary.
However my top sections are all showing (all three) but selected subsections aren't being displayed - usually the last ones on each list - but not always.
I can find out how to get all sub-sections to display.
Any ideas?
****************A BIT OF ACT_PRIMARY*********
TQUOTEVAR:SECTIONLEVEL
-->
<!--
The NETQUOTEVARs below can be uncommented and moved to the appropriate
location
to save and load shopping lists
<A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save
Shopping List</B></I></FONT></A>
<A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load
Shopping List</B></I></FONT></A>
--->
**************THIS IS THE BIT I ADDED!**************
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function SectionList (ar)
{
var strIDs = '<table border=0 width=95% cols=2>';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<tr><td colspan=2><a href="' + ar[i].sURL + '"><span class="actxsmall">' + ar[i].sName + '</span></a></td></tr>';
{
if (ar[i].pChild)
{
for (var j=1;j<ar[i].pChild.length;j++)
{
if (j <= ar[i].pChild.length)
{
strIDs += '<tr><td><img src=shim.gif width=5></td><td><a href="' + ar [i].pChild[j].sURL + '"><span class="actxxsmall">' +
ar [i].pChild[j].sName + '</span></a></td></tr>';
}
}
}
}
}
}
strIDs += '</table>'
return strIDs
}
//-->
</SCRIPT>
</HEAD>
I have added the following (pasted below) into Act_Primary.
However my top sections are all showing (all three) but selected subsections aren't being displayed - usually the last ones on each list - but not always.
I can find out how to get all sub-sections to display.
Any ideas?
****************A BIT OF ACT_PRIMARY*********
TQUOTEVAR:SECTIONLEVEL
-->
<!--
The NETQUOTEVARs below can be uncommented and moved to the appropriate
location
to save and load shopping lists
<A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save
Shopping List</B></I></FONT></A>
<A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load
Shopping List</B></I></FONT></A>
--->
**************THIS IS THE BIT I ADDED!**************
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function SectionList (ar)
{
var strIDs = '<table border=0 width=95% cols=2>';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<tr><td colspan=2><a href="' + ar[i].sURL + '"><span class="actxsmall">' + ar[i].sName + '</span></a></td></tr>';
{
if (ar[i].pChild)
{
for (var j=1;j<ar[i].pChild.length;j++)
{
if (j <= ar[i].pChild.length)
{
strIDs += '<tr><td><img src=shim.gif width=5></td><td><a href="' + ar [i].pChild[j].sURL + '"><span class="actxxsmall">' +
ar [i].pChild[j].sName + '</span></a></td></tr>';
}
}
}
}
}
}
strIDs += '</table>'
return strIDs
}
//-->
</SCRIPT>
</HEAD>
Comment