• Resolved JGravesNBS

    (@jgravesnbs)


    I’m using WordPress 3.5.2, Local Business theme, Windows 7, Firefox 22.0

    Check it out here https://johnbgravesjr.com

    When I click About, Contact it takes me to the Contact tab in the same Firefox Tab which is what I want and OK

    I have the following code in Second Footer Widget Area:

    <h4>Contact Form</h4>

    LaSalle Yacht Club
    73 S 68th St
    Niagara Falls, NY 14304

    (716) 283-3080 office

    (716) 283-8221 fax

    When I click on this Contact link in the Second Footer Widget Area it takes me to my Contact tab in a new Firefox Tab

    How do I change the above code so when I click the Contact link it takes me to the Contact tab in the same Firefox Tab which is what I want.

Viewing 4 replies - 1 through 4 (of 4 total)
  • It’s because the target="_blank" but don’t know where it comes from… have a look at: https://www.w3schools.com/tags/att_a_target.asp

    Change to

    <h4><em><strong><a target="_self" href="https://johnbgravesjr.com/about/contact/">Contact Form</a></strong></em></h4>
    
    <br>
    
    LaSalle Yacht Club<br>
    73 S 68th St<br>
    Niagara Falls, NY 14304<br><br>
    (716) 283-3080 office<br><br>
    (716) 283-8221 fax

    or change to

    <h4><em><strong><a target="_self" href="https://johnbgravesjr.com/about/contact/">Contact Form</a></strong></em></h4>
    
    <p>
    LaSalle Yacht Club<br>
    73 S 68th St<br>
    Niagara Falls, NY 14304
    </p>
    
    <p>
    (716) 283-3080 office<br>
    (716) 283-8221 fax
    </p>

    Thread Starter JGravesNBS

    (@jgravesnbs)

    I love it, thank you very much.

    This is my 1st stab at WP & HTMP and today I also learned paragraph start & stop

    Are there any websites that ask you what you want to do then generate the HTML to do the function example:

    A table with header, four columns and five rows?

    Your Welcome ??

    There are so many websites for learning html – just google for the html elements you want to use ??

    You will find a lot here: https://www.w3schools.com/html/default.asp have a look at the left menu ?? tables: https://www.w3schools.com/tags/tag_table.asp or html examples https://www.w3schools.com/html/html_examples.asp

    Thread Starter JGravesNBS

    (@jgravesnbs)

    Thanks for the reference, will be very helpful

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to open Contact tab in the same Firefox Tab’ is closed to new replies.