StickyWin.alert

docs

Here's a quick little function for popping up a nicer error alert for users. It uses other classes defined elsewhere in this wiki (namely stickyWinModal and modalizer), but using this function is super-duper easy.

StickyWin.alert('Woops!', 'Oh no! I\'ve got five Internets open!');
execute this code

That's it. You'll probably want to download the images that the script points to (they are all on cnet's servers but may not be there forever).

cnet-libraries/07-ui/09-stickywin.alert.txt · Last modified: 2008/11/17 23:25