Reload Google Map in a tab to make map appear
-
When a Google map is included in a tab, it needs to be reloaded before it will appear (something to do with it being hidden initially and the map is still hidden even though the tab is shown).
I have it working by adding the reload code directly into the tabby.js file at the end of the click function, however I’d rather not change the source. Is there a way to do this without changing the source? I’ve tried the following but the click event is not getting triggered here:
$(document).ready(function(){ $( "li#tablist1-tab2" ).click(function() { alert ("hello"); }); });
Great plugin, by the way!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Reload Google Map in a tab to make map appear’ is closed to new replies.