Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    213
    Thanks
    15
    Thanked 5 Times in 5 Posts

    Question Tabs on a web page that can be switched without refreshing

    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.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,950
    Thanks
    9
    Thanked 724 Times in 718 Posts
    Try Googling "javascript tabs" - loads of options there.

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    213
    Thanks
    15
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by SB65 View Post
    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.

    http://www.barelyfitz.com/projects/tabber/

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •