Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:58
Problem with rollovers
Poster: Maestro
Dated: Tuesday January 4 2005 - 16:58:40 GMT
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.
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
Poster: Ruth
Dated: Tuesday January 4 2005 - 18:40:37 GMT
try offbgcolor="transparent"; instead of none, and also try just removing the offbgcolor= parameter.
Ruth
I tried.
Poster: Maestro
Dated: Tuesday January 4 2005 - 18:45:45 GMT
I tried out both ideas.
Neither helped.
Poster: Ruth
Dated: Tuesday January 4 2005 - 21:35:34 GMT
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
Why background color?
Poster: Maestro
Dated: Tuesday January 4 2005 - 22:42:13 GMT
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.
Poster: Ruth
Dated: Tuesday January 4 2005 - 23:26:11 GMT
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:
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';
Example: visitedcolor='#B141AA';
Ruth
Smart, very smart..
Poster: Maestro
Dated: Tuesday January 4 2005 - 23:53:09 GMT
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:
<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?