Moving a menu
hello...
what is the best way to move a menu from one html page to another within the same site. I keep only getting bits and pieces of it when i try and file it folder by folder.
thanks
hello...
what is the best way to move a menu from one html page to another within the same site. I keep only getting bits and pieces of it when i try and file it folder by folder.
thanks
The best practice would be to add the menu to a Dreamweaver template, then create the pages from the template.
This way, if you change the menu on the template, the change will be made to all of the pages based on the template.
See the following for more information on using Dreamweaver templates:
dw_templates.html
Hi Jason,
Actually, that is where I'm trying to move it. I was making a test menu, I like it, but now I need to move it to the already existing template.
thanks,
esther
Send a copy of your page and I will tell what code needs to be copied to the template.
Here is just a random one as an example.
Say I really like thid styles here. How do I start with a clean slate, yet use the same styles.
Check the source code here:
bio.html
thanks!!!!
p.s. I didn't know you had replied to this because I don't get email notices. How do we do that? ty
From t he head of the document, you need to copy the following:
<script type="text/javascript" src="CSSMenuWriter/cssmw0/menu.js"></script>
<style type="text/css" media="all">
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("CSSMenuWriter/cssm0/menu_ie.css");
</style>
<![endif]>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("CSSMenuWriter/cssm0/menu_ie.css");
</style>
<![endif]-->
since it is going into a template, you will need to adjust the paths:
<script type="text/javascript" src="../CSSMenuWriter/cssmw0/menu.js"></script>
<style type="text/css" media="all">
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../CSSMenuWriter/cssm0/menu_ie.css");
</style>
<![endif]>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../CSSMenuWriter/cssm0/menu_ie.css");
</style>
<![endif]-->
The copy the menu itself:
<ul class="level-0" id="cssmw0">
<li><a href="index.html">Homepage</a></li>
<li><a href="bio.html">Biography</a></li>
<li><a href="#">Mission Statement</a></li>
<li><a href="services.html">Specialty Services</a></li>
<li><a href="contact.html">Contact Information</a></li>
</ul>
<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw0.intializeMenu('cssmw0',{select_current: 0, orientation: 2}); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw0.intializeMenu('cssmw0',{select_current: 0, orientation: 2}); }, true); }</script>
When you reply to a post or start a thread, scroll down the reply window a little but to the Additional Options section. In the Notification Type section you can select how you would like to be notified of reply's.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.