Database-driven menu: ColdFusion code

Consider the Database-driven CSS Menu Wizard (it covers the associated Database-driven CSS Menu server behavior) and check out the code generated in an .cfm page. First, click here to see the elements it adds in page.

The code generated in page after configuring the wizard as shown in the user manual is the following one:

 

Also, after the </title> tag and before the </head> one, another code section is generated. Its role is to include the needed files:

<script src="includes/cssmenus2/js/animation.js" type="text/javascript"></script>
<script src="includes/cssmenus2/js/cssmenus.js" type="text/javascript"></script>
<link href="includes/cssmenus2/skins/modern_blue/horizontal.css" rel="stylesheet" type="text/css" />

 

Remark how clear the generated code is, and how easy it is to edit the menu even in Code view!