my website has three levels of section, let's call them 1,2,3.
with Norcasade, the menus show up with all three levls, how do I edit the code to show only 2, 3.
Thanks,
lower level navigation
-
- Posts: 5
- Joined: Mon Nov 06, 2006 11:36 pm
lower level navigation
Creative Catalogues
http://www.smileyworld.com/shop
http://www.smileyworld.com/shop
Each top-level Section has it's own set of sub-levels. You seem to be saying you want to merge all the second-level sections into a new list and use that as the start level. I can't think of any way to implement this.
It is possible to do the opposite and limit how deep the menu goes. The MaxDepth parameter does that.
It is possible to do the opposite and limit how deep the menu goes. The MaxDepth parameter does that.
Norman
-
- Posts: 4
- Joined: Tue Oct 31, 2006 2:02 pm
In case it's of use to others here's what Sally wanted to do.
The shop has 3 main Sections. Each of these leads to what's essentially a different shop. Once in each of these sub-shops it was desirable to have a menu that didn't show the top-level, i.e. it only let you navigate within that "shop".
Use a different Overall Layout for each shop section. These Layout's usually contain the following bit of NorCascade code.
IF USING V8
IF USING V7
For both V7 and V8 immediately after this add
Repeat for the other 2 sections but replace the [1] above with [2] and [3].
The shop has 3 main Sections. Each of these leads to what's essentially a different shop. Once in each of these sub-shops it was desirable to have a menu that didn't show the top-level, i.e. it only let you navigate within that "shop".
Use a different Overall Layout for each shop section. These Layout's usually contain the following bit of NorCascade code.
IF USING V8
Code: Select all
<actinic:variable name="JavaScriptArray" value="Name Data From All Sections"/>
<actinic:variable name="JavaScriptArray" value="URL Data From All Sections"/>
Code: Select all
NETQUOTEVAR:SECTIONTREE_NAMES
NETQUOTEVAR:SECTIONTREE_URLS
Code: Select all
<script type="text/javascript">
<!--
section_tree_names = section_tree_names[1].pChild;
section_tree_URLs = section_tree_URLs[1].pChild;
// -->
</script>
Norman
-
- Posts: 5
- Joined: Mon Nov 06, 2006 11:36 pm
yes that works
Yes, that works.
see: http://www.smileyworld.com/shop/acatalo ... World.html
and how it differs from:
http://www.smileyworld.com/shop/acatalo ... ction.html
Thanks,
Sally
see: http://www.smileyworld.com/shop/acatalo ... World.html
and how it differs from:
http://www.smileyworld.com/shop/acatalo ... ction.html
Thanks,
Sally
Creative Catalogues
http://www.smileyworld.com/shop
http://www.smileyworld.com/shop