• Resolved JGravesNBS

    (@jgravesnbs)


    The following code was generated on Google Maps, it works however I want to open link in a new window/tab instead the same tab as my website

    How do I open link in a new window/tab?

    This is in a text box widget in footer of Local Business theme

    http://www.johnbgravesjr.com

    <iframe width="300" height="270" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=LaSalle+Yacht+Club+S+68th+St,+Niagara+Falls,+NY+14304&aq=&sll=43.074155,-78.985863&sspn=0.027461,0.077162&g=S+68th+St,+Niagara+Falls,+Niagara,+New+York+14304&ie=UTF8&hq=LaSalle+Yacht+Club&hnear=S+68th+St,+Niagara+Falls,+Niagara,+New+York+14304&t=m&ll=43.073951,-78.985627&spn=0.004232,0.006416&z=16&iwloc=A&output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=LaSalle+Yacht+Club+S+68th+St,+Niagara+Falls,+NY+14304&aq=&sll=43.074155,-78.985863&sspn=0.027461,0.077162&g=S+68th+St,+Niagara+Falls,+Niagara,+New+York+14304&ie=UTF8&hq=LaSalle+Yacht+Club&hnear=S+68th+St,+Niagara+Falls,+Niagara,+New+York+14304&t=m&ll=43.073951,-78.985627&spn=0.004232,0.006416&z=16&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>

Viewing 3 replies - 1 through 3 (of 3 total)
  • ,0.006416&z=16&iwloc=A" style="color:#0000FF;text-align:left" target="_blank">View Larger Map</a></small>

    add: target="_blank" per above.

    http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_a_target

    In the link, add target=”_blank”

    It would look like this (I’ve inserted it right before the View Larger Map text:

    <a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=LaSalle+Yacht+Club+S+68th+St,+Niagara+Falls,+NY+14304&aq=&sll=43.074155,-78.985863&sspn=0.027461,0.077162&g=S+68th+St,+Niagara+Falls,+Niagara,+New+York+14304&ie=UTF8&hq=LaSalle+Yacht+Club&hnear=S+68th+St,+Niagara+Falls,+Niagara,+New+York+14304&t=m&ll=43.073951,-78.985627&spn=0.004232,0.006416&z=16&iwloc=A" style="color:#0000FF;text-align:left" target="_blank">View Larger Map</a>

    Thread Starter JGravesNBS

    (@jgravesnbs)

    Thanks guys

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open link in a new window/tab’ is closed to new replies.