javascript to hide a div and make another div fill that place

Discussion in 'HTML & Website Design' started by kakkalo, Mar 18, 2009.

  1. #1
    hello, i was thinking of having a site with two column which is essentially two big div. so what i want to do is have a button link on the main column so athst if you click on it the sidebar column will hide it self and will make the main column larger. so it will actually modify the css of that column. and after clicking that button again the reverse operation will happen.

    can you please help me how i can approch this and what to use it. it is sort of like new veoh layout, like when you click on the large video the sidebar disappersa and the video space become larger.

    thank you guys in advance.
     
    kakkalo, Mar 18, 2009 IP
  2. ivogue

    ivogue Peon

    Messages:
    246
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0