The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jquery and google maps

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #24182

    I’m trying to incorporate a custom google map into my wordpress website and google gives me javascript embedded into the html.
    The function itself I can dump into my functions.js but does anyone know how I can avoid using this:


    And do the same via jquery?

    Here is my onload attempt:

    // Your code here

    Not sure about onunload though. Would I use the unload function ? I’m not sure how to write it though and to check that it does execute the GUnload function on unload.

    Any help would be much appreciated.


    Try using this jQuery plugin it should take care of the google maps for you.


    Well, I’ll be damned.

    Thanks, that’s a little easier.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.