Navigation in ASP and PHP

Thanks to the supporting functions included in Consolo, it is very easy to generate  navigation in ASP and PHP. The functions return lists, formatted with <ul> and <li>. With a few simple parameters, you decide how much of the page structure should be returned. In the following sections, read about how to call these functions:

Supporting Function for ASP »

Supporting Function for PHP »

 

To set the style and functionality of the navigation, preferably use an included style sheet. Of course, you are free to design the navigation in any way you want, but here are some examples to help you out.

The examples are set up as file archives, one for ASP and one for PHP. The archives contain CSS and script files as well as graphics. Download and decompress the archives. You can then use them as they are, or modify them.

Some search paths in the files contain the code word %subfolder%. If the web site is installed in a subfolder on the server, replace this value. If the web site is installed at the root level, remove %subfolder%.

 

Top and Left Aligned Navigation
Compatible with all web browsers. Four levels. See an example at demo.consolo.se.

Image css_topleftnav_asp.zip

Image css_topleftnav_php.zip

 

Left Aligned Navigation
Compatible with all web browsers. Three levels. Looks like the left menu on demo.consolo.se, but contains the entire web site’s page structure.

Image css_leftnav_asp.zip

Image css_leftnav_php.zip

 

Drop Down-Navigation, Horizontal
Compatible with all modern web browsers, but not with older versions, e.g. Internet Explorer for Macintosh. Unlimited number of levels.
See an example »

Image css_dropdownnav_hor_asp.zip

Image css_dropdownnav_hor_php.zip

 

Drop Down-Navigation, Vertical
Compatible with all modern web browsers, but not with older versions, e.g. Internet Explorer for Macintosh. Unlimited number of levels.
See an example »

Image css_dropdownnav_ver_asp.zip

Image css_dropdownnav_ver_php.zip