Hi everybody
I tried to integrate a google-map via their Javascript - lib into a Blogpost.
THe JS - file is loaded but the additional content is not added to display the map in the body.
Since it works with the original wordpress theme, it must be something in the theme, that blocks the integration of javascript into the body of the posts.
Default Wordpress Theme:
<div id="canvas_b07V" style="width:400px; height:400px" class="google-map-sc-canvas"></div><script type="text/javascript">
var map_canvas_b07V;
var map_points_canvas_b07V = new Array();
map_points_canvas_b07V[0] = {'point':{'lat':"51.1656910",'long':"10.4515260"},'info':"blah"};
addLoadEvent(function(){
map_canvas_b07V = new gmshc_render("canvas_b07V",map_points_canvas_b07V, 10);
});
addEvent(window,'unload',GUnload,false);
</script>
BF - Code of an emtpy post
<!-- begin post -->
<div id="post-518" class="post single normal hentry p1 post draft author-agnes category-allgemein untagged y2010 m06 d09 h21">
<div class="postimage"></div>
<div class="post-title"><h1>Googletest</h1></div>
<script type="text/javascript"> Cufon.refresh(); </script>
<div class="pagelink"></div>
<div id="after-article"></div>
</div>
<!-- end post -->
Is this use of JS somehow blocked?
If yes, where is the place to switch JS on?
Thanks for your help
Mel