Hi there,
I have done a basic redesign of a client's site but am having problems with the section tree on IE. The left hand navigation displays correctly in Firefox but not in IE and it is driving me banannas!
I have looked through all the postings on this subject and tried the various solutions but none of them seem to work for me. Here is the site:
http://www.intouchmobile.co.uk/
There should be a left hand navigation but the error I get is:
Line: 40
Char:1
Error: 'section_tree' is undefined
Code:0
The homepage uses a different template to the rest of the site, but the navigation doesn't appear anywhere on the site.
Here is the code for Act_Primary
<<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<HEAD>
<TITLE>
NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER
</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 -->
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="Act_section_tree.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
/***********************************************************************
*
* ACT_DropListBox - returns a string containing the HTML for the SELECT listbox
*
************************************************************************/
function ACT_DropListBox(ar)
{
var strIDs = '<SELECT SIZE="1" NAME="ACT_droplstbox" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">'
var sel = " SELECTED"
strIDs += '<OPTION ' + sel + ' VALUE="">Select a Section</OPTION>'
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<OPTION VALUE="' + ar[i].sURL + '&ACTINIC_REFERRER=' + escape(location.href) + '&NOCLEARFRAMES=1">' + ar[i].sName + '</OPTION>'
}
}
strIDs+='</SELECT>'
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>
--->
</HEAD>
<body NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" OnLoad="NETQUOTEVAR:ONLOAD">
<!-- NETQUOTEVAR:FOOTER -->
<table width="792" border="0" cellpadding="0" cellspacing="0" align="center">
<!--DWLayoutTable-->
<tr>
<td height="145" colspan="2" valign="top"><img src="itms_logo.gif" width="790" height="145"></td>
</tr>
<tr>
<td height="30" colspan="2" valign="middle" align="center"bgcolor="#A8D3F7">NETQUOTEVAR:FOOTERGUIDE</td>
</tr>
<tr>
<td width="143" height="40" valign="top"><p><font size="1">NETQUOTEVAR:SIMPLESEARCH</font></p>
<p>
<SCRIPT LANGUAGE = JavaScript>
<!--
function Recurse(pItem) {
for (var i = 1; i <= pItem.length; i++) {
document.write("<UL>");
document.write("<LI>");
document.writeln(pItem[i].sName.link(pItem[i].sURL));
document.write("</LI>");
if (pItem[i].pChild)
{
Recurse(pItem[i].pChild);
}
document.write("</UL>");
}
}
Recurse(section_tree);
//-->
</script></p></td>
<td width="649" rowspan="3" valign="top"> <p>NETQUOTEVAR:FORMBEGIN NETQUOTEVAR:HIDDENFIELDS
NETQUOTEVAR:HEADERTEXT NETQUOTEVAR:BULK</p>
<p>NETQUOTEVAR:FOOTERTEXT NETQUOTEVAR:FORMEND</p></td>
</tr>
<tr>
<td height="341" valign="top"> </td>
</tr>
<tr>
<td height="40" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</body>
</html>
Any help would be appreciated. Am I missing something really obvious?
I have done a basic redesign of a client's site but am having problems with the section tree on IE. The left hand navigation displays correctly in Firefox but not in IE and it is driving me banannas!
I have looked through all the postings on this subject and tried the various solutions but none of them seem to work for me. Here is the site:
http://www.intouchmobile.co.uk/
There should be a left hand navigation but the error I get is:
Line: 40
Char:1
Error: 'section_tree' is undefined
Code:0
The homepage uses a different template to the rest of the site, but the navigation doesn't appear anywhere on the site.
Here is the code for Act_Primary
<<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<HEAD>
<TITLE>
NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER
</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 -->
<!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
<!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="Act_section_tree.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
/***********************************************************************
*
* ACT_DropListBox - returns a string containing the HTML for the SELECT listbox
*
************************************************************************/
function ACT_DropListBox(ar)
{
var strIDs = '<SELECT SIZE="1" NAME="ACT_droplstbox" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">'
var sel = " SELECTED"
strIDs += '<OPTION ' + sel + ' VALUE="">Select a Section</OPTION>'
for (var i=1;i<=ar.length;i++)
{
if (ar[i].sURL !=null)
{
strIDs += '<OPTION VALUE="' + ar[i].sURL + '&ACTINIC_REFERRER=' + escape(location.href) + '&NOCLEARFRAMES=1">' + ar[i].sName + '</OPTION>'
}
}
strIDs+='</SELECT>'
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>
--->
</HEAD>
<body NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" OnLoad="NETQUOTEVAR:ONLOAD">
<!-- NETQUOTEVAR:FOOTER -->
<table width="792" border="0" cellpadding="0" cellspacing="0" align="center">
<!--DWLayoutTable-->
<tr>
<td height="145" colspan="2" valign="top"><img src="itms_logo.gif" width="790" height="145"></td>
</tr>
<tr>
<td height="30" colspan="2" valign="middle" align="center"bgcolor="#A8D3F7">NETQUOTEVAR:FOOTERGUIDE</td>
</tr>
<tr>
<td width="143" height="40" valign="top"><p><font size="1">NETQUOTEVAR:SIMPLESEARCH</font></p>
<p>
<SCRIPT LANGUAGE = JavaScript>
<!--
function Recurse(pItem) {
for (var i = 1; i <= pItem.length; i++) {
document.write("<UL>");
document.write("<LI>");
document.writeln(pItem[i].sName.link(pItem[i].sURL));
document.write("</LI>");
if (pItem[i].pChild)
{
Recurse(pItem[i].pChild);
}
document.write("</UL>");
}
}
Recurse(section_tree);
//-->
</script></p></td>
<td width="649" rowspan="3" valign="top"> <p>NETQUOTEVAR:FORMBEGIN NETQUOTEVAR:HIDDENFIELDS
NETQUOTEVAR:HEADERTEXT NETQUOTEVAR:BULK</p>
<p>NETQUOTEVAR:FOOTERTEXT NETQUOTEVAR:FORMEND</p></td>
</tr>
<tr>
<td height="341" valign="top"> </td>
</tr>
<tr>
<td height="40" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</body>
</html>
Any help would be appreciated. Am I missing something really obvious?
Comment