Game Listing Code

Suggestions that have been archived.

Moderator: Community Team

Post Reply
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Game Listing Code

Post 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&u=534">leo611</a> [<a href="player.php?page=reputation&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.
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

shameless bump
User avatar
lackattack
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Post 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?
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post 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.
User avatar
mrdexter
Posts: 212
Joined: Sun Mar 19, 2006 6:21 am
Location: England

Post by mrdexter »

Yay lightbox! THat's al ot easier than it looks too Lack :-) You know you wanna :-)
Positive: Great guy, will always play to his best. Honourable and fun to play with as well. You know you're in for a rough time playing mrdexter :) Game 31384 Haydena
Positive: Mr D is the golden child of CC, if we had to elect a king he'd get my vote! Game 76700 silus
Post Reply

Return to “Archived Suggestions”