norcascade

Another automatic cascading menu for Actinic 5 onwards. This one allows more modern DHTML effects.
Post Reply
JSD
Posts: 1
Joined: Wed Jul 28, 2004 2:02 pm
Location: Notts
Contact:

norcascade

Post by JSD »

hi norman

help I can only get the top of the additional array working
copy of
var top_section_tree_names = new CreateArray(5);
top_section_tree_names[1].sName = "Home";
top_section_tree_names[2].sName = "Fair Dates";
top_section_tree_names[3].sName = "Links";
top_section_tree_names[4].sName = "Scale Converter";
top_section_tree_names[5].sName = "Products...";
top_section_tree_names[5].pChild = section_tree_names; // the Actinic Name Structure goes here

var top_section_tree_URLs = new CreateArray(5);
top_section_tree_URLs[1].sURL = "index.html";
top_section_tree_URLs[2].sURL = "acatalog/Fair_Dates.html";
top_section_tree_URLs[3].sURL = "acatalog/Links.html";
top_section_tree_URLs[4].sURL = "acatalog/Scale_Converter.html";
top_section_tree_URLs[5].sURL = "...."; (this bit i can not get to work any ideas please )
top_section_tree_URLs[5].pChild = section_tree_URLs; // the Actinic URL Structure goes here

// now replace the Actinic structures with out modified ones
section_tree_names = top_section_tree_names;
section_tree_URLs = top_section_tree_URLs;

the bit missing is the acatalog/

tried putting it in but not working
John Davis
Norman

Post by Norman »

Try:

top_section_tree_URLs[5].sURL = "index/html";

Or use the full "http://www.mysite.com/acatalog/index.html" type URL. This is the most consistent way to make sure things work. Especially if you intend to use the menu on pages outside the acatalog folder.

Norman
Post Reply