Download & Extend

Can the colors of the fade effect be modified?

Project:DHTML Menu
Version:6.x-3.5
Component:Javascript code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

On my site, the text appears green during the fade which looks strange with the background color. Can this be modified through a theme function or something? Thanks in advance.

Comments

#1

I can confirm this happens on one of our sites as well, I was just searching for a solution. Funny things is there's no green in any of our style sheets so I'm unsure where it's coming from.

#2

It seems like the green only becomes apparent in Firefox... Is that true for you as well?

#3

Yeah I just tested a few browsers and it's only happens in Firefox, I'm running Firefox 3.0. I also see the same thing happening on the official demo http://dev.ermarian.net/dhtml_menu/

#4

It happens with other things that do a fade effect as well, such as Views Slideshow. If anyone has any ideas I'd love to hear them.

#5

I have found that if you set the background of the text element that you are fading there won't be any greenish background. It's only an issue if the background of the text is transparent.

#6

That's strange, good find.

For testing purposes I set the text color to white because then the green really stands out. I realised if you set the background of ANY parent item to black it stops the green fade, but it only works with dark colors for example try a light color like #EDF5FA. Then I made the font-size really big and what's actually happening is as the font goes transparent there's a green border around the text, and I'm unsure if the black background is actually stopping the the green border or if it make it less visible.

nobody click here