close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

sub menu trigger

Thread began 10/09/2014 7:05 am by Jamie | Last modified 10/09/2014 9:01 am by Jason Byrnes | 719 views | 3 replies |

Jamie

sub menu trigger

Hey Jason

I have created a menu with a sub menu set which works fine except for the trigger for the sub menu

If I use the menu like this and the 'Services' is the trigger for the drop down, the focus styling is applied to both the services menu item as well as another page that you are on (see attached image 1.jpg)

<ul class="level-0" id="cssmw">
<li class="parent"><a href="../<?php echo($Homepage->getColumnVal("URL")); ?>">Home</a></li>
<li><a href="../about.php">About</a></li>
<li><a href="../#">Services</a>
<ul class="level-1">
<li><a href="../web-design.php">Web Design & Development</a></li>
<li ><a href="../graphic-design.php">Graphic Design</a></li>
</ul>
</li>
<li><a href="../blog.php">Blog</a>
<li><a href="../portfolio.php">Portfolio</a>
<li><a href="../contact.php">Contact</a>
</ul>



the only way to stop this from happening, it seems, is to have change the # for any text (even if its not a valid URL)- the only problem with that is that it then looks at it as a URL and tries to take you to trhat 'page'

what do I need to do to get round this so that the Services item is only a trigger and not a link?

Cheers

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

There is not a way around it.

The highlighting effect looks at the page name in the link

# is a short hand for current page, that is why it is highlighting.

you create a services home page to link the services menu item to .

Sign in to reply to this post

Jamie

thats what I thought... thanks for confirming

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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