close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Chrome does not display the proper background for currently selected page

Thread began 1/16/2011 8:35 am by chrismoye407692 | Last modified 1/19/2011 11:01 am by Jason Byrnes | 2397 views | 5 replies |

chrismoye407692

Chrome does not display the proper background for currently selected page

My menu works perfectly in IE and Firefox, however, there seems to be a glitch in Google Chrome. If I have selected a page, Google Chrome does not change the background of that link permanently the way the other ones do.

For example, if I am on the "about us" page and I selected a blue background for that square in the menu. The other browsers will keep the background blue if I'm on the "about us" page. Google Chrome will not keep the square (link background) highlighted.

Any idea when you guys will update the code to accommodate this issue. It's more than a little annoying.

Sign in to reply to this post

Jason ByrnesWebAssist

can you post a link please so i can look into the issue.

Sign in to reply to this post

chrismoye407692

Here's the URL

I may have done something wrong when I moved the site over to my dev server. Did I miss a file or something? Everything seems perfect...

At any rate - here's the dev server URL - my_practice.php

Thanks for taking a look at this!!

Sign in to reply to this post

Jason ByrnesWebAssist

I'm seeing the same background in chrome as in safari and fire fox, i do not see any difference using Chrome, Fire Fox or Safari, the menus look identical in these three browsers to me.

Sign in to reply to this post

chrismoye407692

Let me clarify what I'm saying

What I mean is that when you select a page, the link doesn't change color and stay the same color. In other words, if I'm on the "my philosophy" web page, the link for My Philosophy should be blue. It isn't. It changes back to the original color.

I had originally done the site in javascript (www.chrismoye.com) and I didn't have any issues. This is my first time using the CSS Writer and the only remaining issue is the fact that it doesn't maintain the color state when after the mouse click.

Sign in to reply to this post

Jason ByrnesWebAssist

I dont see the curent page being highlighted in any browser, chrome, safari, or firefox. looking at the source code of your page, it doesn't look like you you have set the option to highlight the active menu item.

I see this code:

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




the "select_current: 0," means that select currant menu item is turned off.

it should be set to 3 to highlight the main menu item::

<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw.intializeMenu('cssmw',{select_current: 3, orientation: 2}); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw.intializeMenu('cssmw',{select_current: 3, orientation: 2}); }, true); }</script>
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...