You are viewing a post by Mr Adiet. View all 25607 posts in Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM .
[b]strezzpc Wrote[/b]
[quote]Udah bener bro
){
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
}
function shakedapic(boxid,kelipatan){
/*
IMAGES SHAKER by nopathz :
*/
var img2shake=document.getElementById("content_"+boxid).getElementsByTagName("img");
if (kelipatan==null) kelipatan=1;
for (i=0;i<img2shake.length;i=i+kelipatan) {
getsrc=img2shake[i].getAttribute("src");
dosrc=document.getElementById("content_"+boxid).getElementsByTagName("a")[i];
img2shake[i].parentNode.innerHTML="<img src='"+getsrc+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";
}
}
divpicutama=getElementByClassName("imgblock200")[0];
apicutama=divpicutama.getElementsByTagName("a")[0];
srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src");
apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";
function getElementByClassName(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
shakedapic("1");[/b][/spoiler]
Lalu ini Aku udah simpan di js aku bagian B...
[spoiler]//onload handler
function onProfileLoad() {
addBox("RIGHT",pageOwnerFName+"\'s Visitors",TRACKER.div.innerHTML,"tracker",null);
}
shakedapic("2"); // untuk friend
shakedapic("7"); // untuk fan
shakedapic("8"); // untuk group[/spoiler]
Lalu ini aku simpan di file Css aku.....
[spoiler]#mainpic img {
height: 95px;
width: 95px;
border: 2px #000000 solid;
}
[b].shakeimage{
position:relative;
}[/b]
.commonbox h1{color:transparent; text-align:center; font-size:12px; height:30px; width:auto; background-image:url(http://i530.photobucket.com/albums/dd349/share_layout/BD/titlebar.png); background-attachment:scrolling; background-position:center center; repeat-x center left; border-bottom:transparent 2px double}
.commonbox h2{color:transparent; text-align:center; font-size:12px; height:30px; width:auto; background-image:url(http://i530.photobucket.com/albums/dd349/share_layout/BD/titlebar.png); background-attachment:scrolling; background-position:center center; repeat-x center left; border-bottom:transparent 2px double}
img{opacity:1; filter:alpha(opacity=100)}
a:hover img{opacity:.50; filter:alpha(opacity=50,style=2)}
.scrapbook{display:none; background:transparent}
{transparent shoutout}
.controlpanel .so{margin:0 -20px 10px 0; width:257px; position:relative; background:url() repeat-y top left; color:#FFF; font-weight:bold}
.controlpanel .so a{color:#FFF}
.controlpanel .so div#cpShoutoutBox, .controlpanel .so div#cpShoutoutEditBox{padding:7px 7px 5px 7px; margin:0}
.controlpanel .so div#cpShoutoutEditBox{display:none}
.controlpanel .sol{position:absolute; left:-5px; top:8px; width:6px; height:11px; background:url() no-repeat}
.controlpanel .sob{width:257px; height:2px; background:url() no-repeat; line-height:0; font-size:0}
.banner_ad_fix{display:none}
#controlpanelbuttons a{width:202px!important}
#logo{display:none; background:transparent}
#controlpanelbuttons{width:auto!important}
#search{display:none; background:transparent}
#search form{display:none; background:transparent}
#controlpanelbuttons a{width:180px!important; background-image:url(http://i530.photobucket.com/albums/dd349/share_layout/BD/titlebar.png)!important; repeat-x center left; background-attachment:fixed; background-position:center center; height:18px!important; border-width:1px!important; border-color:white!important; border-style:solid!important}
.meettrail{display:none; background:transparent}
.user_tracker{border-width:2px; border-color:#FFF!important; border-style:solid!important; -moz-border-radius:10px!important}
.commonbox{border-width:3px; border-color:#fff!important; border-style:solid!important; -moz-border-radius:10px!important}
.user_tracker, a:link{font-family:Arial,Sans-serif; color:#fff; background-color:transparent}
#content_14{display:none!important}
#reportabuse{display:none}
#marketing_bg{display:none; background:transparent}
.controlpanel a.more{display:none}
#subnav{display:none}
#mainnav, #mainnav .left, #mainnav .right{display:none}
#navdivider{display:none}
#navigation{display:none}
.content_moreabout_1_5{ padding:2px 2px 2px 2px; overflow:auto; width:510PX; height:200px; background-image:url(); background-attachment:fixed; background-position:center; background-repeat:repeat}
.commonbox{ background-color:transparent; background-image:url('http://i530.photobucket.com/albums/dd349/share_layout/BD/Untitled-4.png'); background-repeat:repeat}
body{border-style:groove; border-top-color:#000; border-bottom-color:#000; border-left-color:#000; border-right-color:#000; border-top-width:20px; border-bottom-width:20px; border-left-width:20px; border-right-width:20px}
#spawnpic img{ height:100px; width:100px; border:2px #fff solid; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-border-radius:10px; -moz-opacity:0.5; -khtml-opacity:0.5; opacity:0.5}
#spawnpic a:hover img{ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -moz-border-radius:10px; -moz-opacity:1.0; -khtml-opacity:1.0; opacity:1.0}
body{ background-image:url(http://i299.photobucket.com/albums/mm307/nuansa_album/BackGround/backPInk.png); background-position:center center; background-repeat:no-repeat; background-color:#000; background-attachment:fixed; cursor:}
.usercontent{font-family:helvetica; color:#FFF; text-transform:lowercase}
.usercontent a, .usercontent a:link, .usercontent a:visited, .usercontent a:hover, .usercontent a:active{color:#FFF; text-decoration:line-through; text-transform:lowercase}
.usercontent a:hover{color:#B22222; text-decoration:underline; text-transform:lowercase}
.commonbox{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.commonbox .evenrow{background-color:transparent}
.commonbox h1, .commonbox h2{font-family:helvetica; color:#FFFFF0; text-transform:uppercase; background-color:transparent}
.controlpanel{border-width:2px; border-color:#000; border-style:ridge; background-color:transparent}
.controlpanel .imgblock200{border-color:#fff; border-width:2px; border-style:inset}
.controlpanel .q{font-family:comic; color:#FFFFF0; text-transform:}
.controlpanel .data{font-family:comic; color:#FFFFF0; text-transform:ulowercase}
.data a{font-family:comic; color:#FFFFF0; text-transform:lowercase}
a.more{font-family:comic; color:#FFFFF0; text-transform:lowercase}
#controlPanelButtons a, #controlPanelButtons a:link, #controlPanelButtons a:visited{font-family:comic; color:#000; border-color:#000; border-style:solid; border-width:1px; background-color:transparent; text-transform:lowercase; text-decoration:$ cpbtextdecoration}
#controlPanelButtons a:hover{font-family:comic; color:#FF7F50; border-color:#FF7F50; border-style:solid; border-width:1px; background-color:#000; text-transform:lowercase; text-decoration:none}
.moreabout{border-width:2px; border-color:#FF7F50; border-style:ridge; background-color:transparent}
.photos{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.friends{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.videos{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.groups{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.testimonials{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.testimonialscomments{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.scrapbook{border-width:2px; border-color:#FF7F50; border-style:ridge; background-color:transparent}
.fanof{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.myfans{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.reviews{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.blogs{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.blogsreviews{border-width:2px; border-color:transparent; border-style:ridge; background-color:transparent}
.commonbox .imgblock75, .ir{border-width:2px; border-color:transparent; border-style:dotted; background-color:transparent}
.commonbox .dr{font-family:comic; color:#FFFFF0; text-transform:lowercase; background-color:transparent}
.data{font-family:helvetica; color:#FFFFF0; text-transform:lowercase}
.commonbox .viewall{font-family:helvetica; color:#FFFFF0; text-transform:lowercase}[/spoiler]
Tapi Fs aku kok ngak jalan????
Nich http://profiles.friendster.com/adietchakept