Page 1 of 1
ESPN "tabs"
Posted: Fri Aug 22, 2003 9:11 am
by Toneboy
They're one of my favourite features on any web site. You'll see them on the
home page, and also within the main Baseball index as well (for swapping between the links for Peter Gammons, Rob Neyer and Jayson Stark).
Anyone know how you design them, or something similar? Any tell-tale pages or tutorials out there?
Posted: Fri Aug 22, 2003 9:39 am
by will
quite simple... div tags and the css "display" property. view the source of the homepage and jump down to line 799 - read on from there.
Posted: Fri Aug 22, 2003 1:08 pm
by McGruff
That ESPN site has too much js and flash for my taste (any flash at all is too much for me

). I got bored looking through the lengthy source code but here's a link which explains how to do it with CSS:
http://www.w3.org/Style/Examples/007/target.html
Posted: Sat Aug 23, 2003 5:52 pm
by Toneboy
Taking a peek through it, bit by bit. Even by an amateur's glance this looks as if it could be trimmed down a fair bit (using PHP, naturally).