how do i make this column. please help if you are familiar with it

Discussion in 'Programming' started by sakib000, Jan 13, 2008.

  1. #1
    please look here.

    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
     
    sakib000, Jan 13, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    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.
     
    rohan_shenoy, Jan 13, 2008 IP
  3. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #3
    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.
     
    shallowink, Jan 13, 2008 IP
  4. sakib000

    sakib000 Active Member

    Messages:
    415
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    58