Ducati Sporting Club UK
DesmoDue - General Questions and Chat
Discussions on the race series devised and supported by the DSC.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21-Jun-2006, 17:57
Tonio600's Avatar
Tonio600 Tonio600 is offline
Registered Forum User
Ducati in my Blood
 
Posts: 4,379
Join Date: Dec 2004
Mood: What a wonderful world.
Smile Web DD standing improved, can be tuned for your own need...

Just added some basic features... When dropping the 2 worse results, those are striked out in the standing. Also you can highlight your name in the standing, when making a link from your personnal website by example.

The basic standing URL is as below:
http://www.tonio82.co.uk/dd_standing/

If you want to make a direct link from your website, it may be nice to specify the season in the link, so that your visitors won't have to select it.

season 1: season 2005
season 2: season 2006, class A
season 3: season 2006, class B

So if you want a direct link to the class A standing, just use the link below:
http://www.tonio82.co.uk/dd_standing/?season_id=2

Then you may want to display the standing with the 2 worst results dropped by default, so just specify the "dropWorst" variable in the link, as below:
http://www.tonio82.co.uk/dd_standing...id=2&dropWorst

Finally, if you want your visitors to spot you very easily in the standing, you can highlight your line. Just specify the "highlight" variable giving it the value of your race number. Below is an example with Ali (DD #7) highlighted:
http://www.tonio82.co.uk/dd_standing...st&highlight=7

My 2p.
Quote+Reply
  #2  
Old 21-Jun-2006, 18:09
Dominic Clegg's Avatar
Dominic Clegg Dominic Clegg is offline
Registered Forum User
Big Twin
 
Posts: 1,354
Join Date: Sep 2005
Mood: DD 2006: 4th Top Rookie. DD 2007: 2nd Class B. DD 2008: 2nd Class B.
thats real good thank you
Quote+Reply
  #3  
Old 21-Jun-2006, 18:58
kye's Avatar
kye kye is offline
Registered Forum User
500SD
 
Posts: 627
Join Date: Oct 2005
Mood: www.kylebennettmedia.com
When it drops 2 results, I thought we got to drop our 2 worst rounds not our 2 worst results?
Quote+Reply
  #4  
Old 21-Jun-2006, 19:04
Tonio600's Avatar
Tonio600 Tonio600 is offline
Registered Forum User
Ducati in my Blood
 
Posts: 4,379
Join Date: Dec 2004
Mood: What a wonderful world.
you can drop 2 races, that's it. Whatever they're in the same round or not. You can't drop 2 rounds (potentially 4 races...). Was it your question?
Quote+Reply
  #5  
Old 21-Jun-2006, 19:12
kye's Avatar
kye kye is offline
Registered Forum User
500SD
 
Posts: 627
Join Date: Oct 2005
Mood: www.kylebennettmedia.com
Yeh sorry, I was under the impression we could drop 2 rounds, my mistake
Quote+Reply
  #6  
Old 21-Jun-2006, 19:30
ali's Avatar
ali ali is offline
Registered Forum User
Ducati Meccanica
 
Posts: 2,463
Join Date: May 2004
Mood: Damp
That's brilliant Tonio, especially as you've managed to do all the work for me!

Seriously though, nice bit of coding.

Ali
Quote+Reply
  
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector
Switch to Vertical postbit Use Vertical Postbit

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Recent Posts - Contact Us - DSC Home - Archive - Top
Powered by vBulletin 3.5.4 - Copyright © 2000 - 2024, Jelsoft Enterprises Ltd. - © Ducati Sporting Club UK - All times are GMT +1. The time now is 07:58.