The good thing about this is when you apply one of the alert script it doesn't produce LAG or page loading slowness unlike C.S.S. alerts that uses expre/**/ssion that mess ups a profile.
The bad thing it adds an error but not a error that lags your page just a yellow logo below the browser.
Anyway here they are...
Simple Welcome Alert
[quote]alert("Welcome to my profile"+pageViewerFName+"!");[/quote]
Double Welcome Alert.
[quote]alert("Welcome to my profile "+pageViewerFName+"!"); alert("Musta?");[/quote]
Welcome Alert With Line Breaks
[quote]alert("Welcome to my profile "+pageViewerFName+"!" + '\n' + "Are You Happy Today?" + '\n' + "If Not Always Smile!"); alert("Anyway Give Me Some Comments " + '\n' + "Sorry For The Inconvinience..." + '\n' + "Have A Nice Day!");[/quote]
Just Change the message without removing the "
Donot edit main line breaks if you donot now how...
Apply this code in your External JS File
Try This If You Want.
Special Welcome Aler Box- Pop-ups Only to Specific Users.
[quote]if(pageViewerID=="USER ID"){
alert("??");
}[/quote]
Try This To Block Stalkers In Your Profile.
[quote]if(pageViewerID=="USER ID"){
alert("??");
top.location.href="http://www.friendster.com/user.php";
}[/quote]
Replace the user ID
Change ?? to message
Some previews of idea working especially line break alert? view my profile not logged-in
Last edited by xavierkym (2007-10-30 15:01:20)