Important for embedded tabs

The tabs widget does not support embbeded tabs (tabs in tabs) by default. If you plan to use them - in TOC maps for example -, you should add some simple changes to the ui.tabs.js file as follows. The modification is OPTIONAL because Google Maps Tools use embedded tabs only on the Embedded items demo page.

OPTIONAL MODIFICATION in ui.tabs.js (version 1.6): Around line 73:

Original

  ...
  _tabify: function(init) {

    this.$lis = $('li:has(a[href])', this.element);
    this.$tabs = this.$lis.map(function() { return $('a', this)[0]; });
    this.$panels = $([]);

    var self = this, o = this.options;

    this.$tabs.each(function(i, a) {
  ...

Modified

  ...
  _tabify: function(init) {

    var self = this, o = this.options;  //moved from below

    o.tabSelector = (o.tabSelector !== undefined && o.tabSelector !== null && o.tabSelector.length) ? o.tabSelector : 'li'; //added
      
    this.$lis = $(o.tabSelector +':has(a[href])', this.element);  //"li" deleted, "o.tabSelector +" added
    this.$tabs = this.$lis.map(function() { return $('a', this)[0]; });
    this.$panels = $([]);

    var self = this, o = this.options;  //moved up

    this.$tabs.each(function(i, a) {  //no changes from here
 ...