View Full Version : Tabs on a web page that can be switched without refreshing

11-05-2011, 02:33 AM
I've seen this before, but I can't figure out how to do this. I want to be able to put tabs on my webpage and the user can click it to switch windows, kind of like a browser inside a browser. The tabs will be generated by a list that a user has in their mysql database row (using php) but I need help learning how this is done. I tried googling around for it but couldn't figure it out. :confused:

11-05-2011, 10:21 AM
Try Googling "javascript tabs" - loads of options there.

11-05-2011, 08:07 PM
Try Googling "javascript tabs" - loads of options there.

I found this example which is basically what I need, but the only problem is the content is loaded as you switch tabs and not all ato once.


So say you load 3 websites on seperate tabs. Whatever tab your on will load the page, but as you switch tabs, the content is basically cleared from the current tab and loads the next one, which is a problem. I'm trying to put different chat boxes on each page but when the user changes tabs, the chat is closed and then the chat they switch to has to load. I want to be able to load all of the chat pages at once and allow the user to switch between chats while keeping them open and not having to wait for them to load when their switching.