ramlov Posted January 29, 2015 Share Posted January 29, 2015 Hello I want to be able to intergrate this script into a CMS page. I have done it before in an older prestashop version by using this tutorial http://mypresta.eu/en/art/developer/prestashop-product-page-full-rich-editor.html but it doesn't work as it used to... Do any one know if there is an update or know what to do different? <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script><div style="overflow:hidden;height:500px;width:600px;"><div id="gmap_canvas" style="height:500px;width:600px;"></div><style>#gmap_canvas img{max-width:none!important;background:none!important}</style><a class="google-map-code" href="http://www.trivoo.net/google-maps/" id="get-map-data">trivoo.net</a></div><script type="text/javascript"> function init_map(){var myOptions = {zoom:14,center:new google.maps.LatLng(56.100444,9.30758800000001),mapTypeId: google.maps.MapTypeId.ROADMAP};map = new google.maps.Map(document.getElementById("gmap_canvas"), myOptions);marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(56.100444, 9.30758800000001)});infowindow = new google.maps.InfoWindow({content:"<b>Jensen Outdoor</b><br/>Jægersprisvej 5<br/>7441 Bording" });google.maps.event.addListener(marker, "click", function(){infowindow.open(map,marker);});infowindow.open(map,marker);}google.maps.event.addDomListener(window, 'load', init_map);</script> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now