1 adding another box on your friendster profile Mon Sep 21, 2009 6:16 pm
danilodeleon
Administrative Team
first thing you should have:
1.knowledge on how to compile js file extension
2.common sense
3.patience ,,
ok..here we go.
step 1:
create and account in www.cbox.ws and get your own cbox and its codes. after getting it the code should be like this
just delete the ff:
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<!-- END CBOX -->
cuz we wont need it..
it should b like this now
now.step2:
change all double qoute--------->> " to single qoute ' inside the cbox code.(very important)
it should be like this now
one alignment only:
copy paste the final edited code and insert to addbox script
since u r dealing with js.... add it to the rest of js file and use js linker....
thats it,and you are done.
1.knowledge on how to compile js file extension
2.common sense
3.patience ,,
ok..here we go.
step 1:
create and account in www.cbox.ws and get your own cbox and its codes. after getting it the code should be like this
- Code:
<!-- BEGIN CBOX - [url=http://www.cbox.ws/]www.cbox.ws[/url] - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="400" height="370" src="[url=http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=main]http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=main[/url]" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#DBE2ED 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="400" height="80" src="[url=http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=form]http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=form[/url]" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#DBE2ED 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
just delete the ff:
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<!-- END CBOX -->
cuz we wont need it..
it should b like this now
- Code:
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="400" height="370" src="[url=http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=main]http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=main[/url]" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#DBE2ED 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="400" height="80" src="[url=http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=form]http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=form[/url]" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#DBE2ED 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
now.step2:
change all double qoute--------->> " to single qoute ' inside the cbox code.(very important)
it should be like this now
- Code:
<div id='cboxdiv' style='text-align: center; line-height: 0'>
<div><iframe frameborder='0' width='400' height='370' src='http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 1px solid;' id='cboxmain'></iframe></div>
<div><iframe frameborder='0' width='400' height='80' src='http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 1px solid;border-top:0px' id='cboxform'></iframe></div>
</div>
- Code:
<div id='cboxdiv' style='text-align: center; line-height: 0'><div><iframe frameborder='0' width='400' height='370' src='http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 1px solid;' id='cboxmain'></iframe></div><div><iframe frameborder='0' width='400' height='80' src='http://www2.cbox.ws/box/?boxid=2001440&boxtag=tfrxx1&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 1px solid;border-top:0px' id='cboxform'></iframe></div>
</div>
one alignment only:
copy paste the final edited code and insert to addbox script
- Spoiler:
- // CHATBOX CODE
function addboxchatbox(){
me4=document.createElement("div");
me4.id="chatbox";
document.getElementById("0").parentNode.appendChild(me4);
chatbox.innerHTML=" COMPLETE EDITED CHATBOX CODE HERE"
}
setTimeout("addboxchatbox()",1000);
since u r dealing with js.... add it to the rest of js file and use js linker....
thats it,and you are done.