[quote=arcatari]<">[/quote]
Maaf tapi abang hanya ingin meralat sedikit. Kalau script di atas itu CSS buat Randomized Friends bro Arcatari
Bagi kalian yang Mini Viewernya baik itu di samping, shoutout atau kolom WIWTM picnya terlalu besar, tambahkan CSS extension yang sama dengan script CSS extension Master Box kalian lalu sesuaikan dengan div ID scriptnya OK. Ini dia scriptnya :
[b]Side Mini Viewer[/b]
[quote][b]#spawnpic {
border-width: 0px;
border-color: #F8F8FF;
border-style: ridge;
background-color: transparent;
}[/b]
#spawnpic img {
height: 100px;
width: 100px;
border: 2px #97B6CA solid;
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
}
#spawnpic a:hover img {
filter:alpha(opacity=70);
-moz-opacity: 0.7;
opacity: 0.7;
}[/quote]
[b]Shoutout Viewer[/b]
[quote][b]#mainpic {
border-width: 0px;
border-color: #F8F8FF;
border-style: ridge;
background-color: transparent;
}[/b]
#mainpic img {
height: 100px;
width: 100px;
border: 2px #97B6CA solid;
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
}
#mainpic a:hover img {
filter:alpha(opacity=70);
-moz-opacity: 0.7;
opacity: 0.7;
}[/quote]
[b]WIWTM Viewer[/b]
[quote][b]#viewerpic {
border-width: 0px;
border-color: #F8F8FF;
border-style: ridge;
background-color: transparent;
}[/b]
#viewerpic img {
height: 100px;
width: 100px;
border: 2px #97B6CA solid;
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
}
#viewerpic a:hover img {
filter:alpha(opacity=70);
-moz-opacity: 0.7;
opacity: 0.7;
}[/quote]
Lihat script yg tebal diatas. Itu adalah CSS extension yang harus kalian tambahkan pada script CSS extension default masing2 Mini Viewer OK
[b] Pro : Wira18[/b]
http://h1.ripway.com/wira18/anton.js <<< Ini memang benar JS script bro Anton tapi nanti sebelum pakai JS linker yang diberikan bro Arcatari di atas jangan lupa rename dulu menjadi .txt OK. Oh iya abang lihat JS bro Anton tidak pakai addBox jadi lebih baik script addBox di dalam JS bro Anton dihapus saja yaitu script yang ini :
[quote]//onload handler
function onProfileLoad() {
//addboxes here
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}[/quote]
Last edited by KaNaLiTnUk (2008-02-18 01:01:23)