[quote=MaLaiKat HaPpY]da yg bs bntu qu ga'???
qu bru ja masukin file js...
tp blom bs dr td[/quote]
hapus tanda petik ini
[quote][b]}[/b]
function addBox (type,head,htm,id,sibling) {[/quote]
trs ganti ini
[quote]getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (oElm === null)oElm = document;
if (sTag === null)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || 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]
jadi begini
[quote]function getElementsByClassName(strClass, strTag, objContElm) {
strTag = strTag || "*";
objContElm = objContElm || document;
var objColl = objContElm.getElementsByTagName(strTag);
if (!objColl.length && strTag == "*" && objContElm.all) objColl = objContElm.all;
var arr = new Array();
var delim = strClass.indexOf('|') != -1 ? '|' : ' ';
var arrClass = strClass.split(delim);
for (var i = 0, j = objColl.length; i < j; i++) {
var arrObjClass = objColl[i].className.split(' ');
if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
var c = 0;
comparisonLoop:
for (var k = 0, l = arrObjClass.length; k < l; k++) {
for (var m = 0, n = arrClass.length; m < n; m++) {
if (arrClass[m] == arrObjClass[k]) c++;
if (( delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
arr.push(objColl[i]);
break comparisonLoop;
}
}
}
}
return arr;
}[/quote]
script na berantakan pisan
[b]=> andy[/b]
[quote]#navigation {
background: transparent;
border: 0px none transparent;
margin:0px 0 10px 0;
padding:10px 0 0 0;
background-image: url([b]URL OF UR LOGO[/b]);
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center center;
}
#navigation div { margin-top:-600px; background-color:transparent;
background-image:none; color:transparent; font-size:0pt!important;
height:0pt!important;opacity:.0;filter: alpha(opacity=0);}
#twoClmLeftWide .left_column{margin-top:-30px;}
#twoClmLeftWide .right_column{margin-top:-30px;}[/quote]
Last edited by sekya (2008-07-28 12:27:01)