1
我正在使用jQuery選項卡實現Google Map,但沒有正確顯示。
帶有jQuery選項卡的Google Map API
我試過這段代碼來重新調整標籤ID的地圖onclick。
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery("#tab6").click(function() {
google.maps.event.trigger('location-canvas', 'resize');
map.setCenter(bounds.getCenter());
map.setZoom(16);
});
});
</script>
但沒有工作。
我使用此選項卡腳本:Simple jQuery Responsive Tabs Interface Plugin - jQueryTab
而且我的jsfiddle是:Code
我會很高興如果你指導我,幫助我解決這個問題。
謝謝。
非常感謝您的大力幫助。 :) –