By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

Javascript Child Window

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Alan Greig wrote:
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

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.