[quote]function friendscaption() {
var friends = document.getElementById("content_2").getElementsByTagName("div")[0];
var caption = "<div class='fitem1wrapper'><table class='fitem1table'><tbody><tr>"+
"<td class='itd'><div class='imgblock75'><a href='/4814719'>"+
"<img src='http://img142.imageshack.us/img142/69/friendso5.jpg'></a></div></td>"+
"<td class='dtd'><ul class='data'>"+
"<li class='title'><a href='/4814719'>FRieND</a></li>"+
"<li>COMMENTS BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH .</li>"+
"</ul></td>"+
"</tr></tbody></table></div>"+
friends.innerHTML = caption;
}window.onload = function() {friendscaption();}[/quote]
can i use this for js? if yes how? thnx
Last edited by wilycoyote (2008-03-28 09:25:37)