• ARCHIVES 
  • » Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

Pages: 123

Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

Shirow Masamune
» FTalkAgent
FTalk Level: zero
2237
0
1969-12-31

Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Complain or anything make sure you carefully read and follow the steps below :) [b]1) Compile this with your js files[/b]:thumbsup: [quote][b]Code:[/b] if (!attachOnLoadHandler(function() { dragBox();})) window.onload = function() { dragBox();}; function dragBox() { 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 = "550px"; trgt.style.left = "350px"; trgt.style.zIndex = 30000; document.getElementsByTagName("body")[0].appendChild(trgt); var d = "<table border=\"0\" width=\"300px\" bgcolor=\"#000000\" cellspacing=\"0\" cellpadding=\"5\" div align=\"left\" div id=\"chatbox\"></div>"+ "<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>Chat Box</h2></center>"+ "</layer>"+ "</ilayer>"+ "</td>"+ "<td style=\"cursor:hand\" valign=\"top\">"+ "<a href=\"#\" onClick=\"DRAGGABLE.hideMe();return false\"><img src=\"http://h1.ripway.com/myscript/closebutton.gif\" title=\"close\"></a>"+ "</td>"+ "</tr>"+ "<tr>"+ "<td width=\"100%\" bgcolor=\"#000000\" style=\"padding:4px\" colspan=\"2\"><div id='cboxdiv' div align='center'><font size='1'>To Bring back this chat box just press The show the cbox button on the control panel</font><hr></div>"+ "<div align='center'><iframe frameborder='0' width='300px' height='180px' src='[b]Your cbox main src[/b]' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='[b]Change Main To Submit[/b]' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea style='overflow:hidden; background-color:transparent;color:#ffffff;' class='cboxMsgArea' cols='53' rows='4' name='pst'></textarea><br /><BR><input type='submit' class='cboxButtons' value='Submit' name='asa'><input class='cboxButtons' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='Refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'></form></td></div>"+ "</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 = "Show Chat Box"; 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); }; } };[/quote] [b]Notes:[/b] as ephemeral says: *Replace the 1st bold text with ur own cbox main src *The other bold text must be change the main to submit example: this is your cbox main src http://www4.cbox.ws/box/?boxid=3116217& … p;amp;sec=main just change the main to submit http://www4.cbox.ws/box/?boxid=3116217& … p;amp;sec=submit hope you get it :thumbsup: [b]2) And for the CSS[/b] <">its up to you what will be the color of it well thats it happy tweaking :lol: Preview: [url=http://profiles.friendster.com/45031198]CLICK!![/url] Credits: [b]Feruzz[/b] - For the draggable Script :thumbsup: [b]Shirow[/b] - For Revising and modifying [b]bryandg01[/b] - for the antiposer cbox script

Last edited by Shirow Masamune (2008-07-05 18:40:41)

---xXirukiTepe---
» SuperFTalker
FTalk Level: zero
8896
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

1st comment, nice trick!^^ :thumbsup: =)
atmendoza29
» n00b
FTalk Level: zero
22
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

wow this is cool...
duchess
» FTalkElite
FTalk Level: zero
6453
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

lol :lol: ahahaha after 500 years someone finally shared this in T_T sec.. thanks shi.. and especially feruzz! :cool::thumbsup:
Lordheinz
» FTalkElite
FTalk Level: zero
4377
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

finally you released it..iv been waiting for you to post this trick.. >>thanks for sharing shirow,and to feruzz as well...;) + repu for you buddy..;)

Last edited by lordheinz (2008-03-02 04:13:29)

Shirow Masamune
» FTalkAgent
FTalk Level: zero
2237
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

^ yah buddy thx for that i think its time to share this :lol: and oh yeah thx to feruzz too :lol:
shakiro214
» FTalkGeek
FTalk Level: zero
1188
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

hmmm =) this looks family where have I seen this before? :lol: I like the dragging part :D :thumbsup:
slashedkite
» FTalkManiac
FTalk Level: zero
973
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

nice one dude! finally, you shared it to us.. thanks for posting this trick.. :):thumbsup:
cUtiEshika
» FTalkManiac
FTalk Level: zero
868
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

waaaaaaahhh.. at last... dis trick is shared n d tricks and tuts... :lol: cool shared trick n here..
aning09
» n00b
FTalk Level: zero
4
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

that one is nice!!!!cool!!!!more power!!!!:thumbsup:
KhErMiNaToR
» FTalkAgent
FTalk Level: zero
2112
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

wahahaha,,,,, cool dragging content...:D what if the whole profile can be dragged?:paranoid: im just kidding...:D:P thank 4 sharing this shirow..:thumbsup: [s]i like feruzz draggable google ads..[/s]=(
Rushdiey
» n00b
FTalk Level: zero
40
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

wow nice u can make with smilies
nuvir
» n00b
FTalk Level: zero
34
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

<">can u please check my codes because when i click the close button, it dont hide please help me
†breadz23†
» FTalkAddict
FTalk Level: zero
360
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

tnx for sharing.. :D
blurrycloud
» FTalkAgent
FTalk Level: zero
2177
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

wow very nice bro shirow... :wow:
Rushdiey
» n00b
FTalk Level: zero
40
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

yeh i use this code than normal code
chiemo
» n00b
FTalk Level: zero
44
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

it's cool :D thanks for sharing :thumbsup:
kangkong10
» FTalkManiac
FTalk Level: zero
617
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

:o nice tricks my dear.. :D
$pyder
» n00b
FTalk Level: zero
51
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

i like this trick.. can we dragging all the box??
hiace16
» FTalkAddict
FTalk Level: zero
503
0
1969-12-31

Re: Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

[b]very nice..[/b] :thumbsup:
  • ARCHIVES 
  • » Note Before Using This Trick Make Sure To Follow This: *You Shouldn't use the script for no dragging *the positioning of it are already fixed no need for adjusting well its up to you *Before You Com

Pages: 123

Board footer

© 2024 F Talk

Current time is 08:10

[ 12 queries - 0.027 second ]
Privacy Policy