I am trying to apply the code explained in a thread in Nov 2003.
I have followed the instructions carefully but am little doubtful about is my interpretation:
"In Act_Primary.html (just after the <BODY...> tag put"
Does this mean add the code on the same line after the > or,
on lines below?
My Act_Primary.html follows
<html>
<head>
<TITLE>
NETQUOTEVAR:PAGETITLE
</TITLE>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
<META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<!--@act NETQUOTEVAR:HEADERMETA -->
<!--@act NETQUOTEVAR:LOADFUNCTION -->
<!--@act NETQUOTEVAR:SUBMITFUNCTION -->
<!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function YahooSections(ar)
{
var strIDs = '';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL != null)
{
strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
{
if (ar[i].pChild)
{
for (var j=1;j<=ar[i].pChild.length;j++)
{
if (ar[i].pChild[j].sURL != null)
{
strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
}
}
}
}
strIDs += '<br>'
}
}
return strIDs
}
//-->
</SCRIPT>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<!--
The NETQUOTEVARs below can be uncommented for getting raw section lists:
1. Top level section list
2. Section list from current level and all children
3. The whole section tree
The rest covers the standalone structure members for each array - e.g. if
you only need sName or sURL from an array.
See the documentation for details.
NETQUOTEVAR:TOPLEVELSECTIONS_RAW
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
NETQUOTEVAR:SECTIONTREE_IMAGES
NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
NETQUOTEVAR:SECTIONTREE_SECTIONIDS
NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
NETQUOTEVAR:TOPLEVELSECTIONS_URLS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS
NETQUOTEVAR:CHILDSECTIONS_NAMES
NETQUOTEVAR:CHILDSECTIONS_URLS
NETQUOTEVAR:CHILDSECTIONS_IMAGES
NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
The section level can be accessed through:
NETQUOTEVAR: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>
--->
<!-- Fireworks MX Dreamweaver MX target. Created Fri Jan 30 14:06:11 GMT+0000 (GMT Standard Time) 2004-->
</head>
<BODY TEXT="NETQUOTEVAR:FGCOLOR" leftmargin="1" topmargin="1" marginwidth="0" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<script language="JavaScript" src="overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
<script language=JavaScript>
function showover(ctext,btext){
<!--
if ( ctext + btext ) return overlib(btext,CAPTION,ctext);
return true;
}
// -->
</script>
<table width="100%" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="gradient1.gif"></td>
<td align="right"><img src="gradient2.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>NETQUOTEVAR:LOGOIMAGE</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="top_bar.gif"><table border="0" cellpadding="0" cellspacing="0" width="452%">
<tr>
<td width="168" height="10">NETQUOTEVAR:NAVBSITEMAP</td>
<td width="167">NETQUOTEVAR:NAVBMAIL</td>
<td width="168">NETQUOTEVAR:NAVBINFO</td>
<td> </td>
</tr>
</table> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="11"><img src="shim.gif" width="11"></td>
<td width="170" valign="top">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td width="170" height="59" background="search_background.gif" align="right">
<a href="NETQUOTEVAR:NAVBSEARCHLINK"><font color="NETQUOTEVAR:PALBGCSS">Advanced</font></a> <br>NETQUOTEVAR:SIMPLESEARCH
</td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBCART</td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBCHECKOUT</td>
</tr>
<tr>
<td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1"><strong>
<script language="JavaScript">
<!--
document.write("NETQUOTEVAR:CARTCOOKIEITEMS " + getCartItem(3)+" ");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE " + getCartItem(1));
// -->
</script>
</strong></font></td>
</tr>
NETQUOTEDEL:CAPTURECOUPON
<tr>
<td background="menu_bottom.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<form method="NETQUOTEVAR:CGIMETHOD" action="NETQUOTEVAR:CGIURL">
<tr>
<td colspan="2" valign="top"><strong><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONTITLE</font></strong></td>
</tr>
<tr>
<td colspan="2" valign="top"><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONMESSAGE</font></td>
</tr>
<tr>
<td valign="top"><input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
<td><input type="IMAGE" name="ACTION_SEND" border="0" src="quicksearch.gif" alt="NETQUOTEVAR:COUPONACTION"></td>
</tr>
</form>
</table>
</td>
</tr>
NETQUOTEDEL:CAPTURECOUPON
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="departments.gif" width="170" height="27"></td>
</tr>
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALBGCSS">
<table width="100%" border="0" cellpadding="1" cellspacing="5">
<tr>
<td>
<script language=Javascript1.2>
document.write(YahooSections(section_tree))
</script>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="main_pages.gif" width="170" height="27"></td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBHOMENETQUOTEVAR:NAVBCATALOGNETQUOTEVAR:NAVBUPNETQUOTEVAR:NAVBLOGIN
</td>
</tr>
<tr>
<td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="saturnbottom.gif" width="170" height="187"></td>
</tr>
</table>
</td>
<td width="15"><img src="shim.gif" width="15"></td>
<td valign="top" align="center">
<table width="98%" cellpadding="5" cellspacing="0" class="thinborder">
<tr>
<td valign="top">NETQUOTEVAR:FORMBEGIN <A NAME="top">
<INPUT TYPE=HIDDEN NAME=RANDOM VALUE="NETQUOTEVAR:RANDOM"></A>
NETQUOTEVAR:HIDDENFIELDS
<!-- If customer accounts are in operation following two lines allow displaying -->
<!-- User name and customer account name on every page -->
<!-- NETQUOTEVAR:LOGINLINK --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
<!-- NETQUOTEVAR:HEADER -->
<div align="center"><span class="actxsmall">NETQUOTEVAR:HEADERTEXT</span></div>
NETQUOTEVAR:BULK <br>
<div align="center"><span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span></div>
<!-- NETQUOTEVAR:FOOTER -->
NETQUOTEVAR:FORMEND</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Barry
I have followed the instructions carefully but am little doubtful about is my interpretation:
"In Act_Primary.html (just after the <BODY...> tag put"
Does this mean add the code on the same line after the > or,
on lines below?
My Act_Primary.html follows
<html>
<head>
<TITLE>
NETQUOTEVAR:PAGETITLE
</TITLE>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
<META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<!--@act NETQUOTEVAR:HEADERMETA -->
<!--@act NETQUOTEVAR:LOADFUNCTION -->
<!--@act NETQUOTEVAR:SUBMITFUNCTION -->
<!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function YahooSections(ar)
{
var strIDs = '';
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL != null)
{
strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
{
if (ar[i].pChild)
{
for (var j=1;j<=ar[i].pChild.length;j++)
{
if (ar[i].pChild[j].sURL != null)
{
strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
}
}
}
}
strIDs += '<br>'
}
}
return strIDs
}
//-->
</SCRIPT>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<!--
The NETQUOTEVARs below can be uncommented for getting raw section lists:
1. Top level section list
2. Section list from current level and all children
3. The whole section tree
The rest covers the standalone structure members for each array - e.g. if
you only need sName or sURL from an array.
See the documentation for details.
NETQUOTEVAR:TOPLEVELSECTIONS_RAW
NETQUOTEVAR:CHILDSECTIONS_RAW
NETQUOTEVAR:SECTIONTREE_RAW
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
NETQUOTEVAR:SECTIONTREE_IMAGES
NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
NETQUOTEVAR:SECTIONTREE_SECTIONIDS
NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
NETQUOTEVAR:TOPLEVELSECTIONS_URLS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS
NETQUOTEVAR:CHILDSECTIONS_NAMES
NETQUOTEVAR:CHILDSECTIONS_URLS
NETQUOTEVAR:CHILDSECTIONS_IMAGES
NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
The section level can be accessed through:
NETQUOTEVAR: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>
--->
<!-- Fireworks MX Dreamweaver MX target. Created Fri Jan 30 14:06:11 GMT+0000 (GMT Standard Time) 2004-->
</head>
<BODY TEXT="NETQUOTEVAR:FGCOLOR" leftmargin="1" topmargin="1" marginwidth="0" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<script language="JavaScript" src="overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
<script language=JavaScript>
function showover(ctext,btext){
<!--
if ( ctext + btext ) return overlib(btext,CAPTION,ctext);
return true;
}
// -->
</script>
<table width="100%" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="gradient1.gif"></td>
<td align="right"><img src="gradient2.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>NETQUOTEVAR:LOGOIMAGE</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="top_bar.gif"><table border="0" cellpadding="0" cellspacing="0" width="452%">
<tr>
<td width="168" height="10">NETQUOTEVAR:NAVBSITEMAP</td>
<td width="167">NETQUOTEVAR:NAVBMAIL</td>
<td width="168">NETQUOTEVAR:NAVBINFO</td>
<td> </td>
</tr>
</table> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="11"><img src="shim.gif" width="11"></td>
<td width="170" valign="top">
<table width="170" border="0" cellpadding="0" cellspacing="0" class="thinborder">
<tr>
<td width="170" height="59" background="search_background.gif" align="right">
<a href="NETQUOTEVAR:NAVBSEARCHLINK"><font color="NETQUOTEVAR:PALBGCSS">Advanced</font></a> <br>NETQUOTEVAR:SIMPLESEARCH
</td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBCART</td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBCHECKOUT</td>
</tr>
<tr>
<td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1"><strong>
<script language="JavaScript">
<!--
document.write("NETQUOTEVAR:CARTCOOKIEITEMS " + getCartItem(3)+" ");
document.write("NETQUOTEVAR:CARTCOOKIEVALUE " + getCartItem(1));
// -->
</script>
</strong></font></td>
</tr>
NETQUOTEDEL:CAPTURECOUPON
<tr>
<td background="menu_bottom.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<form method="NETQUOTEVAR:CGIMETHOD" action="NETQUOTEVAR:CGIURL">
<tr>
<td colspan="2" valign="top"><strong><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONTITLE</font></strong></td>
</tr>
<tr>
<td colspan="2" valign="top"><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONMESSAGE</font></td>
</tr>
<tr>
<td valign="top"><input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
<td><input type="IMAGE" name="ACTION_SEND" border="0" src="quicksearch.gif" alt="NETQUOTEVAR:COUPONACTION"></td>
</tr>
</form>
</table>
</td>
</tr>
NETQUOTEDEL:CAPTURECOUPON
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="departments.gif" width="170" height="27"></td>
</tr>
<tr>
<td valign="top" bgcolor="NETQUOTEVAR:PALBGCSS">
<table width="100%" border="0" cellpadding="1" cellspacing="5">
<tr>
<td>
<script language=Javascript1.2>
document.write(YahooSections(section_tree))
</script>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="main_pages.gif" width="170" height="27"></td>
</tr>
<tr>
<td>NETQUOTEVAR:NAVBHOMENETQUOTEVAR:NAVBCATALOGNETQUOTEVAR:NAVBUPNETQUOTEVAR:NAVBLOGIN
</td>
</tr>
<tr>
<td width="170" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="saturnbottom.gif" width="170" height="187"></td>
</tr>
</table>
</td>
<td width="15"><img src="shim.gif" width="15"></td>
<td valign="top" align="center">
<table width="98%" cellpadding="5" cellspacing="0" class="thinborder">
<tr>
<td valign="top">NETQUOTEVAR:FORMBEGIN <A NAME="top">
<INPUT TYPE=HIDDEN NAME=RANDOM VALUE="NETQUOTEVAR:RANDOM"></A>
NETQUOTEVAR:HIDDENFIELDS
<!-- If customer accounts are in operation following two lines allow displaying -->
<!-- User name and customer account name on every page -->
<!-- NETQUOTEVAR:LOGINLINK --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
<!-- NETQUOTEVAR:HEADER -->
<div align="center"><span class="actxsmall">NETQUOTEVAR:HEADERTEXT</span></div>
NETQUOTEVAR:BULK <br>
<div align="center"><span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span></div>
<!-- NETQUOTEVAR:FOOTER -->
NETQUOTEVAR:FORMEND</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Barry
Comment