Hi there,
I'm building a site which requires the top level sections of the store to be displayed on the home page, which is a brochure page in Actinic. I have tried putting NETQUOTEVAR:PARENTSECTIONSTOP into fragments and onto the Act_brochureprimary.html but it doesn't work in these environments.
I have also tried, with a little success, a variant of the " List of Section Images With JavaScript" from page 41 in the AUG.
The trouble with this is the tables appear under each other and not across the page in 2 rows as I'd hoped and as appears in the acatalog/index.html file.
I could use fragments but these aren't self generating and as the sections may change this really should be automated.
Can anyone give me any clues or other avenues to try?
Thanks in advance Garry
I'm building a site which requires the top level sections of the store to be displayed on the home page, which is a brochure page in Actinic. I have tried putting NETQUOTEVAR:PARENTSECTIONSTOP into fragments and onto the Act_brochureprimary.html but it doesn't work in these environments.
I have also tried, with a little success, a variant of the " List of Section Images With JavaScript" from page 41 in the AUG.
<SCRIPT LANGUAGE = JavaScript>
<!--
function ImageList(pItem)
{
var strIDs = '';
{
for (var i = 1; i <= pItem.length; i++)
{
strIDs += '<TABLE width="102" BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD height="30" ALIGN="center" background="acatalog/cg_section_top.gif"><a href=' + pItem[i].sURL + '><span class="actxxsmall"><font color="#000000">'+ pItem[i].sName + '</font></span></a></TD></TR><TR><TD height="72" ALIGN="center" VALIGN="top"><a href=' + pItem[i].sURL + '><img src="acatalog/' + pItem[i].sImage + '"alt="'+ pItem[i].sName + '" width=' + pItem[i].nImageWidth + ' height=' + pItem[i].nImageHeight + ' border=0></a></TD></TR></TABLE>';
}
}
return strIDs
}
-->
</SCRIPT>
<!--
function ImageList(pItem)
{
var strIDs = '';
{
for (var i = 1; i <= pItem.length; i++)
{
strIDs += '<TABLE width="102" BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD height="30" ALIGN="center" background="acatalog/cg_section_top.gif"><a href=' + pItem[i].sURL + '><span class="actxxsmall"><font color="#000000">'+ pItem[i].sName + '</font></span></a></TD></TR><TR><TD height="72" ALIGN="center" VALIGN="top"><a href=' + pItem[i].sURL + '><img src="acatalog/' + pItem[i].sImage + '"alt="'+ pItem[i].sName + '" width=' + pItem[i].nImageWidth + ' height=' + pItem[i].nImageHeight + ' border=0></a></TD></TR></TABLE>';
}
}
return strIDs
}
-->
</SCRIPT>
I could use fragments but these aren't self generating and as the sections may change this really should be automated.
Can anyone give me any clues or other avenues to try?
Thanks in advance Garry
Comment