As I checked the sourcecode of my pages , I noticed 2 things:
1)
googlemap (no, Validator! ) throws 4 errors of inedaquate coding because the output of the script is not included in comment tags
2) Javascripts can be included anywhere in a page, in the header or in the body-section
I suggest to include the scripts in the body-section, in the direct output of the (% googlemap %)
why?
As you can only use one map with that plugin I am sure you will not have this map on every page
but as the script writes into the the scripts are loaded in every page...
that is a performance killer and not necessary
can you change that?
Cheers, Connie
1)
googlemap (no, Validator! ) throws 4 errors of inedaquate coding because the output of the script is not included in comment tags
Code:
<!-- Google map Plugin : start -->
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
<!--
-->
</script>
2) Javascripts can be included anywhere in a page, in the header or in the body-section
I suggest to include the scripts in the body-section, in the direct output of the (% googlemap %)
why?
As you can only use one map with that plugin I am sure you will not have this map on every page
but as the script writes into the
Code:
<?php get_header(); ?>
that is a performance killer and not necessary
can you change that?
Cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18