Conquer Club

Game Listing Code

Suggestions that have been archived.

Moderator: Community Team

Game Listing Code

Postby Tr0y on Sat Jul 08, 2006 5:49 am

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

Postby Tr0y on Mon Jul 10, 2006 1:46 am

shameless bump
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby lackattack on Fri Jul 14, 2006 12:55 pm

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
Corporal 1st Class lackattack
 
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Postby Tr0y on Fri Jul 14, 2006 3:19 pm

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

Postby mrdexter on Fri Jul 14, 2006 4:43 pm

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


Return to Archived Suggestions

Who is online

Users browsing this forum: No registered users