Results 1 to 4 of 4

Thread: Chained Select in Ajax Tabs, problem

  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Chained Select in Ajax Tabs, problem

    1) Script Title:
    Ajax Tabs Content script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...axtabscontent/

    1) Script Title:
    Chained Select Menu
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem:

    i am using these 2 scripts from dynamicdrive.
    i have 2 tab menu's. First tab (default) have page with chained select.
    The second one have text file.
    Everything works fine, but when u click on second tab and the click back to first tab (default) then chained select looses it's contents.

    i think it is because chain select requires:
    Code:
    <body onload="initListGroup('chainedmenu', document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel, 'saveme')">
    I tried to put it on first tab onclick event.
    Code:
    <a href=#default onClick="initListGroup('chainedmenu', document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel, 'saveme')" rel="firstcontentarea" id=mytab>First Tab with Chained sel</a>
    but it doesn't work plz need help, any idea would be appreciated

  2. #2
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down C'mon

    Hey, yall can't find a solution here? i am surprised..

  3. #3
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry

    Hommies Help

  4. #4
    Join Date
    Aug 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Not sure how helpful this will be but my big problem with the ajax tabs script was that I kep thinking that the content was stored somewhere and then switched in and out when you clicked the tab. You probably already know this but it doesn't work that way. The content is fetched fresh when you click the tab. So, unless you go through some coding gymnastics to preserve the state of the content, it will look the same every time.

    Hope this helps...

    Gandalf

Bookmarks

Posting Permissions

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