I spent a few hours looking for menu/submenu scripts, and I finally came across a decent program which, sadly, didn't come with any customization documentation. I'm not an experienced coder, but I did manage to mess around with the script a little. What's I'm essentially looking for, is a script which allows me to divide my menu into subcategories, like the following:
Title1
-Sub1.1
-Sub1.2
-Sub1.3
Title2
-Sub2.1
-Sub2.2
-Sub2.3
I wish for this to be expandable/collapsable, meaning that when I click on "Title1", it opens the subs, and when I click on "Title2", it will, while opening the subs of "Title2", it will close the subs for "Title1."
The program I downloaded (kNavigator) allows me to do this, but when I try to customize his code, it throws this error:
Parse error: parse error, expecting `')'' in /usr/local/plesk/apache/vhosts/dwhitelaw.ca/httpdocs/newwebsite/links.inc on line 25
I can't see anything wrong with the code on line 25, but then again, I'm a n00b when it comes to this stuff. You can view the code for yourself here:
http://www.dwhitelaw.ca/newwebsite/script.txt
If you know of any other scripts, and or are able to assist me with my problem, it would be greatly appreciated.
Much regard,
Matthew Lewis
mlewis@dwhitelaw.ca