You can also create a widget out of any table of stats on an SR
site. The easiest way to get this code is to click on the "Embed"
tooltip found just above the stat table you wish to embed.
You can also construct the code yourself, but this is a more
advanced technique. The example below is the code for Ray Allen's
per-game stats. To convert this to another player, just replace
"a/allenra02" with the appropriate id for the player in question.
For example, for Larry Bird you would use "b/birdla01". These id's
can be retrieved from the player's
Basketball-Reference.com page
.
To exclude a particular set of columns add a parameter
"&del;_col=1,2,3,12". This example would delete columns 1,2,3, and 12.
To exclude a particular set of rows add a parameter
"&del;_row=2,3,12". This example would delete rows 2,3, and 12. Note
that row 1 is the header.
To set a max set of rows to display, add a parameter
"&max;_rows=12". This example would cap the number of rows at 12
(including headers).
Ray Allen with CSS
Ray Allen
We can't show this as the css is loaded above.