Javascript Child Window

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

    Javascript Child Window

    Hi All,

    I am trying to set up a child window that displays a web cam view. I
    have successfuly created the page and everything works fine except if
    I click on a hyperlink and my webcam page is the only one open, I lose
    the webcam page with the contents being replaced by the page of the
    clicked hyperlink.

    Is there anyway I can stop the child page from ever being modified in
    that clicking on a hyperlink will by default open a new browser
    window.

    Thanks.

    Alan
  • Dom Leonard

    #2
    Re: Javascript Child Window

    Alan Greig wrote:[color=blue]
    > Hi All,
    >
    > I am trying to set up a child window that displays a web cam view. I
    > have successfuly created the page and everything works fine except if
    > I click on a hyperlink and my webcam page is the only one open, I lose
    > the webcam page with the contents being replaced by the page of the
    > clicked hyperlink.
    >
    > Is there anyway I can stop the child page from ever being modified in
    > that clicking on a hyperlink will by default open a new browser
    > window.
    >[/color]

    <a href="whatever. html" target='_blank' >whatever</a>

    opens a new window. An onlick handler within the tag that opens the link
    in another window if it can, should return false it succeeds or true if
    it does not.


    Dom

    Comment

    Working...