hope it helps...
Last edited by Ephemeral (2007-04-16 10:53:57)
thanx..
[b]UPDATE:[/b]
sorry for the trouble... I finally figured it out ephe!! my page looks ok now!!
Thanx for all ur help guys!!
special thanx to Feruzz and Marfillaster for my java and those tons of awesome ideas and tricks
that i've learned!! more power and god bless!! peace out!! Last edited by Refresh/Reload (2007-04-24 10:30:00)
[b]THIS THING DOESN"T WORK...[/b]
if (!attachOnLoadHandler(function(){mp3sidebar()})) parent.onload = function(){mp3sidebar()};
function attachOnLoadHandler(func){if(parent.attachEvent){
parent.attachEvent('onload',func);return true;}
if(parent.addEventListener){
parent.addEventListener('load',func,false);return true;}return false;}
function mp3sidebar(){
var lagunya ="<div align='center' id='lagusedap'>"+
"<embed src="http://www.geocities.com/skarlet_friendster/mp3pinkmonkey.swf" menu="false" quality="high" width="280" height="320" name="index" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="playList=http://www.geocities.com/skarlet_jr03/mp3playlist.xml&ShowEQ=1&initVol=80" wmode="transparent">"+
"</div>";;
addSideBar("Musik Box",lagunya,"mediaplay_mp3");}
function addSideBar(head,htm,div_id) {
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<div class='commonbox'>"+
"<h2>"+head+"</h2>"+
innerHtm+
"</div>"+
"</div>";
if (browser==mic){
var obj=parent.document.createElement("<li>");
var x=parent.document.getElementById("ads_2_3");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;}else{
var obj=parent.document.createElement("li");
obj.innerHTML=cont;
var x=parent.document.getElementById("ads_2_3");
x.parentNode.parentNode.appendChild(obj);}}
its the youtube code....
[quote]if (!attachOnLoadHandler(function(){videos()})) parent.onload = function(){videos()};
function attachOnLoadHandler(func)
{
if(parent.attachEvent)
{
parent.attachEvent('onload',func);
return true;
}
if(parent.addEventListener)
{
parent.addEventListener('load',func,false);
return true;
}
return false;
}
function videos() {
var youtube7="<div align='center' id='youtube'>"+
"<object width="90" height="200"><param name="movie" value="http://www.youtube.com/p/28B42331B8B8331F"></param><embed src="http://www.youtube.com/p/28B42331B8B8331F" type="application/x-shockwave-flash" width="90" height="200"></embed></object>"+
"</div>";
addSideBar("YOUTUBE!",youtube7,"ul_youtube_content");
}
function addSideBar(head,htm,div_id) {
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<div class='commonbox'>"+
"<h2>"+head+"</h2>"+
innerHtm+
"</div>"+
"</div>";
if (browser==mic){
var obj=parent.document.createElement("<li>");
var x=parent.document.getElementById("groups_2_5");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
else
{
var obj=parent.document.createElement("li");
obj.innerHTML=cont;
var x=parent.document.getElementById("groups_2_5");
x.parentNode.parentNode.appendChild(obj);
}
}[/quote]
Last edited by fugiwara_070491 (2007-05-08 06:31:32)
Last edited by Ephemeral (2007-05-08 06:49:07)
Last edited by Ephemeral (2007-05-08 07:17:19)
<">[b]@jeng_jeng01[/b]
how come this is my code????
it's from marfillaster
<">