close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Create Menu as a SSI

Thread began 6/08/2009 3:31 am by webassist355533 | Last modified 6/08/2009 10:02 am by webassist355533 | 1012 views | 1 replies


Create Menu as a SSI

Not quite got to grips with this, I'd like to use the menu as a SSI instead of having to update every change on every page, but how is this achieved?

Under normal circumstances I would create the include page after first removing all the Header and Body tags, but Menu Writer does not seem to work on a blank page without the 'Body' tag.

If I were to 'cut n paste' the menu from an existing page, how much of the code needs to be included in the 'include' page?

This is an abbreviated menu:

<ul class="level-0" id="cssmw">
<li><span><a href="index.html">Home</a></span></li>
<li><span><a href="about.html">About Us</a></span></li>
<li><span><a href="#">Contact Us</a></span>
<ul class="level-1" id="cssmw">
<li><a href="forms/genenq.html">General Enquiry</a></li>
<li><a href="forms/newenq.html">New Enquiry</a></li>
<li><a href="forms/existenq.html">Existing Enquiry</a></li>

But then just below this code is this:

<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw.intializeMenu('cssmw'); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw.intializeMenu('cssmw'); }, true); }</script>

And in the 'Head' there is this:

<script type="text/javascript" src="CSSMenuWriter/cssmw/menu.js"></script>

<style type="text/css" media="all">
@import url("CSSMenuWriter/cssmw/menu.css");
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("CSSMenuWriter/cssmw/menu_ie.css");

So, how can I achieved using the Menu as a SSI?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...