New Features for 2.0.5 – JavaScript Team Toggle

Your suggestions are always welcome. / Vos suggestions sont toujours bienvenues.
Post Reply
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14804
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

New Features for 2.0.5 – JavaScript Team Toggle

Post by SimonT »

New Features for 2.0.5 – JavaScript Team Toggle

This is a feature I’m been waiting to do for a very long time. I think I had this in my head for more than a year! I call the JavaScript Team Toggle. The feature allows you to hide team’s data.

The best way to explain it is to try it. So follow the step to see it action.

1) Go to http://sths.simont.info/JavaScript/
2) Click on Pro Team Roster Link (Direct Link : http://sths.simont.info/JavaScript/SIMO ... oster.html)
3) Click on [Close / Open Team View] in the Team Link. It’s at the end after [Page Top]. You’ll see the Team 1 Data vanished.
4) Click again on [Close / Open Team View] to see the Team 1 Data again.

I also add 2 link at the top: “Close All Team View” that hides all teams’ data and “Open All Team View” that show back all team’s data.

What do you think of this feature? I personally trill with it! Long dream come true. :)
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
myRPHA.com
The Accomplished One / L'Accompli
Posts: 101
Joined: Sat May 01, 2010 11:55 am
Location: P.E.I. Canada
Contact:

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by myRPHA.com »

Beautiful! Nice job Simon!
Stephen Clow
RPHA Administrator (Ret.)

http://www.myRPHA.ca
Kramden23
The Addict / Le Drogué
Posts: 763
Joined: Tue May 13, 2008 8:33 pm

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by Kramden23 »

Pretty cool and it works well. However I'm not really sure of the benefit :?
Less than 1% of americans can speak french
More than 70% of canadians can speak english

Want more answers, why limit yourself? Post in english!
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14804
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by SimonT »

I want to make the HTML output more fun. Actually, this give me good idea! STHS Output Themes!
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
QSHL
The Crazy / Le Fou
Posts: 307
Joined: Mon Jun 02, 2008 5:31 pm

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by QSHL »

Output themes?

I mean, just like Kramden23, I think this works well and looks cool, but would never use it nor would my GMs.

Output TeamScoring and then Output TeamScoringLast10Games or stuff like that. That would be interesting to see the streaky players and such.

But themes?

Like "Fun Scoring Pages"? "Purple Rosters"? I'm not getting it.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14804
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by SimonT »

In the output option, you can have overall header, overall footer, file header and file footer to custom your HTML webpage output. I'm thinking it could be fun to able to copy those modification a commish would do a file and be able to reapply those modification to another league.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Steelhawk
The Crazy / Le Fou
Posts: 411
Joined: Sat Apr 26, 2008 3:53 pm
Location: Hamilton
Contact:

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by Steelhawk »

Kind of neat actually.. does this have a "remember " function?

If say a GM closes all teams but his own will it remember his selection when he returns to the page?

I can see a GM use for this for sure
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14804
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by SimonT »

It doesn't have a remember function. It's a simply Javascript. I'm not good enough to make Cookie Remember Function. Sorry.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
SDHL_Commish
New in Town / Le Ptit Nouveau
Posts: 48
Joined: Sun Apr 03, 2011 6:35 am

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by SDHL_Commish »

QSHL wrote:Output themes?

I mean, just like Kramden23, I think this works well and looks cool, but would never use it nor would my GMs.

Output TeamScoring and then Output TeamScoringLast10Games or stuff like that. That would be interesting to see the streaky players and such.

But themes?

Like "Fun Scoring Pages"? "Purple Rosters"? I'm not getting it.
I was thinking about how interesting and possibly helpful it would be to be able to track a players' recent performances.

Is this option possible, Simon?
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14804
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by SimonT »

Sadly, it's not possible. :(
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
SDHL_Commish
New in Town / Le Ptit Nouveau
Posts: 48
Joined: Sun Apr 03, 2011 6:35 am

Re: New Features for 2.0.5 – JavaScript Team Toggle

Post by SDHL_Commish »

SimonT wrote:Sadly, it's not possible. :(
No worries. :)
Post Reply