Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 10th, 2012  |  syntax: None  |  size: 0.66 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. jQuery UI tabs style fine - now how can I get them to work?
  2. $('#map').gmap('addMarker', markers[i]).click(function() {
  3.     var title = $j(this).attr('title');
  4.     $('.tabs').tabs({
  5.         create: function(e, ui){
  6.             console.log('here');
  7.         },
  8.         show: function(e, ui){
  9.             console.log('showing');
  10.         },
  11.         select: function(e, ui){
  12.             console.log('WHY U NO WORK');
  13.         }
  14.     }); // init tabs
  15.     $('#map').gmap('openInfoWindow', {'content': $('#'+title).children('.content').html() }, this);
  16. });
  17.        
  18. .ui-tabs .ui-tabs-hide {
  19.     position: absolute !important;
  20.     left: -10000px !important;
  21.     display:block !important;
  22. }