2008-07-12 11:07:59

untitledZ
» FTalkAddict
FTalk Level: zero
488
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: all ane pnya 2 problem neh :wallbash: 1. carana ngecilin pic floating viewer :paranoid: yg di edit bagian mana :thumbsdown: [spoiler]dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><div id='mainpic'></div></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="frombottom" function BoyantDiv() { var startX = 15; var startY = 170; 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(); if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();}; function viewer() { if(pageViewerID!="") VIEWERPIC.init(); } function spawnImage(mypic) { if (!mypic) { VIEWERPIC.getCode(); return; }else { for (val in VIEWERPIC.info) { try { VIEWERPIC.getPhoto = new RegExp(VIEWERPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); document.getElementById("mainpic").innerHTML = VIEWERPIC.getPhoto; } catch(e) { VIEWERPIC.getPhoto = ""; document.getElementById("mainpic").innerHTML = ""; } } } } if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { getPhoto: [], info: { photo: null }, regexp: { photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/ }, init: function() { if(document.getElementById("mainpic") != null) { this.ajaxRequest("/user.php?uid="+pageViewerID,"spawnImage",null); } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) { handler = ","+handler; } else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) { eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); } httprequest.open('GET', url, true); httprequest.send(null); } };[/spoiler] 2. gedein widget (aquarium clock) :thumbsdown: [spoiler]var code="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" type=\"application/x-shockwave-flash\" width=\"200px\" height=\"173px\" id=\"InsertWidget_7e5ca4a0-0cda-4606-a47c-690756cf8d71\" align=\"middle\"><param name=\"movie\" value=\"http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf\"/><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"menu\" value=\"false\" /><param name=\"flashvars\" value=\"r=2&appId=7e5ca4a0-0cda-4606-a47c-690756cf8d71\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /> <embed src=\"http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf\" name=\"InsertWidget_7e5ca4a0-0cda-4606-a47c-690756cf8d71\" width=\"200px\" height=\"173px\" quality=\"high\" menu=\"false\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" align=\"middle\" allowScriptAccess=\"sameDomain\" flashvars=\"r=2&appId=7e5ca4a0-0cda-4606-a47c-690756cf8d71\" /></object>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_DIV34'); return false\"><div title=\"header=[Piaraannya Fisherman] body=[Dilarang memberi makan sembarangan]\">Clock & Aquarium</div></a>",code,"DIV34",null); show_hide("content_DIV34");[/spoiler] nie screenshotnya :thumbsdown: [img]http://img297.imageshack.us/img297/6247/58715515gq6.jpg[/img] url fs na :arrow: [url]http://www.friendster.com/fishermanmocel[/url] tulung yah thankz b4 =) :thumbsup:

Board footer

© 2024 F Talk

Current time is 02:29

[ 12 queries - 0.573 second ]
Privacy Policy