how child form force itself to be opened in new web browser window

  • Thread starter Thread starter zhuang
  • Start date Start date
Z

zhuang

Hi,

I am creating a web application, which is called by another web
application. My web application should be opened in the new window,
however, the caller does not deal with this, and we could not change
the way it does.

I know how to open a new window from parent window, however, would it
be possible to enforce this at child form side? I am not very familar
with html.

Thanks

zhuang
 
there are two ways to open a webpage in a child window.

1) in the anchor specify a traget

<a href="somesite" target="_blank">click here to open window</a>

2) use client script

<a href="javascript:window.open('somesite');>click here to open
window</a>

in either case, the parent page must request the child window. if the parent
page link to you site, and does not specify a target, your page replaces
theirs in the browser.

-- bruce (sqlwork.com)
 
Thanks, I just want to confirm open new browser should be done at
parent page, rather than child page. Thanks for your support.
 

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

Back
Top