[align=center][b][u]CLICK FOR THE PREVIEW[/b][/u][quote][url=http://profiles.friendster.com/32477026][img]http://www.myklmphotoframes.com/images/preview_sign.jpg[/img][/url]
[url=http://profiles.friendster.com/32477026]PREVIEW[/url]
[/quote]
[/align]
[i][b]This Pop will occur upon first view ONLY of ur profile[/b][/i]
[b]Save this as HTML[/b]
[quote]<html>
<head>
<title>[b]TITLE OF PAGE[/b]</title>
<meta name="robots" content="nofollow,noindex">
<style>
body{margin:0}
A:link {color:#ff0000; text-decoration:none;}
A:visited {color:#ff0000; text-decoration:none;}
A:active {color:#ff0000; text-decoration:none;}
A:hover {color:#ff0000; text-decoration:none;}
</style>
<script>
PopUpURL=window.location;
function doShowMe(){
if {
doShowMeWindow=window.open(PopUpURL,"","left=100,top=100,screenX=100,screenY=100,width=[b]200[/b],height=[b]200[/b]");}}
</script>
<!-- set the src= to the path for music on your server //-->
<bgsound src="[b]backround music of popup(optional)[/b]" loop="-1">
</head>
<body bgcolor="#000000" onunload="doShowMe()" onload="self.focus()">
<table border="0" cellpadding="6" cellspacing="0" width="100%">
<tr>
<td width="100%" align="center"><font color="#FF0000" size="5" face="Verdana,Arial">[b]MSG for the FIRST TIME VIEWERVIEWER[/b]<br>
</font>
</td>
</tr>
</table>
</body>
</html>[/quote]
[b]Save this as ur JS[/b]
[quote]function GetCookie(name) {
var arg=name+"=";
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if (document.cookie.substring(i,j)==arg)
return "here";
i=document.cookie.indexOf(" ",i)+1;
if (i==0) break;
}
return null;
}
var visit=GetCookie("COOKIE1");
if (visit==null){
var expire=new Date();
window.name = "thiswin";
newwin=open("URL OF ur HTML", "dispwin",
"width=[b]450[/b],height=[b]455[/b],scrollbars=[b]yes[/b],menubar=[b]no[/b]");
expire=new Date(expire.getTime()+7776000000);
document.cookie="COOKIE1=here; expires="+expire;
}[/quote]
[b]JUST EDIT THE BOLD PART[/b]
ENJOY!!
Last edited by chan2raagas (2008-07-14 07:49:05)