Sports Reference Blog

BBR: “Sticky” Menus on Player, Team, and Season Pages

Posted by Justin Kubatko on August 30, 2012

I have modified the player, team, and season pages to make it a little easier to navigate the site.

On the player pages there is a gray menu bar that will "stick" to the top of the page as you scroll down. You can use this menu to access the various tables within the page (totals, per game, etc.) and to jump to a player's game logs, splits, shot charts, and finders. I have also added some extra tables to the player pages. Previously there was a basic table with playoff totals & per game stats and an advanced table with advanced playoff stats. Now there are four playoff tables: Totals, Per Game, Per 36 Minutes, and Advanced.

There is also a menu bar on the team pages. From this bar you can jump to a team's roster & stats, schedule & results, transactions, game log, and splits. Also, if you hover over the team name you will see a dropdown list with links to every season in the team's history.

The menu bars on the league and playoff pages contain links to the various season pages (summary, schedule & results, etc.). If you hover your mouse over the league name, you will see a dropdown list with links to every season in the league's history.

Although some may find these menus obtrusive at first, I think that with time you will appreciate the improved functionality, in particular when using the player pages. Please let me know if you have any comments or questions, either here or using the feedback system.

16 Responses to “BBR: “Sticky” Menus on Player, Team, and Season Pages”

  1. Josh Says:

    I like the new features, but how do I get to a player's career numbers for splits, shooting, etc. now?

  2. Justin Kubatko Says:

    Josh wrote:

    I like the new features, but how do I get to a player's career numbers for splits, shooting, etc. now?

    Sorry, I forgot to put in the link to the career splits. It should be back tomorrow.

  3. Anonymous Says:

    Is there any way to fix the main page? The links are listed in a column rather than in a row, which would not be much of a problem if the sub-menus weren’t listed in a column as well.

    Any update on adding an “NBA Finals” category to the player pages?

  4. Justin Kubatko Says:

    Anonymous wrote:

    Is there any way to fix the main page? The links are listed in a column rather than in a row, which would not be much of a problem if the sub-menus weren’t listed in a column as well.

    I'm not sure what pages you are talking about. Can you give me some examples?

  5. Anonymous Says:

    In my browser (IE 9)

    basketball-reference.com

    play index
    box scores
    players
    teams
    seasons
    coaches
    leaders
    awards
    playoffs
    draft
    olympics
    more [+]

    The header is displayed as a column (rather than as a row).

  6. apdul yalung Says:

    Please, make it an sticky menu-like the "NBA Scores" tab and the 'date' in it.

  7. Justin Kubatko Says:

    @Anonymous: I'll take a look at that.

    @Apdul Yalung: I have no idea what you mean.

  8. admin Says:

    Anonymous:

    Is it fixed for you now?

  9. Anonymous Says:

    Yes, the header is fixed on my browser (IE 9). However, there are issues with the sticky menu on player pages.

  10. Justin Kubatko Says:

    Anonymous wrote:

    However, there are issues with the sticky menu on player pages.

    Can you be more specific?

  11. Greg Wells Says:

    Justin, Following on what I tried to indicate: earlier mail, that you res-
    ponded to me: 9-4-12/10:28am; and anonymous also speaking to 9-4
    -12/8:00pm(Has nothing to do with 'Home Page' changes to column/
    row/highlights/etc.). 'Our' problem is on the individual player pages.
    Just under 'player name/birthdate/ht/position/college/etc. box', you now
    have- red/white/blue horiz. stripe(may include HOF/All-Star/etc.(if app-
    ropriate) then column of 'blue highlight titles'(can click on if you want to
    jump to that particular 'blued' entry)(BHT). That 'blue' column 'short'- for
    rookie/1 yr/2 yr/etc. or 'much longer- for player like Kevin Garnett. In
    either case when you 'scroll lower' on ANY player page, those same
    'BHT's' remain as 'overlay' column on left side of page, 'covering/obsc-
    uring' pertinent entries on that left hand side like-NBA season years/
    team played for. It's like the the 'BHT's' are 'carried' and stay in fixed
    position no matter where you are on rest of players page. I am glad to
    see someone other than me also experiencing this problem. Also glad
    you responding in timely manner. My computer/software was brand new
    Dec. 2010, wasn't 'state-of-art', but wasn't 'low end' machine either. If
    you not experiencing this same 'problem', and have later high tech PC,
    latest software, suggest you see if problem anonymous/me have can
    be replicated on a 'friends' computer/software not as up to date as yo-
    urs. Thank you in advance Justin, for your efforts.

  12. Justin Kubatko Says:

    Greg, please send a screen shot to [email protected]. I'm having a hard time visualizing the issue you described.

  13. Justin Kubatko Says:

    Greg, I think I may have found the problem. How does this page look now?

    http://www.basketball-reference.com/players/d/dantlad01.html

  14. Greg Wells Says:

    Justin, Following your request. I am not more than 'average' software
    savvy. Don't know how to send 'screen shot' you asked for. Agree page
    referenced on your 9-4-12/10:50pm- DOESN'T have problem. In fact,
    before I got back to you, checked some other pages to make sure. This
    what I found so far: Entering 'Player's Directory', clicking on any name
    (whether HOF/All-Star/short timer/long vet)- as long as last name started
    with "A through L"(includes your 'Dantley' page) didn't have 'problem'.
    But last name "M through Z" still had 'problem'. This also true when try-
    ing to look at 'player data' from a team's 'season page'. For example,
    2011-12 Orlando Magic: when I 'access' Ryan Anderson/Earl Clark/Glen
    Davis- NO PROBLEM; when I 'access' J.J. Redick/Jason Richardson/
    Quentin Richardson- STILL HAVE PROBLEM. To better describe: what
    I'm seeing is: under 'Player Picture/personal data area', for problem ca-
    ses- A 'gray box' with player name appears, immediately below that are
    the following 'in blue print(clickable) entries' in one column(in order):
    'Totals'_ 'Per Game'_'Per 36 minutes'_'Advanced'...then(in black)_
    'Other [+]'...then under that(in blue again): 'All-Star Game'_'Sim Scores'
    _(ETC.). What is then happening is you 'scroll down' to look at player
    entries(Totals/Per Game/Per 36 Mins...) and that 'gray box(w/name)'
    and all the 'blue print entries' STAY on left side('frozen in place'- like
    you moving a glass sheet with printing along left side down a telephone
    directory page); the 'blue ones' obscure "Season/Age/Tm" columns en-
    tries; 'gray box'(depending on player name length) also covers: "Lg/G/
    GS/etc." columns. Am willing to continue dialog with any reasonable re-
    quest, or if "sending" screen shot easy for you to describe how for me
    to do, will then do. But hoping my further description enough, I'm no
    programmer or know how to 'forward' whiz.

  15. Greg Wells Says:

    Justin, Boy you're fast. What ever you just did, no problems evident
    now. Thanks, have 'back' my 'cherished' NBA player stats, 'unsullied'.
    Hope my input helped, or maybe you found glitch on own, either way
    thanks for prompt attention to problem. In my 'original' posting to you,
    didn't really have 'problem' with 'reformat' of B-ball-ref 'home page',
    (don't fix what wasn't broke), just thought in doing it 'caused other
    (my) problems'. You all provide 'by far' the best 'one stop shopping'
    for just about all NBA stats-League/Season/Team/Player/Playoff/
    individual game box score(I could go on). Will continue to look for-
    ward to many seasons of same. Continue to respond to what you
    find as better way to present product. Thanks again for so quickly
    solving the problem.

  16. Bill M Says:

    Perfect! And great player page too! #UtahJazz