Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows......again

Status
Not open for further replies.

KevoMee

Technical User
Apr 30, 2002
72
IE
How would I do this:

I have a button on my page. After the button is clicked I want the page to close after 5 seconds (and populate the changes on the parent but that has been asked before). How would I get it to close after 5 seconds.

Also, how do I get my page to be a pop-up webpage instead of a regular web-page. i.e. the same type of pop-up window you get when you log into this type, without the URL bar, menu at the top etc.

Cheers,
Kev.
 
You will need to use javascript for the timed window close event as far as I know. And the same for a popup window.
 
Kev,

the syntax for a pop up window in javascript is

window.open(url, title, options)

in the options, you'll be able to specify whethr you want a toolbar, address bar, height, width, etc. If you enter window.open in the html view of your aspx page (in vs.net), it'll give you the options, and the help has a good article too.

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top