Added radio player?

onedmc2009

Reputable
Joined
Feb 28, 2010
Messages
132
Reaction score
0
FP$
6
i have a code for to add a radio player to my board but i've tried it and none of the stations work properly. this is the code:

this is added above the board
Code:
<script>
A = $("#top_info strong a");
S = $("#top_info strong");
if (A.text() == ""){
member = S.text();
} else {
member = A.text();
}
</script>


this added below the board
Code:
<script>
if(location.href.indexOf("index/radio/") != -1 || location.href.indexOf("index/radio") != -1){
document.write('</div>');
if(member != "Guest")
{
RX1 = "<iframe frameborder='0' height='900' scrolling='0' src='http://radiox.commx.info/1/index.php' width='100%'></iframe>";
}
if(member == "Guest")
{
RX1 = "<dl class='notice info'><dt>Notice</dt><dd>You must <a href='"+main_url+"login/'>Log In</a> or <a href='"+main_url+"register/'>Register</a> so you can listen to some great music!</dd></dl>";
}
Navigation = $("#nav");
Navigation.append("<li>→</li> <li><span>Radio</span></li>");
$(".category").toggle();
$("#foot_links").html("");
$("#foot_wrap").before(RX1);
}
</script>

and this added to the menu
Code:
<script>
{
document.getElementById("submenu").innerHTML="<a href='radio/'>Radio</a>"+document.getElementById("submenu").innerHTML
}
</script>

in this code, is there a way of adding my own radio stations?
 
my guess is

Code:
if(member != "Guest")
{
RX1 = "<iframe frameborder='0' height='900' scrolling='0' src='http://radiox.commx.info/1/index.php' width='100%'></iframe>";
}

is the location of the player. so, just change that src code to the location of a page with a player on it
 
Back
Top Bottom