01-14-2003, 03:55 PM
Does anyone know how to close / redirect a user to another page from an alert. I want to be able to click on ok and then go to another page.
01-14-2003, 04:42 PM
You can do that with a confirm
if ( confirm( "Whatever message here" ) ) top.location.href = 'somepage.htm';
01-14-2003, 05:04 PM
would you like to be displayed with an option of yes and no in an alert?
then when you want the option to come up as a link, put this in your html document(where you want to link to be):
*** This is where you put the question text, before your visitor is taken to there specified destination.
** Of course put the title for the link :D
* Put the website address here so your want your visitors to be asked first before being taken there.
Not all of this might be this right, i might have to edit it a few times. lol.