I am tyring to use the Google Map extension form WebAssist in a Content page called 'Contact Us'. the URL is:
http://www.fivecentlemonade.com/store/pc/viewContent.asp?idp age=2
My issue is that the map is not showing up. If you click and drag over the page you can see the footprint though.
I am pretty sure the issue is that I do not have the script tags that need to go in the header of the page. Maybe my limited ASP knowledge is at play too.
In order for the extension to work, the following script tags need to go in the header of the page:
<script type="text/javascript" src="../../google_javascript/wagt_map_2.js">/*wagt*/</ script>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=AB QIAAAAh_ptJzv7MbJv0kklJOTNkxRig9N4vCQrONC7sB9mJVqu_I1yPBR7BE 3IrV9vaZ4qMh1TDrmfP-afWw">/*wagt*/</script>
and then the following line goes in the body where the map should appear ont he page:
<div id="wagt_map_2" style="width: 500px; height: 300px;"></div>
Now I am pretty sure the problem is that the 'div' tag can not find the associated JS file. This is eihter becuase it can not see the associated <script> tag in the header or I do not have the js directory (google_javascript/wagt_map_2.js) in the right palce or I am not pointing correctly to it.
I tried placing the <script> tags in the store/pc/header.asp but still no map. Is that going to work with the ProductCart content pages? Would the 'idpage=2' be able to see the script tags in the header? Is there another place I should put the script tags?
Now I was using a releative path in the <script> tag to point to the google_javascript/wagt_map_2.js DIR (src="../../google_javascript/wagt_map_2.js">). Would that be correct for the 'idpage=2' content? The directory is in the root directory. In another words, is the content pages created in the control panel in the same directory as the store/pc/viewContent.asp?
thanks in advance for your help.
Crusty
Miami