respons.redirect and specify new windows size

M

Mike

I need to do a response.redirect but I need to specify the new window size,
have no tool bars and only allow a scrollbar.

How can I do this?

Mike
 
J

Jon Spivey

Hi,
you'd need to write out some javascript. So instead
of
<%response.redirect "page.asp"%>
<%
response.write "<script
type=""text/javascript"">myWin=window.open('page.asp','myWin','width=200,hei
ght')</script>"
%>

you can specify toolbars etc as needed

Jon
Microsoft MVP - FP
 

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

Top