View Full Version : AjaxTabs - "startajaxtabs" ignore DIV?

09-12-2007, 02:13 PM
1) Script Title: Ajax Tabs Contents

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

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.

<script type="text/javascript">
//Start Ajax tabs script for UL with id="maintab" Separate multiple ids each with a comma.

Is there a way of asking Ajax tabs to ignore the list somehow?


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

09-12-2007, 10:45 PM
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.