Help - Search - Members - Calendar
Full Version: minor glitch at RareWarez
Hydrogenaudio Forums > Hydrogenaudio Forum > Site Related Discussion
sony666
Hi there smile.gif

I got a slight glitch at rarewarez.hydrogenaudio.org.

when I leave to mouse cursor over one of the blue areas (alternating light/dark blue) where the files and news are displayed, I get a tooltip "colorShiftTarget" ofter ~0.5 seconds, which is pretty annoying.
Using Mozilla Firebird 0.7 / WinXP.

Thanks, damn great site nevertheless hehe tongue.gif
rjamorim
Dibrom created that Javascript. I have no idea how to fix it. sad.gif

BTW: It's RareWares
Dibrom
QUOTE(sony666 @ Jan 12 2004, 04:18 PM)
Hi there smile.gif

I got a slight glitch at rarewarez.hydrogenaudio.org.

when I leave to mouse cursor over one of the blue areas (alternating light/dark blue) where the files and news are displayed, I get a tooltip "colorShiftTarget" ofter ~0.5 seconds, which is pretty annoying.
Using Mozilla Firebird 0.7 / WinXP.

Thanks, damn great site nevertheless hehe tongue.gif

The reason this happens is because of the way the DOM stuff works for automatically altering the colors in the different table cells.

I need to be able to traverse the DOM and get a value name, and if it is the correct one, perform a color transformation on the element. Unfortunately, I had to use the title tag to store this information because Internet Explorer (being the great browser that it is) wouldn't let me simply do this with the class name. The title attribute was the only other attribute I could think of using (which worked with IE) that wasn't overly problematic (and was still standard). Unfortunately, this has the side effect you've noticed.

As a solution, I could simply revert to using class names, but that would mean the color shifting wouldn't work on IE, which would probably leave the majority of the users out in the cold.

Annoying? Yes. This is what happens when having crappy browsers with poor standards support in wide use and one tries to find a solution that works across everything dry.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.