Sunday, February 24, 2013

Test 5: (css) 2013/02/24


From
Visitors
(_-_)
Manager:
@
Home
(_-_)
Manager:
Game _ of _

First pitch: _:__ __ ___

Starting Pitchers



Umpires
Home -
3B -
2B -
1B -


Weather


Rosters via MLB. Line-ups and Pitching Totals via ESPN.
Notes:

Welcome to the simplified Blog Template for the new 'Internet Baseball Scorecard 2013'.

I thought the reason the css wasn't working to render class attributes in the Blogger 'Compose' Interface - was that perhaps because of some hack I did in the template of the 2010 version of the blog - some critical edit I made as I was learning css and javascript was screwing up the works inside the new Blogger interface - which arrived post-beta - in early 2012.

This new baseball scorecard blog is the simplest hack I could think of. The blog was customized from a 3 column blog that is set to align left. (Blogger Template Style 'Simple' by Josh Peterson www.noaesthetic.com). Josh Peterson's Simple Template came with a 1500 pixels wide limit - which I reset to 3000 pixels in the blog's Template Variables. Then I deleted all the right column html and css - and that left me with a 3000 pixel wide blog that aligns left and has a 300 pixel wide left-sidebar - in which I placed a standard 'Blog Archive' widget.

Unfortunately this test proves that, with the CSS in a separate file - or in the blogs template - the Blogger interface does not properly place elements in Blogger's 'Compose' mode, writing interface --- which is key to this baseball scorecard project, because the baseball game is scored by the user, in the Compose interface - it must render exactly as the published post renders - it does not.

What you see is not what you get in this case - very strange; and very much limits what one can do with Blogger. I'm very disappointed. But, disappointment sometimes must be the mother of invention ... unfortunately.

I re-wrote the scorecard with all the style in the html - and it works perfectly, in Compose, and on Publish.

I will begin scoring the 2013 Blue Jays' season with the in-line style mark-up.



mh











Colour Legend
(as of this date)
Neon Green is a Base Hit
Forest Green is a runner advanced by a Base Hit or a Sacrifice
Yellow is Intentional Base on Balls, Defensive Indifference, a Sacrafice or Fielder's Choice
Red is an out
Pink are un-earned bases - Wild Pitch, Passed Ball or an Error
Neon Blue is a Stolen Base
Navy Blue is a base earned via a Hit or a Sacrifice, that results in a Run Scored
The Scoring Notations
BB
Base on Balls - Batter to first base because the umpire ruled that pitched ball was the forth pitch of the at-bat out of the strike zone
HBP
Hit By Pitch - Batter is ruled by the umpire to have been hit by pitch - awarded one base
BH
Base Hit - Batter-runner safe at first base via a hit ball
2BH
Two Base Hit - Batter-runner safe at second base via a hit ball
3BH
Three Base Hit - Batter-runner safe at third base via a hit ball
HR
Home Run - Batter-runner safe at home plate via a hit ball
RBI
Run Batted In - via a SAC, a BH or a BB - a run scores
RS
Run Scored.
SAC
Sacrifice - With less than two outs the batter causes a base runner to advance but in the process, is put out
FC
Ball hit on the ground, fielded and a put-out made of any base runner other than the batter-runner
DI
Defensive Indifference - A baserunner advances because the defence, for strategic reasons, does nothing
IBB
Intentional Base on Balls - The defences decides to walk a batter for strategic reasons
SB
Stolen Base - Base runner advances on a pitched ball despite the defence's best efforts
CS
Caught Stealing - A baserunner is put out while tring to advance on a pitch
K
Called third strike - Batter out because the umpire ruled that with two strikes in an at-bat, a pitched ball was in the strike zone
Ks
Batter out, swinging third strike
IFR
Infield Fly Rule - A ball popped up on the infield that an umpire rules is easily catch-able - batter-runner is out, the ball is dead
LO
Ball caught that was hit so hard it appears like the vector was a straight line
GO
Ball hit on the ground, fielded and the batter-runner is put out at 1B
FO
A high arching hit ball caught on the fly by a fielder
E
The defence allows runners to advance because of less than stallar play
Eth
The defence allows runners to advance because of less than stallar throw
WP
Wild Pitch - a pitched ball that bounces in and is not caught by the catcher and that results in a runner advancing
PB
Passed Ball - a pitched ball that doesn't bounce and is not caught by the catcher and that results in a runner advancing
pop
A ball hit in a high arch such that the distance travelled up is greater than the distance travelled from the plate
GR
To prevent injury, "Ground Rules" define what hit or thrown balls are in, and out of play - announced before each game by the home team manager
f
Hit ball caught in foul territory - for example "FO3f" - Fly Ball caught by First Base, foul
op
Out of Play - for example "FO5op", Fly ball caught by Third Base across the railing in the stands, or in the camera bay...
BRIF
Base runner is out for interfering with the defence while they're making a play on a batted ball
Ks2f
Foul tip with 2 strikes, caught by catcher - strike three
-
-
-
-
-
-
-
-
-
-
-
-
Box Score
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th
Runs
Hits
Errors
LOB
Visitors













Home















Visiting Team
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th
1.





































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
2.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
3.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
4.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
5.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
6.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
7.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
8.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
9.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
Per-Inning Totals
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th
Totals
Runs
Hits
Errors
LOB













































Visitors Bench (Bat/Throw)
Fielders
Bullpen
Starters

Catchers





Infielders





Outfielders



















Visitor Pitching Totals
IP
H
R
ER
BB
K
HR
P/S
ERA


























































































Home Team
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th
1.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
2.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
3.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
4.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
5.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
6.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
7.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
8.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
9.







































































































































































































































































































































































































AB
R
H
BB
SAC
RBI
SO
HBP
LOB
2BH
3BH
HR
AVG
PO
A
E
Per-Inning Totals
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th
Totals
Runs
Hits
Errors
LOB















































Home Bench (Bat/Throw)
Fielders
Bullpen
Starters

Catchers





Infielders





Outfielders



















Home Pitching Totals
IP
H
R
ER
BB
K
HR
P/S
ERA


























































































Minima II Baseball Scorecard - v 2.06.01 - Build 2012Aug19

Valid HTML 4.01 Strict

No comments :

Post a Comment