Re: :arrow: DELETED
[quote=carlomorphin]var cbox="<div align=\"center\" id=\"cboxdiv\">"+
"<iframe frameborder=\"0\" width=\"98%\" height=\"150\" src=\"http://www.cbox.ws/box/?boxid=989432&boxtag=7436&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"cboxmain\" style=\"border:#787878 1px solid;\" id=\"cboxmain\"></iframe><br>"+
"<iframe frameborder=\"0\" width=\"98%\" height=\"75\" src=\"http://www.cbox.ws/box/?boxid=989432&boxtag=7436&sec=form\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"no\" allowtransparency=\"yes\" name=\"cboxform\" style=\"border:#787878 1px solid;border-top:0px\" id=\"cboxform\"></iframe>"+
"</div>";
addNewBox.HTML("My Chat Box",cbox,"myCbox","DIV","friends_2_2",null);
it`s not wrkng:(
plz help[/quote]
[b]Because you used a wrong sibling:[/b]
addNewBox.HTML("My Chat Box",cbox,"myCbox","DIV","[color=red]friends_2_2[/color]",null);
[b]You should use this:[/b]
[color=red]/friends/i[/color]
[b]Take note also of DIV.[/b]
[quote][b]DIV[/b] = adding div class....if not just put [b]null[/b][/quote]
[b]See this example provided on the 1st page:[/b]
[quote]example CORRECT
addNewBox.HTML("YOUR TITLE",innerHtm,"innerHtm[b]",null,/friends/i,null[/b]);[/quote]
[b]So yours should be like this:[/b]
[color=blue][b]addNewBox.HTML("My Chat Box",cbox,"myCbox",null,/friends/i,null);[/b][/color]
[b]Check again on the available siblings provided on the first page:[/b]
[quote]available sibling:
leftside:
- /controlpanel/i
- /photos/i
- /blogs/i
- /reviews/i
- /moreabout/i
- /publiccomments/i
- /scrapbook/i
rightside:
- /meettrail/i
- /friends/i
- /ads/i
- /fanof/i
- /groups/i[/quote]