Thread: farewell alert
Results 1 to 3 of 3
Related
-
Is it possible to add a link in an alert box? Forum: Javascript Forum
Replies: 3 -
supress browser alert Forum: Javascript Forum
Replies: 1 -
How many characters in a confirm/alert box? Forum: Javascript Forum
Replies: 1 -
alert if not using IE Forum: HTML Forum
Replies: 1 -
javascript alert box Forum: Javascript Forum
Replies: 7
-
05-09-2002, 12:51 AM #1
farewell alert
how can i have a farewell alert?
-
05-09-2002, 07:00 AM #2
If you would like to have a pop up on exit....
insert this into the head:
PHP Code:<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function leave(){
window.open("http://url to the pop up page.html','','toolbar=no,menubar=no,location=no,height=400,width=400");
}
// End
-->
</SCRIPT>
PHP Code:onUnload="leave()"
-
05-09-2002, 12:43 PM #3
You Could do Something Like..
PHP Code:<script language="JavaScript">
<!--
function bye(msg)
{
alert(msg);
}
//-->
</script>
PHP Code:<body onUnload="bye('Thanks For Visiting!');">
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum