PDA

View Full Version : Open page in separate window


ABC123

Pat Bremkamp
09-27-2004, 05:30 PM
I think this is an html question.

I know that I can open a page using
"a href="HelpText.a5w""Help"/a
or by using the response.redirect method, but how do I open the page in a separate window instead of reusing the same window?

Thanks,
Pat

JerryBrightbill
09-27-2004, 05:45 PM
Pat

The simplist method is to set the target attribute of a link to "_blank". This link will take you to a good example.

http://www.w3schools.com/html/tryit.asp?filename=tryhtml_link_target

If you want to control the window attributes, you can use javascript and the window.open() command. There are tons of examples that you can find by searching for "window open" in Google.

Jerry

Pat Bremkamp
09-27-2004, 08:18 PM
Thanks, Jerry.

That worked. I love these one minute solutions!

Pat