Google street view not work in Twenty Eleven Themes
-
Today i try with brand new WordPress 3.2.1 which using Twenty Eleven 1.2 as default themes. I start post example from Google Street View documentation :
<div id="pano" style="width: 400px; height: 300px"></div> <script src="https://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"></script><script type="text/javascript">function init() {var fenway = new google.maps.LatLng(42.345573,-71.098326);var panoOptions = {position: fenway,addressControlOptions: {position: google.maps.ControlPosition.BOTTOM},linksControl: false, panControl: false,zoomControlOptions: {style: google.maps.ZoomControlStyle.SMALL},enableCloseButton: false};var panorama = new google.maps.StreetViewPanorama( document.getElementById("pano"), panoOptions);}window.onload = init;</script>
But it’s not works. I try change server configuration and still can’t figured out what the problem until i change themes into Twenty ten. Voilla! It’s works by now. It’s very sad that i love Twenty Eleven themes, but should switch into Twenty ten themes because this problem.
Hope there Twenty Eleven team can give patch later.
PS: i posted this cases and update on my blog Google street view problem with Twenty Eleven Themes WordPress 3.2.1
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Google street view not work in Twenty Eleven Themes’ is closed to new replies.