Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter daddeaux

    (@daddeaux)

    Go it!!
    window.onload=function(){
    var map = flxmap_map100.getMap();
    google.maps.visualRefresh = true;
    marker=new google.maps.Marker({
    position: new google.maps.LatLng(33.243, -87.044),
    animation:google.maps.Animation.BOUNCE
    });
    marker.setMap(map);
    };

    I would use some pointers on adding javascript to WordPress. Not real what i am doing.

    This is very cool. I really dont have any more time today to work with it but it looks like the options are endless.
    Thanks,
    daddeaux

    Plugin Author webaware

    (@webaware)

    G’day daddeaux,

    Well done, you’re going great for 2 days with WordPress!

    Take a read of this page for loading your scripts on WordPress:

    http://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script

    Biggest tip I can give you: if WordPress has a script you want to load, use it, don’t load your own copy. If you want to load jQuery from a CDN, for example, don’t do it — just use the WordPress one by enqueuing it. I recommend installing the fabulous Use Google Libraries plugin for loading jQuery and some other scripts from Google’s CDN.

    cheers,
    Ross

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘KML plus marker’ is closed to new replies.