 |
| Show Pages: |
|
|
|
Become a subscriber and remove all ads!
|
|
|
|
 |
 |
Now you can install Proton Radio on any website, MySpace profile, or blog! Use the tool below to generate the code required.
Once you have the necesary code, simply paste it into the source of your website or MySpace profile editor.
|
 |
|
|
|
';
this.opts.normalnojs = '';
this.configs = new Object();
this.configPicks = new Object();
this.setChoice = function (key) {
this.choice = key;
this.write();
}
this.addConfigChoice = function (key,value,type) {
// has types j=sj,f=fvars,b=both
this.configs[key] = new Object({'id':key,'value':value,'type':type});
}
this.addConfig = function (key,value) {
this.configPicks[key] = value;
this.write();
}
this.removeConfig = function (key) {
delete this.configPicks[key];
this.write();
}
this.getCode = function () {
if(typeof(this.opts[this.choice])) {
return ''+"\n"+
this.opts[this.choice]+"\n"+
''+"\n";
}
}
this.write = function() {
if(document.getElementById('showcode').style.display=='inline') {
var str = code.getCode();
this.writeConfigs();
var j = new Array();
var f = new Array();
var b = new Array();
for(var i in this.configPicks) {
if(this.configs[i].type == 'b') { b[i] = this.configPicks[i]; }
if(this.configs[i].type == 'j') { j[i] = this.configPicks[i]; }
if(this.configs[i].type == 'f') { f[i] = this.configPicks[i]; }
}
if(this.choice == 'normaljs') {
var bstr = PO.toString(b,'b');
var jstr = PO.toString(j,'j');
var fstr = PO.toString(f,'f');
tmpstr = bstr+jstr+fstr;
tmpstr = tmpstr.substr(0,tmpstr.length-1);
tmpstr = tmpstr.length ? '&'+tmpstr : '';
} else if (this.choice == 'myspace' || this.choice == 'normalnojs') {
var tmpstr = '';
for(var i in b) {
tmpstr += '&'+i+'='+b[i];
}
for(var i in f) {
tmpstr += '&'+i+'='+f[i];
}
}
str = str.replace(/\|REPLACE\|/g,tmpstr);
var mc = document.getElementById('mycode')
mc.value = str;
mc.focus();
mc.select();
}
}
this.writeConfigs = function() {
var div = document.getElementById('configs');
div.style.display = 'inline';
for(var i in this.configs) {
checked = 0;
if(this.configPicks[i]) { checked = 1; }
div.innerHTML = ''+i.ucwords()+': '+
'Yes '+
'No';
}
}
}
//-->
|
|
|
 |
 |
|  |
 |
 |
Artists interested in submitting a demo reel to Proton Music should contact Sam or Jason.
Whether you're an unsigned artist, someone who's been on Proton before, or an established producer, we would love to hear from you!
|
 |
 |
 |
 | |  | |  | |  | | |
|
 |
| | 1. | | | 2. | | | 3. | | | 4. | | | 5. | | | 6. | | | 7. | | | 8. | | | 9. | | | 10. | |
|