Don't open new window

Discussion in 'Web Design' started by peterbruce, Sep 14, 2011.

Tags:
  1. peterbruce

    peterbruce Supreme Member

    Joined:
    Sep 1, 2010
    Messages:
    1,479
    Likes Received:
    382
    Occupation:
    Social Media & Internet Marketing
    Location:
    UK | US
    Basic question.

    How do I edit this to STOP the new window opening?

    Code:
    <p align="center"> <a target="_blank" class="fw_link_website fw_link_newWindow" href="http://www.realpeterbruce.com/apps/webstore/products/show/2527932"><img src="http://www.realpeterbruce.com//Buy%20Now%20Button.png" alt="buy professional logo designs high quality realpeterbruce paypal hd designed" title="Buy High Quality Logos Via PayPal" class="fw_image_computer fwSizeProp" style="background-color: #ffffff; width: 264px; height: 169px" border="0" height="251" width="329" /></a></p>
    
     
  2. dowser

    dowser Power Member

    Joined:
    Jun 5, 2011
    Messages:
    685
    Likes Received:
    122
    Location:
    canada
    just remove
    target="_blank" or change to _self
     
    • Thanks Thanks x 1
  3. adhept

    adhept Junior Member

    Joined:
    Apr 15, 2009
    Messages:
    102
    Likes Received:
    31
    There ya go. Just change *target=_blank* with *target=_self*

    Done

    Code:
    <p align="center"> <a target="_self" class="fw_link_website fw_link_newWindow" href="http://www.realpeterbruce.com/apps/webstore/products/show/2527932"><img src="http://www.realpeterbruce.com//Buy%20Now%20Button.png" alt="buy professional logo designs high quality realpeterbruce paypal hd designed" title="Buy High Quality Logos Via PayPal" class="fw_image_computer fwSizeProp" style="background-color: #ffffff; width: 264px; height: 169px" border="0" height="251" width="329" /></a></p>
     
    • Thanks Thanks x 1
  4. adhept

    adhept Junior Member

    Joined:
    Apr 15, 2009
    Messages:
    102
    Likes Received:
    31
    Dammit, beaten to the punchline!
     
  5. licorne101

    licorne101 Registered Member

    Joined:
    Aug 22, 2011
    Messages:
    88
    Likes Received:
    118
    If the script contains a link to auto change the target then;

    ctrl f for the id and remove the script which has something to do with changing the target or href of the source.

    Then again, I believe it doesn't matter since all the codes are in a single line.