Pages: 123

  2008-03-21 04:53:09

unmaskedluke
» FTalkGeek
FTalk Level: zero
1180
0
1969-12-31

[b]First thing again is : [/b] DELETE this thread MOD's , if this tricks are already posted here or any related topic. Any violation made by this post need an accurate action by the MOD's and also fro

[quote=Flora18]where is it d' js file??? can anyone here plz tell me....i know it kinda stupid quest 4 u guyz.... but I just don't hw to figure it out this kind of stuff...plz help me guyz :crybaby: ....btw thanxx pyawzi 4 ur reply...i really appreciate it :)[/quote] If you are using a CSS type profile, u can follow diz step.. [quote]var css = document.createElement("link"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","[b]PASTE YOUR CSS PROFILE LINK HERE[/b]"); document.getElementsByTagName("head")[0].appendChild(css); //onload handler function onProfileLoad() { //insert generated boxes here } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox(head,code,id,siblingafter) { /* head: html string title null - no header bar code: html string content id: unique string css pointer siblingafter: regexp classname 'left' - mainbar column end 'right' - sidebar column end */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } [b]JUST PASTE THE CODE HERE![/b][/quote] Save this as .js file and upload in web hosting site.. finally, jz use JS Linker..

Pages: 123

Board footer

© 2025 F Talk

Current time is 23:58

[ 12 queries - 0.011 second ]
Privacy Policy