Hate to beg, but I'm stumped. On this map website I cannot get the UI tabs in the popup InfoWindow to switch between "film", "synopsis", and "location". Using jQuery gmap V3, latest versions of jQuery and jQuery UI. Creating UI tabs in the gmap InfoWindow on addMarker function:
$('#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);
});
Tabs created in the info window get styled properly but will NOT switch. I've tried the tabs "left fix" thing:
.ui-tabs .ui-tabs-hide {
position: absolute !important;
left: -10000px !important;
display:block !important;
}
... to no avail. I've got a super simple test set up over here (taken from this short tutorial), and it works great. Where can I start debugging? Any suggestions as to what might be wrong? FTP cred available on request! HUGE thank you in advance...
Quick links:jQuery gMap plugin | marker plotting js | theme js |