2008-05-26 23:14:54

nopathz
» FTalkGeek
FTalk Level: zero
1256
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

:arrow: [b]paijoooo[/b] langkah selanjutnya : apus bagian ini di js bro (kok ada css di dalam js?) [spoiler]/* Reset and base font: base font = Arial 11px/1.22em, #555555 (scale: 10px = 90%; 12px = 109%; 14px = 127%; 16px = 145%) */ table,tr,body,div,td {margin:0;padding:0;border: 0px;} body {color:#555555;font:11px arial,helvetica,sans-serif;;} table {font-size:inherit;font:100%;} body { text-align: center; background-color: #e3e3e3; overflow-y:scroll/* Fix for IE scrollbar bug */ } /* Default link styles */ a { font-weight: bold; } a:link, a:visited, a:active, a:hover { text-decoration: none; color: #004F59; background: url() no-repeat center left;} a:hover { text-decoration: underline; color: #004F59; } a.action:link, a.action:visited, a.action:hover, a.action:active { color: #004F59; } #main, .row , tr, td { width: 100%; } #top, #foot, #ad { padding: 5px } .row td { padding: 5px } span, .more, .visit, .copy { font-size: smaller; } .imageblock { vertical-align: top; background-color: transparent; overflow: hidden; height:75px; width:60px; text-align: center; border: 2px solid #DDDDDD; } a:hover img { filter:alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; } a img { filter:alpha(opacity=100); -moz-opacity: 1.0; opacity: 1.0; } img { height: 75px; border: 0px; } .properti { align: center; } .visit { margin-bottom: 5px; } .even { background-color: #97b6ca; } .rtd, .ltd { vertical-align: top; } .ltd { width: 85px; } .rtd { padding-left: 0px !important } sup { font-size: .5em } .ip { color: red; font-size: 12px; font-weight: bold; } .online { color: green; font-weight: bold; } .strong { font-weight: bold; } #plinks a:link, #plinks a:visited, #plinks a:active, #plinks a:hover { text-decoration: none; } .pageselected:link { color: #004F59; } .copy { font-weight: bold; font-size: 11px; } .butt { color : #999999; border: 1px solid #808080; background-color: 1a1a1a; } .butt:hover{ background-color: #000000; } .arrowlistmenu{ width: 250px; padding-left: 20px; } .arrowlistmenu .menuheader{ font: bold 14px Arial; color: white; background: black url(http://www.balibersatu.com/wvm/image/titlebar.png) repeat-x center left; margin-bottom: 10px; text-transform: none; padding: 4px 0 4px 10px; cursor: hand; cursor: pointer; } .arrowlistmenu .openheader{ background-image: url(http://www.balibersatu.com/wvm/image/titlebar-active.png); } .arrowlistmenu ul{ list-style-type: none; margin: 0; padding-left: 10px; margin-bottom: 8px; } .arrowlistmenu ul li{ padding-bottom: 2px; } .arrowlistmenu ul li a{ color: #A70303; display: block; padding: 2px 0; padding-left: 19px; text-decoration: none; font-weight: bold; border-bottom: 1px solid #dadada; font-size: 90%; } .arrowlistmenu ul li a:visited{ color: #A70303; } .arrowlistmenu ul li a:hover{ /*hover state CSS*/ color: #A70303; background-color: #F3F3F3; }[/spoiler] trus ubah ini : [quote]addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right");[/quote] jadi gini : [quote]addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker",null);[/quote] dan ubah ini : [spoiler]function addBox(head,code,id,siblingafter) { 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); } }[/spoiler] menjadi gini : [spoiler]function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings Default "sibling_ID" Boxes for Reference (10/19/07) LEFT RIGHT "0" = controlpanel "15" = meettrail "1" = photos "2" = friends "13" = blogs "14" = googleads "12" = reviews "7" = fan "6" = moreabout "8" = groups "18" = publiccomments null = appends to last(without "") "10" = scrapbook */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else {var ul=document.getElementById("2").parentNode.parentNode; } li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } }[/spoiler] duh banyak amat sih yang salah .... bro ambil kode sana-sini .... masukin di js sana-sini ... sepertinya bro emang baru pertama kali tweaking yah??? mendingan bro buat dari awal aja .. cari script yang [b]gampang[/b] dulu ...:D masukin satu per satu ...

Last edited by nopathz (2008-05-26 23:24:09)

Board footer

© 2024 F Talk

Current time is 16:04

[ 12 queries - 0.502 second ]
Privacy Policy