
Untitled
By: a guest on
Aug 10th, 2012 | syntax:
None | size: 0.66 KB | hits: 8 | expires: Never
jQuery UI tabs style fine - now how can I get them to work?
$('#map').gmap('addMarker', markers[i]).click(function() {
var title = $j(this).attr('title');
$('.tabs').tabs({
create: function(e, ui){
console.log('here');
},
show: function(e, ui){
console.log('showing');
},
select: function(e, ui){
console.log('WHY U NO WORK');
}
}); // init tabs
$('#map').gmap('openInfoWindow', {'content': $('#'+title).children('.content').html() }, this);
});
.ui-tabs .ui-tabs-hide {
position: absolute !important;
left: -10000px !important;
display:block !important;
}