Opening a page in a different window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael

    Opening a page in a different window

    I would like to launch an online store in a separate window once the visitor
    clicks on "Shop Now". We have installed the following code on our site:

    <a href="onlinesto re.asp" target="_blank" >Shop Now</a>

    The problem is that if a user clicks on the link more than once several
    window will open up. Is there code that will open up the store in the same
    window no matter how many times the user clicks on the link above?






  • Grant Wagner

    #2
    Re: Opening a page in a different window

    Michael wrote:
    [color=blue]
    > I would like to launch an online store in a separate window once the visitor
    > clicks on "Shop Now". We have installed the following code on our site:
    >
    > <a href="onlinesto re.asp" target="_blank" >Shop Now</a>
    >
    > The problem is that if a user clicks on the link more than once several
    > window will open up. Is there code that will open up the store in the same
    > window no matter how many times the user clicks on the link above?[/color]

    <a href="onlinesto re.asp" target="myUniqu eWindowName">Sh op Now</a>

    --
    | Grant Wagner <gwagner@agrico reunited.com>

    * Client-side Javascript and Netscape 4 DOM Reference available at:
    *


    * Internet Explorer DOM Reference available at:
    *
    Gain technical skills through documentation and training, earn certifications and connect with the community


    * Netscape 6/7 DOM Reference available at:
    * http://www.mozilla.org/docs/dom/domref/
    * Tips for upgrading JavaScript for Netscape 7 / Mozilla
    * http://www.mozilla.org/docs/web-deve...upgrade_2.html


    Comment

    Working...