PDA

View Full Version : Dynamic Navigation Menu!


edigitalxp
07-31-03, 03:37 PM
Hello,

I have a website that I am starting that has many pages. As the site grows I want to be able to add more and more buttons to the navigation window VIA. an XML text file. This will help me not have to alter the navigation on every single page when I add more pages to the site. I would just have to alter my XML file and the data will propagate to all of the other pages. I tried to search the forum but was unable to find anything on this topic.

Here is a little info on what the navigation is:

The buttons are vertically aligned image files. Each image file is a butotn i.e. home, contact, etc, etc, ....

In the XML file I want to be able to specify the image file that I want to use and what page it is going to link to when the user clicks on it.

I figure that I should get this taken care of before I start on the content of the website. I dont want to have to go back and redo all of the pages later on.

Also, for the hyperlinks that will be at the bottom of all the pages (for search engine spydering purposes) , will this be possible to have an XML file for that too so that those can be updated as I add pages?


I am sure that this is simple but I am new to ASP.NET. Fortunatly I am pretty versed in VB.NET so this might help out a bit.

If anyone has any information or can steer me in the right direction it would be greatly appreciated.

I have attached an example of what the navigation will look like. Please note that this information is copywritten and owned solely by edigital, Inc.

Thanks,

J

Arctic
08-01-03, 01:35 AM
well in asp i know you can use the <!--#include file="filename.asp"--> thats how i use my footer nav on my web site that im making right now, but it doesnt have to be footer, you can place it anywhere just as if you would HTML. Ex. - I put <!--#include file="footernav.asp"--> and then i just have to edit the footernav.asp page and all my pages change. Hope this helps