Results 1 to 2 of 2

Thread: AjaxTabs - "startajaxtabs" ignore DIV?

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

    Default AjaxTabs - "startajaxtabs" ignore DIV?

    1) Script Title: Ajax Tabs Contents

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...axtabscontent/

    3) Describe problem:

    I have 2 instances of AjaxTabs on a single page which work fine, however, one of the AjaxTabs needs to disappear when a user is logged in. The problem is that when AjaxTabs detects that one of the divs listed in the "startajaxtabs" section is not available, all tabs stop to function correctly.

    Code:
    <script type="text/javascript">
    //Start Ajax tabs script for UL with id="maintab" Separate multiple ids each with a comma.
    startajaxtabs("feedtab","acctab")
    </script>
    Is there a way of asking Ajax tabs to ignore the list somehow?

    Thanks


    BTW: This is a great little script - very appreciated!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    How are you making one of the Ajax Tabs instance "disappear"? If you're using CSS's display:none declaration, that shouldn't cause an error in the script even if you refer to it inside startajaxtabs.

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
  •