[quote=blankon1983]aku mo masukin neh kode dan menggunakan nya sebagai loading page, aku harus pastein kemana kalau aku menggunkan lingker js:
codenya:
[quote]<html>
<head>
<title>[b]ganti dengan kata2 bro sendiri[/b]</title>
<style type="text/css">
body { background-image:url(http://i214.photobucket.com/albums/cc221/kutung3p3t/bg.jpg);
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]//SCRIPT EFFECT 1[/b] <-------------- [b]ini di hapus aj bro...[/b]
Code:
<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://friendster.com/');return false">
<img src="URL.jpg" 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">text</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]
buat yang bisa membantu thanks b4
[/quote]
lalu tinggal low save aj di ripway..
[b]enter.php[/b]
okey bro...
semoga berhasil