Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Tabbed banner

something like chitika



8:40 am on Jan 26, 2007 (gmt 0)

5+ Year Member


I would like to create a tabbed banner, something like chitika is offering. Maybe someone have seen any tutorials about it or have made anything like that in the past? I have googled for it, but I'm not getting anything like that. Maybe I'm using bad keywords, I don't know. Any help is appreciated!



8:18 pm on Jan 29, 2007 (gmt 0)

5+ Year Member


The high level view of this is for each tab you have a div that is position:absolute and display:none.

The active tab is display:block.

the row of tabs is styled with css and has a link:hover state that makes it look different. At the same time;

getElementByID('the div id').style.display='block';
getElementByID('the other divid').style.display='none';
getElementByID('the other,other div id').style.display='none';"

All of this can be packaged a little cleaner with some slick js functions and css but that is the trick to it.


2:33 pm on Jan 30, 2007 (gmt 0)

5+ Year Member

thank you for a short explanation but it really helped me to understand the basics! ;)

Featured Threads

Hot Threads This Week

Hot Threads This Month