Change content by clicking a link/button

M

Mike

ESPN.com (righthand column) has this tabbed section whereby if you
click different tabs, each will draw out different content below it.
I'd like to incorporate this in my project. Can someone tell me how
they do it?
Thanks a lot!

-Mike B.
 
R

rf

Mike said:
ESPN.com (righthand column) has this tabbed section whereby if you
click different tabs, each will draw out different content below it.
I'd like to incorporate this in my project. Can someone tell me how
they do it?

Nothing that serious, just some hidden divs. The tab line is a series of
<a>'s with an onclick handler that hides and shows the relevant divs. Look
at their source and search for changeGreyTab.

Cheers
Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top