Made a small enhancement to make the usernames directly clickable - thanks to quangntenemy who gave the feedback that the tiny icons are a bit hard to get at.
I didn't peronally like the tiny icons, but at the time of introducing the profile feature, I didn't want to mess with the coloured usernames, which were just plain text and non-hyperlinks. And I didnt' like the inconsistency too. In the Online stats and the forum, the profiles were accessed through the tiny icons. In Ranking, they were accessed through the usernames.
Took a while to get the CSS to work. The class names come from the 45 hex colour colours for each cell of the pyramid (1.1, 1.2...9.1). And one of them (the Geb one) starts with a number and as a result, the css didn't work properly in IE and Firefox. It worked in Opera though. That was fixed by prefixing a letter to every class name.
But after fixing that, the hover still had problems in FF. quangntenemy came to my rescue and pointed out that instead of:
.classname a:link { defn; }
it should be:
.classname a { defn; }
And he also suggested I remove .classname a:visited as it is the same as the link colour.
And then it works peferctly :)
Last edited on 2008-01-27 16:47:39 by Pha. Sphinx