Page 1 of 1

Game Listing Code

PostPosted: Sat Jul 08, 2006 5:49 am
by Tr0y
Maybe change player listing from
Code: Select all
<div> <img src="images/icon_status_red.gif" width="10" height="10" class="icon" alt="status" /> <img src="images/rank2.gif" width="18" height="18" class="icon" alt="Sergeant" /> <a href="forum/profile.php?mode=viewprofile&amp;u=534">leo611</a> [<a href="player.php?page=reputation&amp;callsign=leo611">0-0</a>] </div>
.
.
.


To an unordered list like
Code: Select all
<ul>
  <li class="status_color"><a class="rank" title="rank name's Profile" href="profile.php">name</a> [<a href="rep.php" title="name's Reputation">0-0</a>] </li>
.
.
.
</ul>


Also, if you want I can send you a copy of the js code to make the listing sortable.

PostPosted: Mon Jul 10, 2006 1:46 am
by Tr0y
shameless bump

PostPosted: Fri Jul 14, 2006 12:55 pm
by lackattack
I like this idea. If I put <a class="rank" ...>username</a> what would the css be to get the rank icon appear to the left of username?

Do you need advance warning to update your greasy monkeys?

PostPosted: Fri Jul 14, 2006 3:19 pm
by Tr0y
Code: Select all
<style type="text/css">
a.rank2 { padding-left:28px; /* 28 - 18px rank width = 10px padding */ background:url(rank2.gif) left no-repeat; }
</style>
<ul><li><a class="rank2" href="bla.html">Name</a></li></ul>


Try that.

Um... I probably wont update them in time even if you gave me advance warning b/c I'm really busy at the moment.

I'm pushing everything back till late August... I'd just update it.

Maybe you can make the game listing sortable? :wink:
http://www.kryogenix.org/code/browser/sorttable/
It's a lot easier than it sounds.

But yea any advance warning you can give would be very helpful. Like an approximation of when changes are going to occur and to what.

P.S. While you are making changes to the gamelisting code.... Can you make it so when you click on a map thumbnail it opens a new window with the large map version... If you want to make it really sexy you can google lightbox.

PostPosted: Fri Jul 14, 2006 4:43 pm
by mrdexter
Yay lightbox! THat's al ot easier than it looks too Lack :-) You know you wanna :-)