Buy PSP - Personal Loans - Shares - Web Advertising - Loans

PDA

View Full Version : how do i make this column. please help if you are familiar with it


sakib000
Jan 13th 2008, 5:09 am
please look here (http://www.timesonline.co.uk/tol/news/world/asia/article3177691.ece).

On the top right side of the page there is a box that contains multiple content that can be switched by clicking on the buttons name "Most commented" "Most read"

I think its ajax based or its html and css combination

thanks

rohan_shenoy
Jan 13th 2008, 10:43 am
I think javascript alone can do that. Though it can also be done with AJAX.
I had myself written a JS for it at javascript.biologyformhtcet.com/display_tabbed_items.html(Copy-paste URL into browser)
It may little bit of cleaning though.

shallowink
Jan 13th 2008, 11:13 am
Should be possible with JS and CSS. Set the onclick function to JS which alters the visible state. Just google for a javascript css tutorial and it should be covered.

sakib000
Jan 13th 2008, 12:23 pm
thanks its here http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm