Dynamic Menus with ASP and CSS
Many database-driven web sites are run from some form of content management system, and so navigation menus need to be dynamically created – with the links being pulled from the database. Working in this way means that you may not know how many links will appear in a navigation menu when you design the site, as the number will depend on how many are stored in the database at any one time.
This tutorial explains how to create a menu from a list of links stored in an Access database, using the ASP Server Model and the Dreamweaver Server Behaviors, covering creating the database table, connecting to the database, creating a Recordset and using a Repeat Region to display the data. Once we have created the menu using ASP, we will then
use CSS to style it in an attractive and code efficient manner that will work well no matter how many links are displayed.
This tutorial is suitable for complete beginners in CSS and ASP, and is compatible with MX and MX2004 and above.
Read More