annafell89 wrote:
Yes, IE6 doesn't have support for :hover attributes, (Or any :... attribute actually)
That's not quite correct, because IE6 supports :hover attributes on html-anchors (which are used for navigation-links in the user control panel). So you could create a css-class for these links, sth. like this
Code: Select all
a.navlinks {display:block; width:200px; padding:any px}
a.navlinks:hover {background:#thebluecolor}
and you can reach clickable hoverlinks via css (so, the same effect), without any use of javascript. Another benefit is that the small links are easier to use, because you do not have to click the small text, you can click the "block"-link area...
if you use display: block; then IE shows the strangest things as I think it does not know what to do
Just to explain what I am saying:
I had a layout with tabs. If you hovered the tab, it changed color, no matter where you positioned your mouse on the tab.
on exactly the same page, I have a list of links which are displayed as blocks. like here on the UCP lefthand side menu.
Now the funny thing with these is, that the rollover effect only occurs when the actual text is hovered.
So to come to my conclusion:
You have like, no clue on how IE6 will behave, will it show the effect on text hover on or hover of the entire set element.
Therefor the javascript solution is much 'saver' because you then know it will work, also for IE.
If you do not have javascript enabled, then of course you don't see this. But if you disable javascript the bbcode buttons, smilley add links and all other javascript related links will not work either, which means that you then drop functionality, by disabling the javascript. But this is a choise you make yourself.
(Note that these are MY opinions, if there were opinions).