• ARCHIVES 
  • » [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

Pages: 1

[b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

--AP--
» FTalker
FTalk Level: zero
160
0
1969-12-31

[b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

[b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres my Chatango chat box code... <">
Dynasty-tweaker
» FTalkWhiz
FTalk Level: zero
2528
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

addbox or replacing box content?
--AP--
» FTalker
FTalk Level: zero
160
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

^ i dont know maybe add box

Last edited by --AP-- (2009-01-17 00:54:37)

mabuhay
» FTalkManiac
FTalk Level: zero
849
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

try this... :thumbsdown: [spoiler]function onProfileLoad() { //onload handler var code="<object width=\"200\" height=\"400\" id=\"obj_1223018331906\"><param name=\"movie\" value=\"http://CrAzeeChAt.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"/><embed id=\"emb_1223018331906\" src=\"http://CrAzeeChAt.chatango.com/group\" width=\"200\" height=\"400\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"></embed></object>"; addBox("RIGHT","CHATANGO",code,"div_238","14"); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; 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] Credits : marfillaster [url]http://chibibo.elementfx.com/fsaddbox.htm[/url]

Last edited by mabuhay (2009-01-19 01:49:21)

--AP--
» FTalker
FTalk Level: zero
160
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

^^ it not working... :(
mabuhay
» FTalkManiac
FTalk Level: zero
849
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

[quote][b]--AP-- wrote:[/b] ^^ it not working...[/quote] working 2 my testpage dude :D :thumbsdown: Preview: [url]http://profiles.friendster.com/93884943[/url] paste teh code inside ur onload handler [quote]var code="<object width=\"200\" height=\"400\" id=\"obj_1223018331906\"><param name=\"movie\" value=\"http://CrAzeeChAt.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"/><embed id=\"emb_1223018331906\" src=\"http://CrAzeeChAt.chatango.com/group\" width=\"200\" height=\"400\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"></embed></object>"; addBox("RIGHT","CHATANGO",code,"div_238","14");[/quote]

Last edited by mabuhay (2009-01-19 02:03:17)

--AP--
» FTalker
FTalk Level: zero
160
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

i put in here :arrow: [url]http://ooapriljoo.ucoz.com/JSLayouts/Rockable.js[/url] can u plz check if theres samthing wrong... [quote]function onProfileLoad() { //onload handler var code="<object width=\"200\" height=\"200\" id=\"obj_1223018331906\"><param name=\"movie\" value=\"http://CrAzeeChAt.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"/><embed id=\"emb_1223018331906\" src=\"http://CrAzeeChAt.chatango.com/group\" width=\"200\" height=\"200\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"></embed></object>"; addBox("RIGHT","CHATANGO",code,"div_238","14");[/quote]

Last edited by --AP-- (2009-01-21 01:53:06)

bobskie
» FTalkAddict
FTalk Level: zero
596
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

your code is incomplete,you didn't include this to your addbox function [spoiler][quote]} if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; 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); } }[/quote] [/spoiler] the right one [spoiler][quote]function onProfileLoad() { //onload handler var code="<object width=\"200\" height=\"400\" id=\"obj_1223018331906\"><param name=\"movie\" value=\"http://CrAzeeChAt.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"/><embed id=\"emb_1223018331906\" src=\"http://CrAzeeChAt.chatango.com/group\" width=\"200\" height=\"400\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"></embed></object>"; addBox("RIGHT","CHATANGO",code,"div_238","14"); [b]} if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; 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); } }[/b][/quote] [/spoiler]
--AP--
» FTalker
FTalk Level: zero
160
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

thx 4 the help.... but still cant make it work... is there samthing wrong with this >> [quote]//CSS injection function injectcss() { if(window.cssinjected == undefined) { cssinjected = 1; var css = document.createElement("link"); css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://ooapriljoo.ucoz.com/CSSLayouts/RockableCSS.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); } }injectcss(); /*////////////////////////////////////////*/ function loadjscssfile(filename, filetype){ if (filetype=="js"){ //if filename is a external JavaScript file var fileref=document.createElement('script') fileref.setAttribute("type","text/javascript") fileref.setAttribute("src", filename) } else if (filetype=="css"){ //if filename is an external CSS file var fileref=document.createElement("link") fileref.setAttribute("rel", "stylesheet") fileref.setAttribute("type", "text/css") fileref.setAttribute("href", filename) } if (typeof fileref!="undefined") document.getElementsByTagName("head")[0].appendChild(fileref) } loadjscssfile("http://h1.ripway.com/ooapoo/MOVINGTITLEBAR.js","js") //dynamically load and add this .js file loadjscssfile("http://h1.ripway.com/ooapoo/AUTO_FRIEND_ADDER.js","js") //dynamically load and add this .js file loadjscssfile("http://april_aztig0.webs.com/SilentNoRightClick.js","js") //dynamically load and add this .js file loadjscssfile("http://h1.ripway.com/ooapoo/ShotoutTypewriter.js","js") //dynamically load and add this .js file loadjscssfile("http://crazylayout.webs.com/tooltips_testimonials2.js","js") //dynamically load and add this .js file loadjscssfile("http://h1.ripway.com/ooapoo/LogOutEffect.js","js") //dynamically load and add this .js file /*////////////////////////////////////////*/ //CHAT BOX var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://ooapriljoo.ucoz.com/JSLayouts/chatbox.js"; document.getElementsByTagName("head")[0].appendChild(myjs);[/quote]
bobskie
» FTalkAddict
FTalk Level: zero
596
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

theres nothing wrong,here's a preview of your code.. :arrow: [url=http://profiles.friendster.com/burnedn]preview[/url]
xoOox
» FTalkWhiz
FTalk Level: zero
3264
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

try this short script! paste in ur js extension: [spoiler]// Addbox Chatango function addbox(){ x1=document.createElement("div"); x1.id="chatango"; document.getElementById("[b]14[/b]").parentNode.appendChild(x1); chatango.innerHTML="<h2>My Chatango</h2>" +"<br><center><object width=\"280\" height=\"400\" id=\"obj_1223018331906\"><param name=\"movie\" value=\"http://CrAzeeChAt.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"/><embed id=\"emb_1223018331906\" src=\"http://CrAzeeChAt.chatango.com/group\" width=\"280\" height=\"400\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"></embed></object></center><br>" } setTimeout("addbox()",1000)[/spoiler] note: -change the [b]14[/b] to the ID of the lowermost right box, [b]-dont change if you have a group [/b] this is for CSS extension: <">Change the "Question marks", all of[b] ??????[/b] and [b]?px[/b] preview: [url=http://profiles.friendster.com/89957953]CLICK ME![/url] addbox origntd from switpotato..

Last edited by xoOox (2009-01-20 07:50:48)

--AP--
» FTalker
FTalk Level: zero
160
0
1969-12-31

Re: [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

[quote=xoOox]try this short script! paste in ur js extension: [spoiler]// Addbox Chatango function addbox(){ x1=document.createElement("div"); x1.id="chatango"; document.getElementById("14").parentNode.appendChild(x1); chatango.innerHTML="<h2>My Chatango</h2>" +"<br><center><object width=\"280\" height=\"400\" id=\"obj_1223018331906\"><param name=\"movie\" value=\"http://CrAzeeChAt.chatango.com/group\"/><param name=\"wmode\" value=\"transparent\"/><param name=\"AllowScriptAccess\" VALUE=\"always\"/><param name=\"AllowNetworking\" VALUE=\"all\"/><param name=\"AllowFullScreen\" VALUE=\"true\"/><param name=\"flashvars\" value=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"/><embed id=\"emb_1223018331906\" src=\"http://CrAzeeChAt.chatango.com/group\" width=\"280\" height=\"400\" wmode=\"transparent\" allowScriptAccess=\"always\" allowNetworking=\"all\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" flashvars=\"cid=1223018331906&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&p=12&s=1&v=0&aa=1\"></embed></object></center><br>" } setTimeout("addbox()",1000) note: -change the 14 to the ID of the lowermost right box, -dont change if you have a group this is for CSS extension: Code: /* Chatango */ #chatango { margin:12 0 12 0px; border-width: ?px; border-style: ??????; background-color: ??????; background: url( ) center repeat; } /* chatango Header */ #chatango h2 { color: ??????; padding: 5 0 5 10px; border: ??????; background: ??????; } Change the "Question marks", all of ?????? and ?px[/spoiler] preview: CLICK ME! addbox origntd from switpotato..[/quote] ey... dude thx .. its working... :D:thumbsup:

Last edited by --AP-- (2009-01-21 01:46:36)

  • ARCHIVES 
  • » [b] can any1 help me how to change this code so i can put it in my js.... its that Chatango chat box thing not theCbox ... i want the chatbox to be at the right side if thats possible...[/b] heres m

Pages: 1

Board footer

© 2025 F Talk

Current time is 23:37

[ 10 queries - 0.014 second ]
Privacy Policy