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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

mouse over on main menu

Thread began 12/10/2009 2:37 pm by peter123675 | Last modified 12/11/2009 5:37 pm by Jason Byrnes | 1042 views | 7 replies |

peter123675

mouse over on main menu

see: index1.html

Is there any way in the CSS to remove the mouseover effect on the top element when moving down the dropdown menu?

Cheers guys,

Peter

Sign in to reply to this post

Jason ByrnesWebAssist

The mouse Over effect is controlled by the hover rule.


In the Edit Menu Theme Wizard, On the type and design tabs, select the Hover tab and remove all of the hover styling.

Sign in to reply to this post

peter123675

CSS code edit - if possible...

Thanks for that Jason. But as I have already built quite a lot of the site, any chance of telling me the CSS code edit to achieve the result?

Many thanks in advance

Peter

Sign in to reply to this post

Jason ByrnesWebAssist

in the menu.css file, change:

ul#cssmw > li:hover > span > a {
background-color: #84B9D9;
background-position: center center;
border-style: none;
color: #006991;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
font-style: normal;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: none;
}

ul#cssmw > li.hover > span > a {
background-color: #84B9D9;
background-position: center center;
border-style: none;
color: #006991;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
font-style: normal;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: none;
}




to:

ul#cssmw > li:hover > span > a {
/*background-color: #84B9D9;*/
background-position: center center;
border-style: none;
/*color: #006991;*/
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
font-style: normal;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: none;
}

ul#cssmw > li.hover > span > a {
/*background-color: #84B9D9;*/
background-position: center center;
border-style: none;
/*color: #006991;*/
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
font-style: normal;
font-weight: bold;
text-align: center;
text-decoration: none;
text-transform: none;
}
Sign in to reply to this post

neilo

Won't this will stop the hover background colour change when just hovering over the top level too?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes it will. that is what was asked for unless I'm missing something.

Sign in to reply to this post

peter123675

To make it clear...

Thank neilo

Yes Jason, I do not want to get rid of all colour change when hovering over top level elements. I want the top level colour change to be removed when the mouse moves down the drop down menu.

For instance, go to:

index1.html

I want it that went I select on this site "Baba's Life" and go down to the links below, I would like the "Baba's Life" button to change back to its original colour.

I hope this makes it clear.

Regards

Peter

Sign in to reply to this post

Jason ByrnesWebAssist

That effect is not supported by CSS Menu writer, it would require custom javacript5 coding to accomplish this.


Because CSS Menu Writer uses the :hover psuedo class, and nested lists, when you hover over a child element, you are technicly still hovering over the parent element as well. thake for example this code:

html:
<li class="parent"><span><a href="http://www.meherbaba.co.uk/photos.html">Baba Gallery</a></span>
<ul class="level-1">
<li><span><a href="http://www.meherbaba.co.uk/babaart.html">Baba Art</a></span></li>
<li><span><a href="http://www.meherbaba.co.uk/babafilm.html">Baba on Film</a></span></li>
</ul>
</li>




the child list item:
<li><span><a href="http://www.meherbaba.co.uk/babaart.html">Baba Art</a></span></li>

is contained in the parent list item:
<li class="parent"><span><a href="http://www.meherbaba.co.uk/photos.html">Baba Gallery</a></span>

so when you hover over the child list item, you are still hovering over the parent.


You would need to use javascript on the mouseOver event of the child list items to reset the color properties of the main menu level. We cannot support this in menu writer.

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