Plz.
So hunting events are wrapped in <span class="hunting">...</span><br><br> and so on.
That way client side styling can be cross language.
Wrap events in span tags with classes
Moderators: Public Relations Department, Players Department, Programming Department, Game Mechanics (RD)
- Arlequin
- Posts: 495
- Joined: Wed Sep 20, 2006 2:32 pm
- Location: Valencia
- Contact:
Wrap events in span tags with classes
♫ bling! ♫
- SekoETC
- Posts: 15526
- Joined: Wed May 05, 2004 11:07 am
- Location: Finland
- Contact:
Might as well attach the classes to paragraphs, that would be shorter. If there is a double line break then a paragraph ought to be used instead even without classes being involved. The troublesome part is that there would be need for a new table in the database for event classes (unless every single different event type would be its own class - there are hundreds of them!) Btw how did you manage to post that code without the forum swallowing the class="" part?
Not-so-sad panda
- NaruShadow
- Posts: 551
- Joined: Wed Dec 12, 2007 7:15 pm
- Location: A hamster wheel somewhere in my mind :D
- Contact:
- Arlequin
- Posts: 495
- Joined: Wed Sep 20, 2006 2:32 pm
- Location: Valencia
- Contact:
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
- Arlequin
- Posts: 495
- Joined: Wed Sep 20, 2006 2:32 pm
- Location: Valencia
- Contact:
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
Arlequin wrote:joo wrote:if the events page could be properly customised.
I've got it customized by parsing the events, but it's an unnecessary complication. (I would upload a screenshot, but it would show current events.)
I thought of doing that too, but it seemed like too much work for the chance that it might all become useless if the events format was changed.
Who is online
Users browsing this forum: No registered users and 1 guest

