I'm currently working on creating a feature similar to the bottom bar in GMail or Facebook's chat window. Just to clarify, I am not attempting to develop a chat service or anything of that nature.
In Facebook's chat function, when you click on a friend, a rectangular block appears at the bottom of the visible page with your friend's name and chat history.
I was curious about how to generate tabs at the bottom of the page based on a list of items, such that clicking on each item would display its corresponding information in a tab?
Would it be necessary to pre-generate tabs for each item and then set them to display:none, only showing them when clicked, as shown in the pseudo-code below?
$(##tab attribute##).click(function {
##selected tab##.show()
}
)