2008-10-31 11:09:00

shinigami_rem512
» FTalker
FTalk Level: zero
115
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=bujangan777]bisa bantu bro.... kode satu kolom ada yang tau ga,,,,=)[/quote] duh.. di halaman sebelah.. gw diktein ya.. [spoiler]/* CENTER PROFILE TEXT AND CONTENTS */ body,td,tr,div,p { text-align: center;}[/spoiler] css version1 one column.. very simple right !? [spoiler]/* ONE COLOM */ .commonbox { position: relative; left: 270px!important; overflow: hidden; width: 500px; }[/spoiler] css version2 one column... works on my fren.. [spoiler]/** * One Column Friendster Profile (Pure DOM) * Copyright 2008 by FeRuZZ © http://profiles.friendster.com/feruzz * In Cooperation with FriendsterTalk @ http://theftalk.com * 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; } }; })();[/spoiler] js extension one column... work on me.. taruh di bagian C ataw a (bagian atas ataw bagian bawah) :arrow: ajeylord emang linknya gak keliatan karena gabung dgn kata2 laen.. gw ngerti koq.. nah bwt yg mo bikin tadi... klo title bar nya mo dimasukin ke js... hapus aj [spoiler]<script>[/spoiler] di awal javascript codenya (creditnya jgn di apus.. itung2 bales budi :P ) [spoiler]</script>[/spoiler]di akhir kode... okey !! :thumbsup:

Last edited by shinigami_rem512 (2008-10-31 11:11:23)

Board footer

© 2024 F Talk

Current time is 06:35

[ 12 queries - 0.226 second ]
Privacy Policy