New Features for 2.0.5 – JavaScript Team Toggle
-
- 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
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.
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
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- 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
Beautiful! Nice job Simon!
Re: New Features for 2.0.5 – JavaScript Team Toggle
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!
More than 70% of canadians can speak english
Want more answers, why limit yourself? Post in english!
-
- 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
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
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: New Features for 2.0.5 – JavaScript Team Toggle
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 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.
-
- 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
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
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- 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
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
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
-
- 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
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
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- 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
I was thinking about how interesting and possibly helpful it would be to be able to track a players' recent performances.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.
Is this option possible, Simon?
-
- 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
Sadly, it's not possible.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- 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
No worries.SimonT wrote:Sadly, it's not possible.