[quote=tracehendri]Ada yang punya Welcome page tapi 1 baris
mao Minta nih
sama kode mouse 2
[/quote]
ini mksud na kali
maaf kl salah..
safe di ripway pake extensi [b].html[/b]
[spoiler][quote]<html>
<head>
<title>Hai,lam kenal dr aaf</title>
<style type="text/css">
body { background-image:url([b]URL GAMBAR KM[/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>
<script type="text/javascript">
function expandingWindow(website) {
var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes'
var heightspeed = 2; // vertical scrolling speed (higher = slower)
var widthspeed = 7; // horizontal scrolling speed (higher = slower)
var leftdist = 10; // distance to left edge of window
var topdist = 10; // distance to top edge of window
if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
var winwidth = window.screen.availWidth - leftdist;
var winheight = window.screen.availHeight - topdist;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
sizer.resizeTo("1", sizeheight);
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
sizer.resizeTo(sizewidth, sizeheight);
sizer.location = website;
}
else
window.open(website,'mywindow');
}
</script>
</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="javascript:setDest()" onClick="expandingWindow('http://profiles.friendster.com/user.php?uid=[b]XXXXXXX[/b]');return false">
<img src="[b]URL GAMBAR KM[/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">[b]haii..klik gambar diatas tuk liat profil aku ya..[/b]</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]
[/spoiler]
ni inject na ke JS save di A..
[quote]var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=[b]xxxxxxxxx[/b]"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=[b]xxxxxxxx[/b]"){
}
else {
location.href = "[b]URL .HTML di atas[/b]";
}[/quote]
xxxxxxxx
ID FS km
KM bisa ganti kata2 yg di [b]BOLD[/b]
Last edited by aaf (2008-05-28 03:42:36)