Page 1 of 1

Menu in non catalogue pages

Posted: Wed Apr 12, 2006 4:46 pm
by globefox
Hello I've read the instructions over and over again, but am obviously missing something as the mneu is not appearing at

http://www.vdel.com/russian_nav.html

I am certain there's a line or tow of code I need to insert the array, but can't work out what it should be.

help!

Best,
Lucy

Posted: Wed Apr 12, 2006 6:07 pm
by norman
The code

Code: Select all

<script type="text/javascript" src="http://www.vdel.com/acatalog/Act_section_tree_names_r.js"></script>
<script type="text/javascript" src="http://www.vdel.com/acatalog/Act_section_tree_URLs.js"></script>
<script type="text/javascript" language="http://www.vdel.com/acatalog/JavaScript1.2" src="Templates/pop_core.js"></script>
<script type="text/javascript" language="http://www.vdel.com/acatalog/JavaScript1.2" src="Templates/norcascade_pop_data.js"></script>
<script type="text/javascript" language="http://www.vdel.com/acatalog/JavaScript1.2" src="Templates/pop_events.js"></script>
should be

Code: Select all

<script type="text/javascript" src="http://www.vdel.com/acatalog/Act_section_tree_names.js"></script>
<script type="text/javascript" src="http://www.vdel.com/acatalog/Act_section_tree_URLs.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="http://www.vdel.com/acatalog/pop_core.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="http://www.vdel.com/acatalog/norcascade_pop_data.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="http://www.vdel.com/acatalog/pop_events.js"></script>
I see you also had Act_section_tree_names_r.js above. I've removed the _r bit.

If you look at your pages using Firefox (http://www.mozilla.org) and use it's Tools / JavaScript console you'll get useful diagnostic messages.

Please remember that these patches are Donationware.

Posted: Wed Apr 19, 2006 10:58 am
by globefox
hello Norman, thanks for your reply. For sopem reason the file version you saw was not the lastest - I do aplogise. This did have all the absolute URL's for the scripts. The JS with the extra 'r' is for a Russian transaltion fo the sitre that will apprear in a second directory.

I'm still having problems working out what should appear in the left hand column to trigger the insert of the menu itself - the coding used in the actinic template does not work..

best,
lucy

Posted: Wed Apr 19, 2006 11:22 am
by globefox
Hello Norman, your comment about the Javascript monitor was MOST helpful. I need to run the English nav and the Russian Nav together on the same site.

The login part of the norcascade_pop_data.js script was stopping the menu form loading and making me a very confused bear. I have created a new script at norcascade_pop_data_r.js, withiout the login check, and this now means there are no script errors and the page loads fine.

I had assumned that there was more to it than just the links to the four scripts - and that I was missing some magic bit of code!

THANKYOU - donation on it's way.

BTW please feel free to use this a a n example of Multi language menu's if you like, best,
Lucy