Re: [b](UPDATED : NULL PROBLEM, FIXED)[/b]
This is another code that i got from [url=http://www.dynamicdrive.com]DYNAMIC DRIVE[/url]
just want to share it with u guys.
here is the tutorial to apply the
<html>
<head>
<title>THE TITLE OF THE PAGE</title>
<style type="text/css">
body { background-color:#HEX VALUE; color:black; overflow:hidden }
#skipDiv {position:absolute; visibility:hidden; width:80px; }
#skipDiv a:link, #skipDiv a:visited {
font-family: 'century gothic';
font-size:10pt; color:#HEX VALUE; }
#wipeDiv1 { position:absolute; visibility:hidden; left:0px; top:0px;
width:1px; height:1px; z-index:1; }
.wipe { color:#HEX VALUE;
font-family: 'century gothic'; }
.wipe1 { font-size:36pt; }
.wipe2 { font-size:22pt; }
.wipe3 { font-size:10pt; }
</style>
<script src="http://www.freewebs.com/andh4/wipes.js" language="javascript" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!--
dom = (document.getElementById) ? true : false;
ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
ns4 = (document.layers && !dom) ? true : false;
ie4 = (document.all && !dom) ? true : false;
opr= navigator.userAgent.indexOf("Opera")!=-1
nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;
// PUT THE URL OF IMAGES IN THE BOLD PART BELOW, SEPERATED BY COMMAS
var wipe_imgs=new Array(
'URL OF IMAGE'
);
if (document.images) {
var theImgs=new Array();
for (var i=0;i<wipe_imgs.length;i++) {
theImgs[i]=new Image();
theImgs[i].src=wipe_imgs[i];
}
}
// THE WIPE WELCOME PAGE CONTENT
// U CAN PUT TEXT AT THE BOLD PART
// U ALSO CAN PUT IMAGE, MAKE SURE THE URL OF IMAGE SAME WITH THE URL OF IMAGE AT THE BOLD PART ABOVE
var wipe_array=new Array(
'<span class="wipe1">TEXT OR IMAGE</span>',1000,
'<span class="wipe3">TEXT OR IMAGE</span>',2500,
'<span class="wipe2">TEXT OR IMAGE</span>',2500,
'<span class="wipe3">TEXT OR IMAGE</span>',2500
);
var wipe_final=new Array('Click here',2500);
var wipe_in_delay=1000;
var wipe_out_delay=1200;
var wipe_out_dv=2.5;
var dest_delay=0;
// PUT YOUR FRIENDSTER USER ID IN THE BOLD PART BELOW
function setDest() {
window.location = "http://profiles.friendster.com/user.php?uid=YOUR USER ID";
}
if (opr||nodyn)
setDest()
function initDynLyrs() {
if (nodyn) setDest();
positionBotmRt('skipDiv');
wipeLyr1 = new dynObj('wipeDiv1');
wipeLyr1.centerIn(window);
wipeLyr1.show();
//wipeLyr2 = new dynObj('wipeDiv2');
//wipeLyr2.centerIn(window);
doWipes();
}
window.onload=initDynLyrs;
</script>
</head>
<body>
<div id="wipeDiv1"></div>
<div id="skipDiv">
<a id="skipLnk" href="javascript:setDest()">skip intro</a>
</div>
</body>
</html>