View Full Version : NorTree-surpress toplevel default sections
Scottne
18-Apr-2003, 03:23 PM
Hi, I'm a novice and trying to learn as quickly as possible, thanks for the help in advance.
Using Developer V 6.1.2:
I've installed nortree and love it. The only problem is, how do I surpress the default section list text that is generating underneath it? I'm assuming it is in act_primary somewhere, but I cannot seem to get rid of it?
Also, whats the easiest way to get nortree to load on the base page, instead of having to click into products to get it to load?
Thanks
Scottne
18-Apr-2003, 04:41 PM
I've got the first part of the question figured out.
What's happening now though is if I edit any of the variables I end up with just the variable "printing" On the page when I run a preview?
NormanRouxel
18-Apr-2003, 07:45 PM
Nortree on non product pages:-
If your pages are inside the acatalog folder then use this:-
<!-- PLACE IMMEDIATELY AFTER <BODY..> TAG -->
<!-- start of optional speed up fragment - redefining actiniccore.js's CreateArray to skip creating unused entries -->
<script type='text/javascript'>
function CreateArray(n)
{
this.length = n;
for (var i=1; i <= n; i++) this[i] = new Object();
return this;
}
</script>
<!-- end of optional speed up fragment -->
<script type='text/javascript'>
//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more
// Norman Rouxel ( rouxel@attglobal.net ) amended to work with Actinic netquotevar based section structure
function Go(){return}
</script>
<script type="text/javascript" src="Act_section_tree_names.js"></script>
<script type="text/javascript" src="Act_section_tree_URLs.js"></script>
<script type="text/javascript" src="nortree_menu_var.js"></script>
<script type="text/javascript" src="nortree_menu_create.js"></script>
<script type="text/javascript" src="nortree_menu_com.js"></script>
<noscript>Your browser does not support script</noscript>
If you pages are outside the acatalog directory then use the above but replace the src="..." bits above with the full path to acatalog prefixed. E.g.
<!-- PLACE IMMEDIATELY AFTER <BODY..> TAG -->
<!-- start of optional speed up fragment - redefining actiniccore.js's CreateArray to skip creating unused entries -->
<script type='text/javascript'>
function CreateArray(n)
{
this.length = n;
for (var i=1; i <= n; i++) this[i] = new Object();
return this;
}
</script>
<!-- end of optional speed up fragment -->
<script type='text/javascript'>
//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more
// Norman Rouxel ( rouxel@attglobal.net ) amended to work with Actinic netquotevar based section structure
function Go(){return}
</script>
<script type="text/javascript" src="/acatalog/Act_section_tree_names.js"></script>
<script type="text/javascript" src="/acatalog/Act_section_tree_URLs.js"></script>
<script type="text/javascript" src="/acatalog/nortree_menu_var.js"></script>
<script type="text/javascript" src="/acatalog/nortree_menu_create.js"></script>
<script type="text/javascript" src="/acatalog/nortree_menu_com.js"></script>
<noscript>Your browser does not support script</noscript>
Norman
Scottne
19-Apr-2003, 01:27 AM
Thank you kindly sir, worked great.
NormanRouxel
19-Apr-2003, 10:19 AM
Forgot to say. If you have Nortree pages outside of acatalog then the little navigation triangles may not appear on those. Fix this by making an extra copy of tri*.gif into those directories.
Norman
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.