Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#18 OverlayColor for link on click

open
nobody
None
5
2008-11-03
2008-11-03
No

When clicking a link the actual behavior is to change the background color with an hard-coded color.

The normal behavior is to use the CSS class "a:active" to change the foreground color (not the background one).

I don't know how to do that, anyway the default behavior should be the IE one: no color change (foreground or background). This is the best way for now since there's no way to change it.

So, the attached patch simply removes the line:
((HTMLLinkElementImpl) node).getCurrentStyle().setOverlayColor("#9090FF80");
from org.lobobrowser.html.renderer.HtmlController.onMouseDown()

Discussion

  • Don't change bg color on mouse down on a link

     
    Attachments