[quote=sickofyou]@ famous i look at the bold text, i changed it from content_publiccomments_1_7 to content_18...here, use this:
[quote]if ( ! attachOnLoadHandler(function () { rComm();})) window.onload = function () { rComm();};
function rComm() {
CHOOSECOMM.init();
}
if (typeof CHOOSECOMM == "undefined") { CHOOSECOMM = {}; }
CHOOSECOMM = {
comm: null,
elements: {
mainid: document.getElementById("[b]content_18[/b]"),
maintag: "DIV",
mainclass: "fitem1wrapper"
},
init: function() {
this.comm = this.getElementsByClassName(this.elements.mainid,this.elements.maintag,this.elements.mainclass);
for(var x=1; x<this.comm.length;x++) {
if(this.comm[x].innerHTML) {
this.comm[x].parentNode.removeChild(this.comm[x]);
}
}
},
getElementsByClassName: function(oElm, strTagName, strClassName) {
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++) {
oElement = arrElements[i];
if(oRegExp.test(oElement.className)) {
arrReturnElements.push(oElement);
}
}
return (arrReturnElements);
}
};[/quote]
[/quote]
@sick it doesnt work... all my comments appear in my profile
i want to appear just only one..and then the others must be hide.. urgh