close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Now none of the links work! CSSMenuWriter is driving me nuts!

Thread began 9/02/2009 6:08 pm by Nathon Jones Web Design | Last modified 9/03/2009 3:56 pm by Jason Byrnes | 1348 views | 5 replies |

Nathon Jones Web Design

Now none of the links work! CSSMenuWriter is driving me nuts!

Can anyone tell me what, on earth, is wrong with the following:
index.shtml

I've re-built this menu so many times that I feel like I'm starting to have a nervous breakdown. I've reinstalled the extension, completely rebuilt the navigation and EVERY time I try to edit the menu it goes back to a default setting as if no changes were made.

When I finally got the styling to stick, the bloody links stopped working. If you click a few links, you'll notive that the menu links suddenly decide that they're no longer links! It's pure madness!

At the end of my tether with this damn extension. It has cost me, big time, on this job and I'm sick to death of the thing.

I would appreciate any advice.
I'm using DW8.0.2, ASP/VBSript, Win XP Pro.

Thank you.
Regards
Nathon.

Sign in to reply to this post

Nathon Jones Web Design

FFS, I'm also now noticing this following error on every page:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 2 Sep 2009 22:10:26 UTC


Message: Invalid argument.
Line: 83
Char: 6
Code: 0
URI: menu.js

Can anyone tell me what the hell is wrong with this extension?
It's doing my brains in.

Regards
Nathon

Sign in to reply to this post

Jason ByrnesWebAssist

viewing your source at:
index.shtml

the links look like this:
<li><a href="hotel-south-west-scotland.asp">GARDEN SUITE</a></li>


when at:
trigony-room-rates.shtml

the links look like:
<li><a href="<%=assumedRoot%>hotel-south-west-scotland.asp">GARDEN SUITE</a></li>


This bit:
<%=assumedRoot%>

is asp code that cannot be processed because the page is an shtml page. it would seem you have two different menus, one is a static menu, the other is an ASP menu. You will not be able to embed an asp menu into a static shtml page.

Sign in to reply to this post

Nathon Jones Web Design

I have simply used the CSS Menu Writer wizard for insertion of the menu. Will it not have detected the page type?

Will I have to create two seperate menus for each type of page? Is there a quick way of doing that, rather than have to run through the entire setup again?

Appreciate the help, thanks.

Regards
Nathon

Sign in to reply to this post

Nathon Jones Web Design

class="parent"?

Hi. Is the following wrong? I notice the first menu item is listed as class="parent", I assume because it has Level 1 options, yet the second menu item doesn't have "class=parent". Should it have?

<li class="parent"><a href="<%=assumedRoot%>dumfries-hotel-rooms.shtml">ROOMS</a>
<ul class="level-1">
<li><a href="<%=assumedRoot%>hotel-south-west-scotland.asp">GARDEN SUITE</a></li>
<li><a href="<%=assumedRoot%>trigony-superior-room.asp">SUPERIOR ROOM</a></li>
<li><a href="<%=assumedRoot%>weekend-break-scotland-hotel.asp">ROOM WITH A VIEW</a></li>
<li><a href="<%=assumedRoot%>trigony-single-room.asp">SINGLE ROOM</a></li>
<li><a href="<%=assumedRoot%>hotel-accommodation-dumfries-galloway-scotland.asp">REVIEWS</a></li>
<li><a href="<%=assumedRoot%>trigony-room-rates.shtml">RATES</a></li>
<li><a href="<%=assumedRoot%>trigony-newsletter.asp">NEWSLETTER</a></li>
</ul>
</li>

<li><a href="<%=assumedRoot%>eating-out-dumfries-galloway.asp">RESTAURANT</a>
<ul class="level-1">
<li><a href="<%=assumedRoot%>restaurant-food.shtml">FOOD</a></li>
<li><a href="<%=assumedRoot%>restaurant-menu.shtml">MENU</a></li>
<li><a href="<%=assumedRoot%>restaurant-childrens-menu.shtml">CHILDREN'S MENU</a></li>
<li><a href="<%=assumedRoot%>restaurant-wine-list.shtml">WINE LIST</a></li>
<li><a href="<%=assumedRoot%>hotel-accommodation-dumfries-galloway-scotland.asp">REVIEWS</a></li>
<li><a href="<%=assumedRoot%>trigony-newsletter.asp">NEWSLETTER</a></li>
</ul>
</li>

I've decided to simply hand edit the code because it simply doens't work using the CSSMenuWriter wizard. It absolutely removes the styling that I've spent so long creating and, having spent so long getting the menu to this stage, I really don't want to start messing that up again.

Can you let me know which menu items need class="parent"? Thank you.

Regards
Nathon

Sign in to reply to this post

Jason ByrnesWebAssist

Only the top level items need the class="parent" attribute.

The problem is with the asp code:
<%=assumedRoot%>

in the links. if you are going to hand edit it, you need to remove that from the links. for example:
<li><a href="<%=assumedRoot%>hotel-south-west-scotland.asp">GARDEN SUITE</a></li>


should be:
<li><a href="/hotel-south-west-scotland.asp">GARDEN SUITE</a></li>

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