|
|
@ -0,0 +1,31 @@ |
|
|
|
<html> |
|
|
|
<script type="text/javascript" src="jquery-3.4.1.min.js"></script> |
|
|
|
|
|
|
|
<style> |
|
|
|
a { |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
<a href='#' onclick="radio(1);">Seanland's Game Music</a> |
|
|
|
<a href='#' onclick="radio(2);">Seanland's Top 100s</a> |
|
|
|
<a href='#' onclick="radio(3);">Seanland's Collection</a> |
|
|
|
<a href='#' onclick="radio(stop);">Stop Music</a> |
|
|
|
|
|
|
|
<script type='text/javascript'> |
|
|
|
|
|
|
|
//AJAX function |
|
|
|
function radio(com) { |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
url: "radio.php", |
|
|
|
data: "radio=" + com, |
|
|
|
success: function(msg){ |
|
|
|
// may add in the future |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
</html> |