Credit
http://www.dynamicdrive.com
there are 2 effect for your enterpage:
[url=http://h1.ripway.com/kherminator2/attribute/enter.html]SAMPLE PREVIEW[/url]
choose the effect u like.
and there are the codes:
[b]HTML[/b]
[quote]<html>
<head>
<title>[b][color=blue]YOUR TITLE[/color][/b]</title>
<style type="text/css">
body { background-image:url([b][color=green]URL BACKGROUND IMAGE[/color][/b]);
background-color:#999999; color:black; overflow:hidden;
background-repeat:repeat; background-attachment: fixed; }
.tombol {
width:100%;
font-family:verdana;
background-color:#999999;
border: 2px ridge #808080;
margin-bottom:1px;
height: 50px;
font-size:24pt;
color:#1a1a1a;
padding-left:3px;
text-decoration: none;
font-weight: bold;
}
A { color: #C0C0C0; font-weight:bold; text-decoration: none; }
A:link { color: #C0C0C0; font-weight:bold; text-decoration: none; }
A:visited { color: #C0C0C0; font-weight:bold; text-decoration: none; }
A:active { color: #358391; font-weight:bold; text-decoration: none; }
A:hover { color: #358391; font-weight:bold; text-decoration: none; }
.tombol a:hover {
background-color:#808080;
border-color:#999999;
color: #aaaaaa;
text-decoration: none;
#gambar {border: 3px ridge #ff6666;}
.logout {width: 200px;}
</style>
[b][i]//PUT THE SCRIPT OF EFFECT 1 OR EFFECT 2 HERE[/i][/b]
</head>
<BODY>
<style>
.shakeimage{
position:relative
}
.marq {
width: 500px;
}
</style>
<script language="JavaScript1.2">
/*
Shake image script (onMouseover)-
© Dynamic Drive (
www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit
http://dynamicdrive.com
*/
//configure shake degree (where larger # equals greater shake)
var rector=3
///////DONE EDITTING///////////
var stopit=0
var a=1
function init(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a=
){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
</script>
<table width="602" align="middle" valign="middle">
<td width="200" align="middle">
<div id="butt" align="left">
<a href="http://www.friendster.com/"><input type="button" class="tombol" value="HOME"></a><br />
</div>
</td>
<div id="gambar" align="middle">
<a href="[color=red][b]LINK[/b][/color]">
<img src="[b][color=green]URL ENTER IMAGE[/color][/b]" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this);top.focus()" onClick="top.focus()"></a><br /><br />
<div class="marq">
<marquee style="border:BLUE 4px ridge"><font face="comic sans ms" color="red" size="4">[color=blue][b]SOME TEXT[/b][/color]</font></marquee>
</div>
</div>
<td width="200" align="middle">
<div id="logout" align="right" valign="bottom">
<a href="http://www.friendster.com/logout.php"><input type="button" class="tombol" value="LOGOUT"></a><br />
</div>
</td>
</BODY>
</html>[/quote]
edit the necessary part.
for the script effect, use the codes below:
[b]EFFECT 1[/b]
<">[color=red][b]LINK[/b][/color]
[quote]javascript:setDest()" onClick="expandingWindow('http://profiles.friendster.com/user.php?uid=[b]YOUR FRIENSTER ID[/b]');return false[/quote]
[b]EFFECT 2[/b]
<">[color=red][b]LINK[/b][/color]
[quote]javascript:openwindow('http://profiles.friendster.com/user.php?uid=[b]YOUR FRIENDSTER ID[/b]')[/quote]
Replace [b][i]//PUT THE SCRIPT EFFECT HERE[/i][/b] with one of the script effect that u choose.
dont use both of them!
Replace the [color=red][b]LINK[/b][/color] with the link type of the effect.
then, save the [b]HTML[/b] as [b]Enter.html[/b]
upload the file to ur own hosting site.
[b][u]FINAL STEP[/u][/b]
copy the link of [b]Enter.html[/b]
then paste to the code below
[quote]var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=[b]YOUR FRIENDSTER ID[/b]"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=[b]YOUR FRIENDSTER ID[/b]"){
}
else {
location.href = "[b]URL ENTER.HTML[/b]";
}[/quote]
save as js extension.
[url=http://profiles.friendster.com/kherminator2]LIVE PREVIEW[/url]
thats all..............
Last edited by KhErMiNaToR (2008-02-24 20:42:58)