
May 16th, 2003, 08:40 AM
|
|
Contributing User
|
|
Join Date: Sep 2000
Location: USA
Posts: 226
Time spent in forums: 2 h 40 m 35 sec
Reputation Power: 13
|
|
|
solution
Thanks for the input. Here is what I have decided to do. I am going to run the navigation out of a database:
link level1 level2 level3 section
primarylink1 1 0 0 aboutus
primarylink2 2 0 0 aboutus
secondarylink 2 1 0 aboutus
I can pull stuff out of the database by section and sort by level1, level2, level3. I can check the link with Request.ServerVariables("SCRIPT_NAME") to see if they are the same. If they are, I will have my at condition. If they aren't it will show up in the off condition.
I will have to build an admin tool to add, modify and delete navigation links. If I add a link that goes between two existing links in the order of things, I will bump up the the sort number for the links that go after it and insert the new link.
That should take care of what I am looking to do. This site has hundereds of pages. I am sick of having to modify 20-30 pages at a time when they decide to add a link. This should make things easy.
|