Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • jrtoy


    the same issue as above, it will only show the first word it truncates after a space.

    be sure to wrap your form in:
    <div id=”asaphide”>



    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    document.getElementById(‘asaphide’).style.display = ‘none’;
    }, false );

    Glad I found you guys here… OK here’s my issue that you may be able to fix very quickly. I’m using events calendar plugin by Created a script:

    <script type="text/javascript">
    function showLocation(position) {
      window.location.href =""+ position.coords.latitude +"&tribe-bar-geoloc-lng="+ position.coords.longitude;
    function errorHandler(err) {
      if(err.code == 1) {
        alert("Error: Access is denied!");
      }else if( err.code == 2) {
        alert("Error: Position is unavailable!");
    function getLocation(){
          // timeout at 60000 milliseconds (60 seconds)
          var options = {timeout:60000};
          alert("Sorry, browser does not support geolocation!");

    it grabs a users location and places it in the url to display events nearby. I created the menu area going to # (nowhere) and know the menu id, I don’t know how to make it all work, I tested the script by adding getLocation() at the end and it all worked great. How do I make my menu when I click “nearby” load this script?

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