close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding Sub Menu's by hand, how?

Thread began 12/02/2009 1:07 am by Alan Shaw | Last modified 12/02/2009 7:00 am by Alan Shaw | 1094 views | 2 replies |

Alan Shaw

Adding Sub Menu's by hand, how?

I just need to add a sub menu by hand to an existing menu, but when I have tried it, it does not validate.

<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.html">Contact Us</a></span></li>
<li><span><a href="#">Useful Links</a></span></li>
</ul>

Let’s just say I would like to add 2 sub menus under 'Useful Links' and we'll name them, 'Nation Government' and 'Regional Government' how is it achieved?

As I said, I did try something which gave me something like a 'minus one level', <ul class="level-1" id="cssmw"> but it didn’t validate even using transitional validation.

Regards
Alan

Sign in to reply to this post

Nathon Jones Web Design

Hi. I just discovered, just to chip in, that if you hand edit the menu, when you come to edit it again with the CSS Menu Writer wizard it will cause problems.

I had an eight button menu that I'd created by hand in the menu.asp file but when I opened the wizard it only displayed 3 buttons and I had to rebuild it all over again.

For your information though, here's a two button menu with a sub-menu beneath the second item:

<ul class="level-0" id="cssmw">
<li><a href="<%=assumedRoot%>index.asp">Home</a></li>
<li class="parent"><a href="<%=assumedRoot%>instruments.asp">Instruments</a>
<ul class="level-1">
<li><a href="<%=assumedRoot%>violin-instruments.asp">Violins</a></li>
<li><a href="<%=assumedRoot%>viola-instruments.asp">Violas</a></li>
<li><a href="<%=assumedRoot%>cello-instruments.asp">Cellos</a></li>
</ul>
</li>
</ul>

Hope that's useful anyway.
Regards
Nathon.

Sign in to reply to this post

Alan Shaw

Thanks Nathan, that did give me a 'heads up' and with your help I've solved it now.

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