If you have your JS Files already just edit this and add the Script to your files.

Easy peasy lemon squeezy

[quote]if (!addEvent(function() { SIDEBAR.init();})) { window.onload = function() { SIDEBAR.init();};}
if (typeof SIDEBAR == "undefined") { SIDEBAR = {}; }
SIDEBAR = {
module: [],
frame: {
width: "100%",
overflow: "hidden"
},
init: function() {
var sty = "";
for (val in this.frame) {
sty += val +":"+ this.frame[val]+";";
}
this.module = document.createElement("DIV");
this.module.setAttribute("align","center");
this.module.setAttribute("style",""+sty+"");
this.module.innerHTML = "[b]HELLO[/b]";
document.getElementById("rail").appendChild(this.module);
}
};[/quote]
The word [b]HELLO[/b] can be anything you like

For example: MP3 Player, Games, or whatever.

How to do it?
Example this is your MP3 Code:
[quote][b]Code:[/b]
<center><embed allowscriptaccess='never' src='http://www.mp3asset.com/swf/mp3/mff-pill.swf' quality='high' wmode='transparent' flashvars='myid=7061599&path=2007/12/29&mycolor=0xF1396D&mycolor2=0xFD6081&mycolor3=0xF3FFEB&autoplay=true&rand=0&f

&vol=100' name='myflashfetish' application='' x-shockwave-flash='' align='middle'type=' height='110' width='265'></center>[/quote]
Then put it in the word [b]HELLO[/b] in the code above.. Sample:
[quote][b]Code:[/b]
if (!addEvent(function() { SIDEBAR.init();})) { window.onload = function() { SIDEBAR.init();};}
if (typeof SIDEBAR == "undefined") { SIDEBAR = {}; }
SIDEBAR = {
module: [],
frame: {
width: "100%",
overflow: "hidden"
},
init: function() {
var sty = "";
for (val in this.frame) {
sty += val +":"+ this.frame[val]+";";
}
this.module = document.createElement("DIV");
this.module.setAttribute("align","center");
this.module.setAttribute("style",""+sty+"");
this.module.innerHTML = "[b]<center><embed allowscriptaccess='never' src='http://www.mp3asset.com/swf/mp3/mff-pill.swf' quality='high' wmode='transparent' flashvars='myid=7061599&path=2007/12/29&mycolor=0xF1396D&mycolor2=0xFD6081&mycolor3=0xF3FFEB&autoplay=true&rand=0&f

&vol=100' name='myflashfetish' application='' x-shockwave-flash='' align='middle'type=' height='110' width='265'></center>[/b]";
document.getElementById("rail").appendChild(this.module);
}
};[/quote]
Best width for an mp3 Player? Uhmm.. 135px or something.

Have fun.
Last edited by xavierkym (2008-01-14 18:16:42)