<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function SectionList(ar)
{
var strIDs = '<table border=0 width=100% cols=1>';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<tr bgcolor="#F2F3F7"><td><a href="' + ar[i].sURL + '"><span class="actxsmall"><b>' + ar[i].sName + '</b></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 bgcolor="#F2F3F7"><a href="' + ar[i].pChild[j].sURL + '"><span class="actxsmall">' + ar[i].pChild[j].sName + '</span></a></td></tr>';
}
}
}
}
}
}
strIDs += '</table>'
return strIDs
}
//-->
</SCRIPT>
<!--
function SectionList(ar)
{
var strIDs = '<table border=0 width=100% cols=1>';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<tr bgcolor="#F2F3F7"><td><a href="' + ar[i].sURL + '"><span class="actxsmall"><b>' + ar[i].sName + '</b></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 bgcolor="#F2F3F7"><a href="' + ar[i].pChild[j].sURL + '"><span class="actxsmall">' + ar[i].pChild[j].sName + '</span></a></td></tr>';
}
}
}
}
}
}
strIDs += '</table>'
return strIDs
}
//-->
</SCRIPT>
but the above is my section list navigation (already with some formatting) can someone help me to remove the href from the main sections so only the sub sections are clickable.
<a href="' + ar[i].sURL + '"><span class="actxsmall"><b>' + ar[i].sName + '</b></span></a>
Comment