Study the thread mentioned first to make the code below work:
[url=http://theftalk.com/t1879-save-extension-file-host-site....html]How to save a CSS extension file on a host site...[/url]
[b]Normal Welcome Alert
[/b]
[quote]body{left:exp/**/ression( function welcome() { alert('[color=red]Message[/color]'); } window.onload=welcome);}[/quote]
[b]
Double Welcome Alert[/b]
[quote]body{left:exp/**/ression( function welcome() { alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); } window.onload=welcome);}[/quote]
[b]Megaton Welcome Alert[/b]
[quote]body{left:exp/**/ression( function welcome() { alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); } window.onload=welcome);}[/quote]
[b]2 "DUH" Max Alert[/b]
[quote]body{left:exp/**/ression( function welcome() { alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]');alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); alert('[color=red]Message[/color]'); } window.onload=welcome);}[/quote]
Change the [color=red]Message[/color] With your pesonalized message donot use [color=blue]' \ /[/color] symbols for your message to make it work completely.
Also you can add another alert just insert this code after the [color=green];[/color] of an alert
Example:
[quote]alert('[color=red]Message[/color]'); INSERT the code alert('[color=red]Message[/color]'); here alert('[color=red]Message[/color]');[/quote]
Note:
You can change the [color=green]onload[/color] to [color=indigo]onunload[/color] to make it a goodbye alert, Also if you want, you can change the [color=orange]function[/color], but make sure the functions are the same.
[quote]body{left:exp/**/ression( function [color=orange]goodbye[/color]() {alert('[color=red]Message[/color]');} window.[color=indigo]onunload[/color]=[color=orange]goodbye)[/color];}[/quote]
Last edited by Ephemeral (2007-04-12 08:54:10)