WordPress.org

Support

Support » Plugins and Hacks » Google Map Lightbox Popup » [Resolved] Hyperlink to show lightbox

[Resolved] Hyperlink to show lightbox

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    sorry for replying late, and yes its possible to show a hyperlink to click and then show the map in lightbox please follows the given instructions below…

    1. Just copy and paste the code in your page/post editor (given below).
    click here to open map

    2. Replace the word gfullmap_options with the name of your Google map (that you want to display in popup).
    We hope it would be helpful for you.

    Please let us know if you have any query/issue regarding this and don’t forget to rate the plugin.

    Plugin Author SketchThemes

    @tikendramaitry

    Hi,

    Thanks Megha for resolving the issue.

    Best,
    Tikendra

    Hi,

    I am looking to do this exact same thing, but I do not see the needed code in your post. Can you repost the code I’d need to link to the map?

    Thank You

    Hi,

    To open Google map popup by clicking of anchor tag, please follows the given instructions below…

    1. Just copy and paste the code in your page/post editor (given below).

    click here to open map

    2. Replace the word gfullmap_options with the name of your Google map (that you want to display in popup).

    We hope it would be helpful for you.

    Please let us know if you have any query/issue regarding this.

    Thanks..

    Plugin Author Rahul Raghuwanshi

    @rahulbrilliant2004

    To open Google map popup by clicking of anchor tag, please follows the given instructions below…

    1. Just copy and paste the code in your page/post editor (given below).

    <a class="click_it" class-value="createPopup-gfullmap_options" href="javascript:void(0)">click here to open map</a>

    2. Replace the word gfullmap_options with the name of your Google map (that you want to display in popup).

    We hope it would be helpful for you.

    Please let us know if you have any query/issue regarding this.

    Thanks..

    I can’t seem to get the above code to work. It creates the link but when clicked nothing happens ?

    I agree with @cameronw1996, the code doesn’t work.

    Hi CameronW1996 & RistaCode,

    If you want to use code given by @rahul Raghuwanshi, you have to add
    Google-Map light-box short-code in page/post editor inside div tag like this:

    <div style="position:fixed;left:-99999px">[showmap name='gfullmap_options']</div>
    
    <a class="click_it" class-value="createPopup-gfullmap_options" href="javascript:void(0)">click here to open map</a>

    Hope it would be helpful to you.

    Thanks,
    Nishant

    Hi Nishant,

    Nothing happens when I use your code.

    In a footer text widget, I put this:

    <a class="click_it" class-value="createPopup-gfullmap_options" href="javascript:void(0)">12124 Road 111
    Paulding, Oh 45879</a>
    ph: 419 399-3600
    fax: 419 399-3602
    <a href="mailto:sales@insource-tech.com?subject=Can%20InSource%20be%20my%20One%20Source%3F">Email InSource</a>
    <div style="position:fixed;left:-99999px">[showmap name='gfullmap_options']</div>

    I would put a link to the site, but I am doing this locally for now. The staging site is http://ist.manzwebdesigns.net/ (look at the contact section in the right of the footer)

    Thanks,
    Bud

    Hi manzwebdesigns,

    Please make sure that this “[showmap name=’gfullmap_options’]” short-code does exists.
    And if you have added another Google Map, please use that shortcode and replace anchor tag class value according.

    Like:

    If you add GoogleMap with this name “contactmap“, The code would be used like this…

    <div style="position:fixed;left:-99999px">[showmap name='contactmap']</div>
    
    <a class="click_it" class-value="createPopup-contactmap" href="javascript:void(0)">click here to open map</a>

    Hope it would be helpful to you.

    Thanks,
    Nishant

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Hyperlink to show lightbox’ is closed to new replies.
Skip to toolbar