2008-10-07 11:59:43

taqi
» FTalkAddict
FTalk Level: zero
597
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][b]odloc wrrote:[/b] all.. draggable googleads dunk.. yg ketemu cma yg addbox doank.. tlong yh.. :D :D[/quote] nih gambarnya : [img]http://Catari.fileave.com/Contest/theme/bullet.gif[/img] [spoiler]if (!attachOnLoadHandler(function() { DRAGGABLE.init();})) window.onload = function() { DRAGGABLE.init();}; if (typeof DRAGGABLE == "undefined") { DRAGGABLE = {}; } DRAGGABLE = { init: function() { var trgt; try { trgt = document.createElement("div"); }catch(e) { trgt = document.createElement("<div>"); } trgt.id = "tl"; trgt.style.position = "absolute"; trgt.style.top = "800px"; trgt.style.left = "250px"; trgt.style.zIndex = 30000; document.getElementsByTagName("body")[0].appendChild(trgt); var d = "<table border=\"0\" width=\"300px\" bgcolor=\"#e5e5e5\" cellspacing=\"0\" cellpadding=\"5\">"+ "<tr>"+ "<td width=\"100%\">"+ "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" height=\"36\">"+ "<tr>"+ "<td id=\"tBar\" style=\"cursor:move\" width=\"100%\">"+ "<ilayer width=\"100%\" onSelectStart=\"return false\">"+ "<layer width=\"100%\" onMouseover=\"isHot=true;if (document.layers) DRAGGABLE.tetikusN4(tl)\" onMouseout=\"isHot=false\">"+ "<center><h2><font face=\"tahoma\" color=\"#000000\">Ads by Google</font></h2></center>"+ "</layer>"+ "</ilayer>"+ "</td>"+ "<td style=\"cursor:hand\" valign=\"top\">"+ "<a href=\"#\" onClick=\"DRAGGABLE.hideMe();return false\"><img src=\"[b][/b]http://Catari.fileave.com/Contest/theme/bullet.gif" title=\"close\"></a>"+ "</td>"+ "</tr>"+ "<tr>"+ "<td width=\"100%\" bgcolor=\"#e5e5e5\" style=\"padding:4px;border: 1px solid #b3b3b3;\" colspan=\"2\">"+"<div align='center'><iframe frameborder='0' width='300' height='250' " +"src='http://pagead2.googlesyndication.com/pagead/ads?client=ca-friendster_btf_intl_js&dt=1209664661015&" +"lmt=1209576384&alternate_ad_url=http://images.friendster.com/images/remnant.html&targeting=site_content&" +"format=300x250_pas_abgnc&output=html&correlator=1209664661015&url=http://www.friendster.htm&color_bg=ffffff&" +"color_text=b3b3b3&color_link=000000&color_url=000000&color_border=b3b3b3&color_line=b3b3b3&ad_type=text_image_flash&" +"frm=0&cc=68&ga_vid=963961750795756500.1209664661&ga_sid=1209664661&ga_hid=1776963697&flash=9.0.115&u_h=768&" +"u_w=1024&u_ah=740&u_aw=1024&u_cd=16&u_tz=420&u_his=1&u_java=true&u_nplug=8&u_nmime=21'></iframe></div>"+"</td>"+ "</tr>"+ "</table>"+ "</td>"+ "</tr>"+ "</table>"; tx = document.getElementById("tl"); tx.innerHTML = d; var link = ""; try { link = document.createElement("<a id=\"dl\" style=\"display: none\" href=\"#\" onclick=\"DRAGGABLE.showMe(this);return false\">"); }catch(e) { link = document.createElement("a"); link.setAttribute("id","dl"); link.setAttribute("href","#"); link.setAttribute("style","display: none"); link.onclick = function() { DRAGGABLE.showMe(); return false; }; } link.innerHTML = "Google Ads"; var q = document.getElementById("controlPanelButtons"); q.appendChild(link); document.onmousedown = DRAGGABLE.tetikusInit; document.onmouseup = Function("ddEnabled=false"); isHot = false; }, hideMe: function() { document.getElementById("dl").style.display = ""; if (document.all || !document.all && document.getElementById) kr.style.display = "none"; else if (document.layers) document.tl.visibility = "hide"; }, showMe: function() { document.getElementById("dl").style.display = "none"; if (document.all || !document.all && document.getElementById) kr.style.display = ""; else if (document.layers) document.tl.visibility = "show"; }, tetikusInit: function(klik) { dx = document.all ? "BODY" : "HTML"; kr = document.all ? document.all.tl : document.getElementById("tl"); dy = document.all ? event.srcElement : klik.target; while (dy.id != "tBar" && dy.tagName != dx) { dy = document.all ? dy.parentElement : dy.parentNode; } if (dy.id == "tBar") { offsetx = document.all ? event.clientX : klik.clientX; offsety = document.all ? event.clientY : klik.clientY; nowX = parseInt(kr.style.left); nowY = parseInt(kr.style.top); ddEnabled = true; document.onmousemove = DRAGGABLE.tetikus; } }, tetikus: function(klik) { if (!ddEnabled) return; kr.style.left = document.all ? nowX + event.clientX - offsetx : nowX + klik.clientX - offsetx; kr.style.top = document.all ? nowY + event.clientY - offsety : nowY + klik.clientY - offsety; return false; }, tetikusN4: function(klik) { if (!document.layers) return; N4 = eval(klik); N4.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP); N4.onmousedown = function(posisi) { N4.captureEvents(Event.MOUSEMOVE); N4x = posisi.x; N4y = posisi.y; }; N4.onmousemove = function(posisi) { if (isHot) { N4.moveBy(posisi.x - N4x, posisi.y - N4y); return false; } }; N4.onmouseup = function() { N4.releaseEvents(Event.MOUSEMOVE); }; } };[/spoiler]

Board footer

© 2024 F Talk

Current time is 15:19

[ 12 queries - 0.625 second ]
Privacy Policy