ermical » FstarMember
Honors : 139 Age : 36 Location : home of lost soul Warnings : Honors : 58760 Registration date : 2008-10-20
| Subject: One Column Center Friendster Profile! Mon Oct 20, 2008 10:06 am | |
| "ONE COLUMN FRIENDSTER PROFILE"Steps: just copy the code below and paste it to your external js codes and save it. - Spoiler:
- Code:
-
/** * One Column Friendster Profile * Credits to Feruss and Friendstertalk * Timestamp: June 02, 2008 * Browser Compatibility: IE6, IE7, Firefox 2, Firefox 3, Opera 9, Safari 3.0 **/
/*global oColumn, attachOnLoadHandler, window, document*/
if (!attachOnLoadHandler(function () { oColumn.init(); })) { window.onload = function () { oColumn.init(); }; }
(function () { oColumn = { $width: "630px", //Default width $IE: /*@cc_on!@*/false, //IE
init: function () { var tableleft = oColumn.$$("ltd", "td")[0].getElementsByTagName("ul")[0]; var tableright = oColumn.$$("rtd", "td")[0].getElementsByTagName("ul")[0]; var ctrlpnl = oColumn.$$("commonbox controlpanel", "div")[0]; if (!oColumn.$IE) { tableleft.parentNode.parentNode.parentNode.appendChild(tableright); } else { //Fixed for IE ctrlpnl.parentNode.parentNode.appendChild(tableright); } var tabledata = document.getElementsByTagName("td")[0].getElementsByTagName("img"), x = 0; while (x < tabledata.length) { if (tabledata[x].src === "http://images.friendster.com/images/spacer.gif") { tabledata[x].style.display = "none"; } x = 1; } var tableparent = oColumn.$$("commonbox", "div"), y = 0; while (y < tableparent.length) { tableparent[y].style.width = oColumn.$width; y = 1; } try { var removeads = oColumn.$$("standalonebox ads", "div")[0]; removeads.style.display = "none"; var banner = document.getElementById("banneradrow"); banner.style.display = "none"; } catch (e) {} },
$$: function (strClass, nodeName, pElem) { nodeName = nodeName || "*"; pElem = pElem || document; var objElm = pElem.getElementsByTagName(nodeName); if (!objElm.length && nodeName === "*" && pElem.all) { objElm = pElem.all; } var results = []; var delim = strClass.indexOf("|") !== -1 ? "|": " "; var rClass = strClass.split(delim); for (var i = 0, j = objElm.length; i < j; i = 1) { var rObjClass = objElm[i].className.split(" "); if (delim === " " && rClass.length > rObjClass.length) { continue; } var c = 0; comparisonloop: for (var k = 0, l = rObjClass.length; k < l; k = 1) { for (var m = 0, n = rClass.length; m < n; m = 1) { if (rClass[m] === rObjClass[k]) { c = 1; } if ((delim === "|" && c === 1) || (delim === " " && c === rClass.length)) { results.push(objElm[i]); break comparisonloop; } } } } return results; } }; })();
..when you done, generate the script and paste it to "About me Section" Hope it help.. thanks preview here:http://www.friendster.com/ermical2<br> "Live life as if there is no tomorrow"
Last edited by ermical on Mon Oct 20, 2008 10:09 am; edited 1 time in total (Reason for editing : To make more understable.) | |
|
vinmark016 » Newbie
Honors : 20 Warnings : Honors : 58820 Registration date : 2008-10-14
| Subject: Re: One Column Center Friendster Profile! Fri Oct 24, 2008 3:09 am | |
| i think this code is feruzz's code.. please give credits buddy.. | |
|
ermical » FstarMember
Honors : 139 Age : 36 Location : home of lost soul Warnings : Honors : 58760 Registration date : 2008-10-20
| |
_jaris_ » V.I.P.
Honors : 343 Age : 32 Warnings : FW Mood: : Honors : 58810 Registration date : 2008-10-15
| Subject: Re: One Column Center Friendster Profile! Mon Nov 03, 2008 6:05 am | |
| i hate js... btw u have a private prof. cant see the preview.. ^___^ | |
|
amiick Admin
Honors : 142 Age : 34 Location : cavite Warnings : FW Mood: : Honors : 57864 Registration date : 2009-01-15
| Subject: Re: One Column Center Friendster Profile! Thu Jan 15, 2009 10:00 am | |
| | |
|
Sponsored content
| Subject: Re: One Column Center Friendster Profile! | |
| |
|