Last edited by diabolicious (2007-08-01 01:02:20)
Im asking permission just as everyone said
After intense studying.. I come up with this code
and I cant figure out what to put on the last part of my code
[quote]if (!attachOnLoadHandler(function(){editContent()})) parent.onload = function(){editContent()};
//load script
function attachOnLoadHandler(func)
{
if(parent.attachEvent)
{
//win 5.0-6.0
parent.attachEvent('onload',func);
return true;
}
if(parent.addEventListener)
{ //moz,opera & safari
parent.addEventListener('load',func,false);
return true;
}
return false;
}
function editContent() {
var cbox1="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='90%' height='300' src='http://www4.cbox.ws/box/?boxid=3295805&boxtag=2474&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#000000 12px solid;' id='cboxmain'></iframe><br>"+
"<iframe frameborder='0' width='90%' height='105' src='http://www4.cbox.ws/box/?boxid=3295805&boxtag=2474&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#000000 12px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
var thesidebar="<div id='sidething'><center><b>CLICK THEM HERE:</b><br><a href=\"javascript:onClick=get_properties('admain')\">ANNOUNCEMENT</a></br>"+
"<a href=\"javascript:onClick=get_properties('css')\">CSS URL GENERATOR</a></br>"+
"<a href=\"javascript:onClick=get_properties('js')\">JS URL GENERATOR</a></br>"+
"<a href=\"javascript:onClick=get_properties('ftalk')\">TRICKS AND TUTORIALS</a></br>"+
"<a href=\"javascript:onClick=get_properties('chatroom')\">GEO & FLASH CHATROOM</a></br>"+
"<a href=\"javascript:onClick=get_properties('chit')\">TAMBAYAN CHATROOM</a></br>"+
"<a href=\"javascript:onClick=get_properties('chat')\">FRIENDSTER CHATROOM</a></center><br><br></div>";
addSideBar[b]("MY CBOX",cbox1,"ul_cbox_content");[/b]
}[/quote]
What's wrong in this code please kindly check
Last edited by diabolicious (2007-08-01 01:04:29)
After intense studying.. I come up with this code
and I cant figure out what to put on the last part of my code
[quote]if (!attachOnLoadHandler(function(){editContent()})) parent.onload = function(){editContent()};
//load script
function attachOnLoadHandler(func)
{
if(parent.attachEvent)
{
//win 5.0-6.0
parent.attachEvent('onload',func);
return true;
}
if(parent.addEventListener)
{ //moz,opera & safari
parent.addEventListener('load',func,false);
return true;
}
return false;
}
function editContent() {
var cbox1="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='90%' height='300' src='http://www4.cbox.ws/box/?boxid=3295805&boxtag=2474&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#000000 12px solid;' id='cboxmain'></iframe><br>"+
"<iframe frameborder='0' width='90%' height='105' src='http://www4.cbox.ws/box/?boxid=3295805&boxtag=2474&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#000000 12px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
[b]var thesidebar="<div id='sidething'><center><b>CLICK THEM HERE:</b><br><a href=\"javascript:onClick=get_properties('admain')\">ANNOUNCEMENT</a></br>"+
"<a href=\"javascript:onClick=get_properties('css')\">CSS URL GENERATOR</a></br>"+
"<a href=\"javascript:onClick=get_properties('js')\">JS URL GENERATOR</a></br>"+
"<a href=\"javascript:onClick=get_properties('ftalk')\">TRICKS AND TUTORIALS</a></br>"+
"<a href=\"javascript:onClick=get_properties('chatroom')\">GEO & FLASH CHATROOM</a></br>"+
"<a href=\"javascript:onClick=get_properties('chit')\">TAMBAYAN CHATROOM</a></br>"+
"<a href=\"javascript:onClick=get_properties('chat')\">FRIENDSTER CHATROOM</a></center><br><br></div>";[/b]
addSideBar("MY CBOX",cbox1,"ul_cbox_content");
}[/quote]
What's wrong in this code please kindly check[/quote]
hey dude the bolded texts are the exact ids and words im using..
howd you got that????????
Please help me..
this was your response from my request right?
how come I cant understand anything?
Last edited by diabolicious (2007-08-01 07:53:05)
eniweizz dale i have more scripts to polish..
Last edited by xavierkym (2007-08-01 07:56:17)
Last edited by diabolicious (2007-08-01 08:16:41)
[b]@all:[/b] got to go guys... bye2
My code is longer than xavierkym's though
Last edited by diabolicious (2007-08-01 08:50:25)
[b]@all:[/b] got to go guys... bye2[/quote]
ahehe.. ah vampire ;_;