[quote=switpotato]if u want to reposition it just change the getelementById ("0")
to any number that correspond the box u want it to appear
if u want to apply css use the id u use for ur addbox
in the code presented it uses playist as the id
thus the css will be like this:
#playlist {margin-bottom: 40px! important; [b]border etc etc[/b]}
#playlist h2 { text-align:center! important; [b]font etc etc! important[/b]}[/quote]
gomz as i recall u use different id for ur add box...
[b]use the exact id u use.... [/b]all capital letter ...
then just add that to the rest of ur css codes
[quote][b]#CHATBOX[/b]{border: 5px solid [b]#ffffff! important[/b];}
#[b]CHATBOX h2[/b] {text-align:center! important; [b]color: [/b]#ffffff ! important}[/quote]
[b]TO SWITPOTATO:
SIS, IS THIS COMPATIBLE FOR CROSS BROWSER? WHAT I MEAN IS I WANT IT TO APPEAR IN BOTH IE AND FF? I KNOW THIS MIGHT BE POSSIBLE.. BUT WAS THE EFFECT IS IN FF, IT MIGHT GET DOUBLED, JUST LIKE WHAT HAPPEN IN MY WVM, IT GETS DOUBLED IN FF...IT WORKS NOW IN IE.. BUT IT GETS DOUBLED!!!
ANYWAY,THANKS FOR SHARING!..[/b]
ate swit the code that you give to me "MY CHATBOX" is working but if i add more box.. my layout does not appear
...no more back-ground image,no chatbox,no media box and what so ever....
is onload handler needed here???
can i ask for the code???
this is my new code ... i just insert 1 more addbox but still not working...
can you plz. check thiZ?
<">
juz make ur codes closer... dont add any unnecessary spaces...
<">=====
at [b]gomz[/b]
change the word addbox to
[quote]setTimeout("[b]gomzaddbox[/b]()",1000);[/quote]
Is there something wrong hir.. still not working
<">Can you Please give me some instructions about my code...i wonder why when im adding box its not working
but if i have only one box its working....
gomzzz try to change this part...
from this
[quote]x2.id="MY VIDEO";
document.getElementById("0").parentNode.appendChild(x2);
MY VIDEO.innerHTML="<h2>MY VIDEO</h2>"
+"<center><object width='425' height='344'><param name='movie' value='http://www.youtube.com/v/KGzdwoSEX2k&hl=en'></param><embed src='http://www.youtube.com/v/KGzdwoSEX2k&hl=en' type='application/x-shockwave-flash' width='425' height='344'></embed></object></center>"
}
setTimeout("gomzaddbox()",1000)[/quote]
to this
[quote]x2.id="[b]MYVIDEO[/b]";
document.getElementById("0").parentNode.appendChild(x2);
[b]MYVIDEO[/b].innerHTML="<h2>MY VIDEO</h2>"
+"<object width='425' height='344'><param name='movie' value='http://www.youtube.com/v/KGzdwoSEX2k&hl=en'></param><embed src='http://www.youtube.com/v/KGzdwoSEX2k&hl=en' type='application/x-shockwave-flash' width='425' height='344'></embed></object>"
}
setTimeout("gomzaddbox()",1000)[b];[/b][/quote]
i [b]remove the center tag[/b]... just centered ur content... using [b]css...[/b]
[quote]#MYVIDEO h2 {text-align: center! important}
#MYVIDEO {text-align: center! important}[/quote]