close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to change color of menu bar to reflect current page?

Thread began 6/08/2009 9:36 am by dennis-dunnwald325143 | Last modified 12/29/2010 9:39 am by jk419811 | 3394 views | 5 replies |

dennis-dunnwald325143

How to change color of menu bar to reflect current page?

How do you change the color of the global navigation to reflect the current page that you are visiting. Is this done with CSS, if so how, or is some type of script that needs to be added?

Here is an example dermatology.stanford.edu/


Many thanks in advance for your help,
Dennis

Sign in to reply to this post

Ray BorduinWebAssist

There should be a checkbox option in the Menu Writer v2 user interface to do this for you.

Sign in to reply to this post
Did this help? Tips are appreciated...

dennis-dunnwald325143

Thanks Ray,

I found the check box.
Dennis

Sign in to reply to this post

jk419811

How to change color of menu bar to reflect current page?

Hi, I found this in the old threads. Every time I try to go back into the user interface everything gets all screwed up. Can you show me how to do this in the code?

Thanks!

Jennifer

Sign in to reply to this post

Ray BorduinWebAssist

It should be added to the javascript where your menu is created immediately below the menu html on the included page at the very bottom.


<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw.intializeMenu('cssmw',{select_current: 1, orientation: 1}); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw.intializeMenu('cssmw',{select_current: 1, orientation: 1}); }, true); }</script>

The select_current argument will be set to 0 for a menu that doesn't highlight the current page.

Sign in to reply to this post
Did this help? Tips are appreciated...

jk419811

That totally worked!

thanks!

Jennifer

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