close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Moving a menu

Thread began 11/13/2009 3:16 pm by esther379760 | Last modified 11/23/2009 12:35 pm by Jason Byrnes | 1954 views | 5 replies |

esther379760

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

Sign in to reply to this post

Jason ByrnesWebAssist

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

Sign in to reply to this post

esther379760

template

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

Sign in to reply to this post

Jason ByrnesWebAssist

Send a copy of your page and I will tell what code needs to be copied to the template.

Sign in to reply to this post

esther379760

Hello

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

Sign in to reply to this post

Jason ByrnesWebAssist

From t he head of the document, you need to copy the following:

html:
<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:

html:
<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:

html:
<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.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...