Link to home
Start Free TrialLog in
Avatar of fwickes
fwickes

asked on

pop up windows

I want to have a pop up window that the user must close (by clicking a button/image/text or just closing the window) before they can continue. How do i do this?
Thanks,
Fiona
Avatar of memilavi
memilavi

In IE 4.0 and later, there is a JavaScript function named:

showModalDialog(url,features,style);

Using this function you can create a modal dialog the user must close in order to continue. The dialog will be the page specified at the 'url' argument.

The disadvantage of this method is, of course, it is useful only in IE 4.0 and later.

There are less sophisticated functions in JavaScript, which are rellevant to NS as to IE. These are the 'alert', 'confirm' and 'abort' functions.

If you want to use them instead of the 'showModalDialog', write back and I'll give you full explanation.
Avatar of fwickes

ASKER

Yes I would like to know about 'alert', 'confirm' and 'abort'
ASKER CERTIFIED SOLUTION
Avatar of memilavi
memilavi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fwickes

ASKER

Thank you!