View Full Version : Menu shows as text in Design view
rschultz370327
03-17-2009, 08:58 PM
Is there any way to get the menu to show normally (not as a list of text) in Design view? Without a true WYSIWYG experience, I'm getting pretty lost trying to line everything up (yes, I'm not an XML guru - otherwise, it probably wouldn't be an issue! :))
Thanks much for any suggestions.
Update - turns out I'm getting text-only in all my pages. I think someone mentioned needing to update the code for the pages manually. Are there any details on how/where to do this? What code do I need to move from the template, and where should I add that on the other pages?
Thanks again!
Ray Borduin
03-18-2009, 08:34 AM
It should show up properly in DW for the most part, and you shouldn't have to make manual updates in most cases... unless you are using a template and some paths aren't updated properly because they are in an editable region.
If you give a url we can look at the page to see the problem.
rschultz370327
03-18-2009, 09:49 AM
Please check out http://www/100wattsolutions.com/sandbox/pickax.html.
Note that, after I rebooted this morning, I'm now getting the "correct" view in "Live view" mode, but still just seeing text in Design mode. As you can see, there are 2 excess white boxes at the the top of the web page, and I can't quite figure out how to get rid of them.
Oddly, I'm also finding that the menu navigates well, but doesn't exist on some pages (and does exist on others). I think I'll have to do some manual updating anyway.
Ray Borduin
03-18-2009, 10:06 AM
One thing I can see is that this code is in the middle of the page:
<script type="text/javascript" src="CSSMenuWriter/cssmw0/menu.js"></script>
<style type="text/css" media="all">
<!--
@import url("CSSMenuWriter/cssmw0/menu.css");
-->
</style>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../CSSMenuWriter/cssmw0/menu_ie.css");
</style>
<![endif]-->
when it should be in the header and probably the path: ../CSSMenuWriter/cssmw0/menu_ie.css should be: CSSMenuWriter/cssmw0/menu_ie.css
rschultz370327
03-18-2009, 10:56 AM
I guess it just shows how little I know about this. I just thought I needed to put the nav bar into a table element.
When I start making a menu, I start with the "Insert" menu in Dreamweaver. Where should I be "inserting" the menu to? I think that's my root misunderstanding.
Thanks for your help & patience on this.
Ray Borduin
03-18-2009, 11:03 AM
This is because you placed the menu on a template-generated page with no editable region for the header, it didn't have any place it could put it.
If you create a template in DW it will automatically create an editable region in the header so that this problem won't occur when adding code that requires header updates. Somehow it was removed for your page either on purpose or by accident or this was a template created in a much older version of DW.
If the editable region was there it would have added the code in the correct place. So it isn't that you did something wrong when you applied as much as it is that the template you are using won't lend itself well to anything that uses external .js and/or .css like menu writer requires.
rschultz370327
03-18-2009, 12:25 PM
Thanks, Ray. The template was built for me by a friend who did the initial website development. I think I'll be making a new template.
I appreciate your help on this.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.