Problem with rollovers

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Maestro
Super Advanced
Super Advanced
Posts: 45
Joined: Fri Dec 24, 2004 12:48 am
Location: Fort Bragg, CA
Contact:

Problem with rollovers

Post by Maestro »

You can see in this animated image that when I roll over the Main_Menu one of the elements ("Departments") takes on what looks like an on/offcolor.

Image

I cannot find any reason why this would have suddenly appeared.
The only change that I can come up with that might explain it is the upgrade from 5.66 to 5.68.

Perhaps I missed something?
Here's the menu_data.js code.

PS: Different browsers give different results..
Safari is what I used for the anamation.
It also happens in Explorer (different color), suggesting it is picking up the color from the browser's default visited color definition.
It does not appear however in Firefox.
All Mac.


PPS: Test it yourself at http://fbcity.securesitehosts.com/default.lasso

Thanks.
-Tim
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

try offbgcolor="transparent"; instead of none, and also try just removing the offbgcolor= parameter.

Ruth
User avatar
Maestro
Super Advanced
Super Advanced
Posts: 45
Joined: Fri Dec 24, 2004 12:48 am
Location: Fort Bragg, CA
Contact:

I tried.

Post by Maestro »

I tried out both ideas.
Neither helped.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Why not try putting in offbgcolor="#284450"; that matches the image on which the menu is sitting?

Just for info, it does not happen on the pc IE5.5, Netscape, Opera, Firebird .07

Ruth
User avatar
Maestro
Super Advanced
Super Advanced
Posts: 45
Joined: Fri Dec 24, 2004 12:48 am
Location: Fort Bragg, CA
Contact:

Why background color?

Post by Maestro »

Ruth,

I'm a bit confused here.
What does any kind of background color have to do with this problem?

The problem, as I see it, is that (on the Mac browsers I have looked on) the one and only menu element's font color changes to the browser's default VISITED color whenevr any of the elements on the same menu are rolled over.

At no point does the background color come into the picture I have been describing here.

Am I missing something crucial here?
Could the background color affect one element out of several in such a strange way?

It looks to me like a bug.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Since I don't have a Mac, and it isn't happening on the PC I wasn't aware it was the visited color and was just making suggestions as to possible fixes. However, since it is visited color, have you considered setting the visitedcolor= parameter listed in the menu quick references guide?

Code: Select all

visitedcolor Sets the text color for items previously visited. The visitedcolor property uses all valid HTML colornames or hex values. Note that the hash is needed for all hex value definitions.
Example: visitedcolor='#B141AA'; 
Ruth
User avatar
Maestro
Super Advanced
Super Advanced
Posts: 45
Joined: Fri Dec 24, 2004 12:48 am
Location: Fort Bragg, CA
Contact:

Smart, very smart..

Post by Maestro »

That did it, yeah!
Although I don't know why this problem reared its ugly head to begin with.

But who cares.
Thank you.


On another note, I made another posting here and was wondering if you had any thoughts regarding same.
So far, I have been able to get it to open the first level using:

Code: Select all

<a href="javascript:popup('TopLibrary');">Visit our PDF library</a>
But that only opens the one menu.
I need to have it open that one, and the sub menu too.
And, if possible, to have it do the same form of highlighting at the nodes as if the user had actually moused over (or in my case drilled down by clicking) their way there - although this latter would be nice, it's not critical, but being able to popup deeper than one level sure would.

Your thoughts?
Post Reply