[b][color=red]Goodbye Alert V.2[/b][/color]
[align=center][b]Image Preview[/b][/align]
[align=center][img]http://img01.picoodle.com/img/img01/5/12/18/f_ALERTm_b2dc5c5.jpg[/img][/align]
[quote]window.onbeforeunload = function (evt) {
var message = '[color=red][b]Btw, tenx for dropping by to my page '+pageViewerFName+'[/b][/color]';
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt) {
evt.returnValue = message;
}
return message;
}[/quote]
just change the red text!
Credits: WebDeveloper
[b]Save as JS[/b]
[hr]
[b][color=blue]Goodbye Alert V.1[/b][/color]
[align=center][b]Image Preview[/b][/align]
[align=center][img]http://img27.picoodle.com/img/img27/4/6/6/f_gbm_86e88e4.jpg[/img][/align]
save as js
[quote]function goodbye(){
alert('[b][color=blue]R.I.P. ['+parent.pageViewerFName+'][/b][/color]');
}
parent.window.onunload=goodbye;[/quote]
just change the blue text!
[i]Credits: cip6192[/i]
[hr]
How To Save? Proceed Here
[url]http://theftalk.com/t22027-Making-Extensions-Files.-%5BFriendster-Editing%5D.html[/url]
[hr]
[b]js[/b]
welcome alert message: [url]http://theftalk.com/t5419-Alerts-%28Script-Styles%29.html[/url]
[b]css[/b]
welcome and goodbye alert message: [url]http://theftalk.com/t2604-Welcome-Alert-versions-Hello-Goodbye.html[/url]
Last edited by john_619619 (2008-07-23 09:05:09)