Javascript Child Window

A

Alan Greig

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
 
D

Dom Leonard

Alan said:
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.

<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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,810
Messages
2,569,692
Members
45,466
Latest member
DataDenn

Latest Threads

Top