[/quote]
maksud nya..??
maap g ngerti..


udah gue coba gagal
pusing gue 

[/quote]
kamu tuh mau mindahin posisi box apa minimaxi..???
coba keluhan nya di perjelas lg...
http://profiles.friendster.com/44284690
neh scrip na
http://h1.ripway.com/ryandark/gaya.js
Last edited by robin rianto (2008-06-01 19:08:37)
pa kode JS na yg salah?
ato kode css na?
tolong liatin yach kode aq,,,,
nech kode JS aq...
[url]http://h1.ripway.com/ily/baru5.txt[/url]
thanks....
boz [b]andy_99990[/b]
lama banget boz solusinya sampe ngantuk gue nunggunya 

[/quote]
[url]http://h1.ripway.com/fadjar/fadjar1.txt[/url]
ini scriip aku bro....
tolongin yah... diliatin ... ada yg salah mungkin.....
sekalian aku jauga mau tanya yang mana bagian A B dan C....
coz aku bingung mau naruh scriip tambahannya di mana....
maklum aku masih newbie...
ga isa post linker disini bos
Q_doth
dari JS lo susunan n pembagian a,b,c nya kek dibawah ini saia juga ngedit injeksi JS quick comment ma snow effectnya bro
[spoiler]
[b]//* BAGIAN A[/b]
//*js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/jagcopra/snow.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
//*js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/unmaskedluked/JS_ext/quick_comment_box.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
//css injection
var v=document.createElement('link');
v.rel='stylesheet';
v.media='screen, print';
v.href='http://h1.ripway.com/fadjar/gaara.css';
navigation.appendChild(v);
//object dock
var cip = document.getElementById("navLang").innerHTML+="<div align=\"center\" style=\"width:100%;\"><div id=\"hit_area2\" onmouseover=\"toggleUp();\"><br><br></div><div id=\"hit_area\" onmouseover=\"toggleDown();\"><center><br><br><br><br></center></div><div id=\"menu_holder\"><div id=\"nav\"><ul>"+
"<li><dl class=\"dropdown\"><dt id=\"one-ddheader\" onmouseover=\"ddMenu('one',1)\" onmouseout=\"ddMenu('one',-1)\"><a href=\"http://www.friendster.com/\"><img src=\"http://www.iconspedia.com/uploads/1180259878.png\"></a></dt><dd id=\"one-ddcontent\" onmouseover=\"cancelHide('one')\" onmouseout=\"ddMenu('one',-1)\"><ul><li>Home</li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"two-ddheader\" onmouseover=\"ddMenu('two',1)\" onmouseout=\"ddMenu('two',-1)\"><a href=\"http://www.friendster.com/user.php\"><img src=\"http://www.iconspedia.com/uploads/23834786.png\"></a></dt><dd id=\"two-ddcontent\" onmouseover=\"cancelHide('two')\" onmouseout=\"ddMenu('two',-1)\"><ul><li>My Profile</li><br>"+
"<li><a href=\"http://www.friendster.com/editprofile.php\" class=\"underline\">Edit Profile</a></li><br>"+
"<li><a href=\"http://www.friendster.com/photos/'+pageViewerID+'\" class=\"underline\">Photos</a></li><br>"+
"<li><a href=\"http://widgets.friendster.com/meezavatars\" class=\"underline\">Avatars</a></li><br>"+
"<li><a href=\"http://widgets.friendster.com/meezavatars?app=games\" class=\"underline\">Games</a></li><br>"+
"<li><a href=\"http://www.friendster.com/review.php\" class=\"underline\">Reviews</a></li><br>"+
"<li><a href=\"http://www.friendster.com/blogs.php\" class=\"underline\">Blogs</a></li><br>"+
"<li><a href=\"http://www.friendster.com/featuredfriends.php\" class=\"underline\">Featured Friends</a></li><br>"+
"<li><a href=\"http://www.friendster.com/video.php\" class=\"underline\">Video</a></li><br>"+
"<li><a href=\"http://www.friendster.com/bulletinboard.php\" class=\"underline\">Bulletin Board</a></li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"three-ddheader\" onmouseover=\"ddMenu('three',1)\" onmouseout=\"ddMenu('three',-1)\"><a href=\"http://www.friendster.com/widget_myapps.php\"><img src=\"http://www.iconspedia.com/uploads/859729995.png\"></a></dt><dd id=\"three-ddcontent\" onmouseover=\"cancelHide('three')\" onmouseout=\"ddMenu('three',-1)\"><ul><li>My Apps</li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"four-ddheader\" onmouseover=\"ddMenu('four',1)\" onmouseout=\"ddMenu('four',-1)\"><a href=\"http://www.friendster.com/friends.php\"><img src=\"http://www.iconspedia.com/uploads/817370414.png\"></a></dt><dd id=\"four-ddcontent\" onmouseover=\"cancelHide('four')\" onmouseout=\"ddMenu('four',-1)\"><ul><li>My Connection</li><br>"+
"<li><a href=\"http://www.friendster.com/friends.php\" class=\"underline\">Friends</a></li><br>"+
"<li><a href=\"http://www.friendster.com/schools.php\" class=\"underline\">Schools</a></li><br>"+
"<li><a href=\"http://www.friendster.com/friends.php?action=spusers\" class=\"underline\">Im a Fan of...</a></li><br>"+
"<li><a href=\"http://www.friendster.com/bookmarks.php\" class=\"underline\">Bookmarks</a></li><br>"+
"<li><a href=\"http://www.friendster.com/mygroup.php\" class=\"underline\">Groups</a></li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"five-ddheader\" onmouseover=\"ddMenu('five',1)\" onmouseout=\"ddMenu('five',-1)\"><a href=\"http://www.friendster.com/explorer.php\"><img src=\"http://www.iconspedia.com/uploads/396317338.png\"></a></dt><dd id=\"five-ddcontent\" onmouseover=\"cancelHide('five')\" onmouseout=\"ddMenu('five',-1)\"><ul><li>Explorer</li><br>"+
"<li><a href=\"http://www.friendster.com/userlist.php?list=newusers\" class=\"underline\">People</a></li><br>"+
"<li><a href=\"http://www.friendster.com/photolist.php?list=mostrecent\" class=\"underline\">Photos</a></li><br>"+
"<li><a href=\"http://www.friendster.com/video.php\" class=\"underline\">Video</a></li><br>"+
"<li><a href=\"http://www.friendster.com/userlist.php?list=feat_profile\" class=\"underline\">Fan Profiles</a></li><br>"+
"<li><a href=\"http://www.friendster.com/widgetdirectory.php\" class=\"underline\">Applications</a></li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"six-ddheader\" onmouseover=\"ddMenu('six',1)\" onmouseout=\"ddMenu('six',-1)\"><a href=\"http://www.friendster.com/gallery.php\"><img src=\"http://h1.ripway.com/cip619/dizzlerlayoutfiles/Search.png\"></a></dt><dd id=\"six-ddcontent\" onmouseover=\"cancelHide('six')\" onmouseout=\"ddMenu('six',-1)\"><ul><li>Search</li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"seven-ddheader\" onmouseover=\"ddMenu('seven',1)\" onmouseout=\"ddMenu('seven',-1)\"><a href=\"http://olx.friendster.com/gateway_cobranded.php?country=\"><img src=\"http://img142.imageshack.us/img142/1632/classifiedtj4.png\"></a></dt><dd id=\"seven-ddcontent\" onmouseover=\"cancelHide('seven')\" onmouseout=\"ddMenu('seven',-1)\"><ul><li>Classified</li>"+
"</ul></dl></li>"+
"<li><dl class=\"dropdown\"><dt id=\"eight-ddheader\" onmouseover=\"ddMenu('eight',1)\" onmouseout=\"ddMenu('eight',-1)\"><a href=\"http://www.friendster.com/invite.php\"><img src=\"http://h1.ripway.com/cip619/dizzlerlayoutfiles/invite.png\"></a></dt><dd id=\"eight-ddcontent\" onmouseover=\"cancelHide('eight')\" onmouseout=\"ddMenu('eight',-1)\"><ul><li>Invite</li>"+
"</ul></dl></li>"+
"</ul></div></div><div id=\"hit_area2\" onmouseover=\"toggleUp();\"><br><br><br><br></div></div>";
toggleDown();
//*[b]BAGIAN B[/b]
//CHATBOX
var header="***Ced ma fadjar*** yach!
";
var code="<div align=\"center\" id=\"cboxdiv\">"+
"<iframe frameborder=\"0\" width=\"300\" height=\"200\" src=\"http://www5.cbox.ws/box/?boxid=229411&boxtag=57z52j&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"cboxmain\" style=\"border:#FFFFFF 1px solid;\" id=\"cboxmain\"></iframe><br/>"+
"<iframe frameborder=\"0\" width=\"300\" height=\"75\" src=\"http://www5.cbox.ws/box/?boxid=229411&boxtag=57z52j&sec=form\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"no\" allowtransparency=\"yes\" name=\"cboxform\" style=\"border:#FFFFFF 1px solid;border-top:0px\" id=\"cboxform\"></iframe>"+
"</div>";
addBox(header,code,"custombox_625",/commonbox[\s]*?photos/i);
/*MISC FUNCTIONS*/
function urlencode(txt) {
return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E");
}
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);
}
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
//type 'POST' | 'GET'
//cont 'true' | 'false'
//param string | null
//handler string | null
//handlerparam string |null
if(handlerparam) handlerparam=","+handlerparam;
else handlerparam="";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}");
httprequest.open( type, url, cont);
if(type=="POST") {
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", param.length);
httprequest.setRequestHeader("Connection", "close");
}
httprequest.send(param);
}
/*END MISC FUNCTIONS*/
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
//* [b]BAGIAN C[/b]
//add sidebar script
function addSideBar(head,htm,div_id) {
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<div class='commonbox'>"+
"<h2>"+head+"</h2>"+
innerHtm+
"</div>"+
"</div>";
if (browser==mic){
var obj=parent.document.createElement("<li>");
var x=parent.document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
else
{
var obj=parent.document.createElement("li");
obj.innerHTML=cont;
var x=parent.document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
}
}
//object dock
///////////////////////start dock code///////////////////////
var down = false;
function toggleDown() {
if(down==false){
down=true;
t1 = new Tween(document.getElementById('menu_holder').style, 'top', Tween.strongEaseOut, -70, 0, .4, 'px');
t1.start();
}
}
function toggleUp() {
if(down==true){
down=false;
t1 = new Tween(document.getElementById('menu_holder').style, 'top', Tween.strongEaseIn, 0, -70, .6, 'px');
t1.start();
}
}
/**********************************************************************
TERMS OF USE - EASING EQUATIONS
Open source under the BSD License.
Copyright (c) 2001 Robert Penner
JavaScript version copyright (C) 2006 by Philippe Maegerman
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of the author nor the names of contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************/
function Delegate() {}
Delegate.create = function (o, f) {
var a = new Array() ;
var l = arguments.length ;
for(var i = 2 ; i < l ; i++) a[i - 2] = arguments[i] ;
return function() {
var aP = [].concat(arguments, a) ;
f.apply(o, aP);
}
}
Tween = function(obj, prop, func, begin, finish, duration, suffixe){
this.init(obj, prop, func, begin, finish, duration, suffixe)
}
var t = Tween.prototype;
t.obj = new Object();
t.prop='';
t.func = function (t, b, c, d) { return c*t/d + b; };
t.begin = 0;
t.change = 0;
t.prevTime = 0;
t.prevPos = 0;
t.looping = false;
t._duration = 0;
t._time = 0;
t._pos = 0;
t._position = 0;
t._startTime = 0;
t._finish = 0;
t.name = '';
t.suffixe = '';
t._listeners = new Array();
t.setTime = function(t){
this.prevTime = this._time;
if (t > this.getDuration()) {
if (this.looping) {
this.rewind (t - this._duration);
this.update();
this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'});
} else {
this._time = this._duration;
this.update();
this.stop();
this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'});
}
} else if (t < 0) {
this.rewind();
this.update();
} else {
this._time = t;
this.update();
}
}
t.getTime = function(){
return this._time;
}
t.setDuration = function(d){
this._duration = (d == null || d <= 0) ? 100000 : d;
}
t.getDuration = function(){
return this._duration;
}
t.setPosition = function(p){
this.prevPos = this._pos;
var a = this.suffixe != '' ? this.suffixe : '';
this.obj[this.prop] = Math.round(p) + a;
this._pos = p;
this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'});
}
t.getPosition = function(t){
if (t == undefined) t = this._time;
return this.func(t, this.begin, this.change, this._duration);
};
t.setFinish = function(f){
this.change = f - this.begin;
};
t.geFinish = function(){
return this.begin + this.change;
};
t.init = function(obj, prop, func, begin, finish, duration, suffixe){
if (!arguments.length) return;
this._listeners = new Array();
this.addListener(this);
if(suffixe) this.suffixe = suffixe;
this.obj = obj;
this.prop = prop;
this.begin = begin;
this._pos = begin;
this.setDuration(duration);
if (func!=null && func!='') {
this.func = func;
}
this.setFinish(finish);
}
t.start = function(){
this.rewind();
this.startEnterFrame();
this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'});
//alert('in');
}
t.rewind = function(t){
this.stop();
this._time = (t == undefined) ? 0 : t;
this.fixTime();
this.update();
}
t.fforward = function(){
this._time = this._duration;
this.fixTime();
this.update();
}
t.update = function(){
this.setPosition(this.getPosition(this._time));
}
t.startEnterFrame = function(){
this.stopEnterFrame();
this.isPlaying = true;
this.onEnterFrame();
}
t.onEnterFrame = function(){
if(this.isPlaying) {
this.nextFrame();
setTimeout(Delegate.create(this, this.onEnterFrame), 0);
}
}
t.nextFrame = function(){
this.setTime((this.getTimer() - this._startTime) / 1000);
}
t.stop = function(){
this.stopEnterFrame();
this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});
}
t.stopEnterFrame = function(){
this.isPlaying = false;
}
t.continueTo = function(finish, duration){
this.begin = this._pos;
this.setFinish(finish);
if (this._duration != undefined)
this.setDuration(duration);
this.start();
}
t.resume = function(){
this.fixTime();
this.startEnterFrame();
this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'});
}
t.yoyo = function (){
this.continueTo(this.begin,this._time);
}
t.addListener = function(o){
this.removeListener (o);
return this._listeners.push(o);
}
t.removeListener = function(o){
var a = this._listeners;
var i = a.length;
while (i--) {
if (a[i] == o) {
a.splice (i, 1);
return true;
}
}
return false;
}
t.broadcastMessage = function(){
var arr = new Array();
for(var i = 0; i < arguments.length; i++){
arr.push(arguments[i])
}
var e = arr.shift();
var a = this._listeners;
var l = a.length;
for (var i=0; i<l; i++){
if(a[i][e])
a[i][e].apply(a[i], arr);
}
}
t.fixTime = function(){
this._startTime = this.getTimer() - this._time * 1000;
}
t.getTimer = function(){
return new Date().getTime() - this._time;
}
Tween.backEaseIn = function(t,b,c,d,a,p){
if (s == undefined) var s = 1.70158;
return c*(t/=d)*t*((s+1)*t - s) + b;
}
Tween.backEaseOut = function(t,b,c,d,a,p){
if (s == undefined) var s = 1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
}
Tween.backEaseInOut = function(t,b,c,d,a,p){
if (s == undefined) var s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*
1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*
1.525))+1)*t + s) + 2) + b;
}
Tween.elasticEaseIn = function(t,b,c,d,a,p){
if (t==0) return b;
if ((t/=d)==1) return b+c;
if (!p) p=d*.3;
if (!a || a < Math.abs(c)) {
a=c; var s=p/4;
}
else
var s = p/(2*Math.PI) * Math.asin (c/a);
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
}
Tween.elasticEaseOut = function (t,b,c,d,a,p){
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
if (!a || a < Math.abs(c)) { a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b);
}
Tween.elasticEaseInOut = function (t,b,c,d,a,p){
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) var p=d*(.3*1.5);
if (!a || a < Math.abs(c)) {var a=c; var s=p/4; }
else var s = p/(2*Math.PI) * Math.asin (c/a);
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
}
Tween.bounceEaseOut = function(t,b,c,d){
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-
1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-
2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-
2.625/2.75))*t + .984375) + b;
}
}
Tween.bounceEaseIn = function(t,b,c,d){
return c - Tween.bounceEaseOut (d-t, 0, c, d) + b;
}
Tween.bounceEaseInOut = function(t,b,c,d){
if (t < d/2) return Tween.bounceEaseIn (t*2, 0, c, d) * .5 + b;
else return Tween.bounceEaseOut (t*2-d, 0, c, d) * .5 + c*.5 + b;
}
Tween.strongEaseInOut = function(t,b,c,d){
return c*(t/=d)*t*t*t*t + b;
}
Tween.regularEaseIn = function(t,b,c,d){
return c*(t/=d)*t + b;
}
Tween.regularEaseOut = function(t,b,c,d){
return -c *(t/=d)*(t-2) + b;
}
Tween.regularEaseInOut = function(t,b,c,d){
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
}
Tween.strongEaseIn = function(t,b,c,d){
return c*(t/=d)*t*t*t*t + b;
}
Tween.strongEaseOut = function(t,b,c,d){
return c*((t=t/d-1)*t*t*t*t + 1) + b;
}
Tween.strongEaseInOut = function(t,b,c,d){
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
}
///////////////////////
var DDSPEED = 10;
var DDTIMER = 15;
// main function to handle the mouse events //
function ddMenu(id,dir) {
var head = document.getElementById(id + '-ddheader');
var cont = document.getElementById(id + '-ddcontent');
clearInterval(cont.timer);
if(dir == 1) {
clearTimeout(head.timer);
if(cont.maxh && cont.maxh <= cont.offsetHeight) {
return;
} else if(!cont.maxh) {
cont.style.display = 'block';
cont.style.height = 'auto';
cont.maxh = cont.offsetHeight;
cont.style.height = '0px';
}
cont.timer = setInterval("ddSlide('" + id + "-ddcontent', 1)", DDTIMER);
} else {
head.timer = setTimeout('ddCollapse(\'' + id + '-ddcontent\')', 50);
}
}
// collapse the menu //
function ddCollapse(id) {
var cont = document.getElementById(id);
cont.timer = setInterval("ddSlide('" + id + "', -1)", DDTIMER);
}
// cancel the collapse if a user rolls over the dropdown content //
function cancelHide(id) {
var head = document.getElementById(id + '-ddheader');
var cont = document.getElementById(id + '-ddcontent');
clearTimeout(head.timer);
clearInterval(cont.timer);
if(cont.offsetHeight < cont.maxh) {
cont.timer = setInterval("ddSlide('" + id + "-ddcontent', 1)", DDTIMER);
}
}
// incrementally expand/contract the dropdown and change the opacity //
function ddSlide(id,dir) {
var cont = document.getElementById(id);
var currheight = cont.offsetHeight;
var dist;
if(dir == 1) {
dist = (Math.round((cont.maxh - currheight) / DDSPEED));
} else {
dist = (Math.round(currheight / DDSPEED));
}
if(dist <= 1 && dir == 1) {
dist = 1;
}
cont.style.height = currheight + (dist * dir) + 'px';
cont.style.opacity = currheight / cont.maxh;
cont.style.filter = 'alpha(opacity=' + (currheight * 100 / cont.maxh) + ')';
if((currheight < 2 && dir != 1) || (currheight > (cont.maxh - 2) && dir == 1)) {
clearInterval(cont.timer);
}
}
//ROAMING WINDOW EXPANDER
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
for(e=0;e<80;e++){
window.resizeTo(scrW*e/80,scrH*e/80)
}
window.moveTo(0,0)
window.resizeTo(scrW,scrH)
////////////end of dock code////
[/spoiler]
selengkapnya tentang kombinasi JS
[url=http://theftalk.com/t15339-%7BTUTORIAL%7D-Kombinasi-JS-dan-WVM-%2B-Addbox-%28UPDATE-08-03-08%29.html]KOMBINASI JS dan WVM[/url]
Last edited by boim (2008-06-01 22:20:24)
letakkan di JS paling atas
[quote]document.getElementById("shimrow").setAttribute("style","display:none");
getElementByClassName("rtd")[0].setAttribute("style","display:none");
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("style","display:none");
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
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;
}[/quote]
letakkan diCSS
[quote].boxcontent{width:???px}
.banner_ad{display:none !important}[/quote]
??? = lebar box yang kamu inginkan ...
misalnya kamu ingin lebar boxnya 500 maka kamu ubah ??? dengan 500
selamat mencoba, bang nopz mang mantabh
[b]ALL[/b]
[img]http://h1.ripway.com/Bagazt73/futu/195562-salam1.gif[/img]
pagi smua....pada kemana nih....
absen saiia cuma ada [quote]ALEXANDRIA123571, alfaredo, Bagazt73, boim, d4yt, haliex, metropolix, Q-Doth, vein, yondaime4th[/quote]
yang laen pada kemana nih....
boim
gimana ?!! bisa di jelasin ulang broo...
di simpan di JS bagian A ya
paling atas
terus di CSS 1 nya
gitu yaccc


coz aku baru pertama kali ini nyoba buat.
[url]http://h1.ripway.com/rikamine/KAKA2.txt[/url]
thanks ya buat smua.... 

please....