2008-06-19 02:24:44

teguh0203
» FTalkAgent
FTalk Level: zero
2408
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]be_voa[/b] ni :thumbsdown: [spoiler]//floating image dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://i220.photobucket.com/albums/dd75/ediajah/james/black.gif' width='100px' height='100px' style='filter:none;-moz-opacity:1.0'/></div>"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=dude; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="fromtop" function BoyantDiv() { var startX = 15; var startY = 250; function ml(id) { if (document.getElementById) { var wek=document.getElementById(id); } else if (document.all) { var wek=document.all[id]; } else { var wek=document.layers[id]; } if(document.layers) { wek.style=wek; } wek.sP = function(x,y) {shino(x,y);}; function shino(x,y) { wek.style.left=x; wek.style.top=y; } wek.x = startX; if (verticalpos=="fromtop") { wek.y = startY; } else{ if (navigator.appName.indexOf("Netscape") != -1) { wek.y = pageYOffset + innerHeight; } else { wek.y = document.body.scrollTop + document.body.clientHeight; } wek.y -= startY; } return wek; } window.stayTopLeft = function () {boyant();}; function boyant() { if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset; } else { var tenten = document.body.scrollTop; } ftlObj.y += (tenten + startY - ftlObj.y)/8; } else{ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset + innerHeight; } else { var tenten = document.body.scrollTop + document.body.clientHeight; } ftlObj.y += (tenten - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); wakoko=setTimeout("stayTopLeft()", 50); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv();[/spoiler] :arrow:[b]gesena[/b] coba kamu rename namanya,jangan [b]tracker[/b] trus cari kode ini :thumbsdown: [spoiler]/*MISC FUNCTIONS*/ 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 LEFT 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook RIGHT 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups null - appends to last */ 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] itu taronya dimana :thumbsup: :arrow:[b]kidin[/b] coba fan,grup,frendnya taro d C Dan ini taro d B [spoiler]addbox("LEFT","<a href=\"#\" onClick=\"show_hide('CONTENT_ID'); return false\"><div>HEADER BOX TAMBAHAN</div></a>",VARIABEL_ISI_BOX,"BOX_ID",SIBLING_ID);[/spoiler] dan ini d A [spoiler]// status ym var wakokok; try {wakokok = document.createElement("div");} catch (e) {wakokok = document.createElement("<div>");} wakokok.innerHTML = "<br><center><a href='ymsgr:sendim?ke_vhin'><img src='http://opi.yahoo.com/online?u=ke_vhin&m=g&t=2&l=us'></center>"; wakokok.setAttribute("style","text-align:right;padding-top:10px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.ap[/spoiler]

Last edited by teguh0203 (2008-06-19 02:32:43)

Board footer

© 2024 F Talk

Current time is 08:52

[ 12 queries - 0.421 second ]
Privacy Policy