primer commit

This commit is contained in:
xaloc committed 2020-06-02 01:33:42 +02:00
commit 25c03cff5d
4 files changed
+36

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
"THE NON-ALCOHOLIC-BEVERAGE-WARE LICENSE":
<xaloc@tutanota.com> wrote this. As long as you retain this notice you can
do whatever you want with this stuff. If we meet some day, and you think this
stuff is worth it, you can buy me a non-alcoholic beverage in return Xaloc
+1
View File
@@ -0,0 +1 @@
Una web on poder escoltar la web en streaming i res més. Sense distraccions ni molèsties.
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang='ca'>
<head>
<meta charset="UTF-8">
<meta name="author" content="Xaloc">
<title>Radios</title>
</head>
<body>
<button onClick='catRadio.show()'>Catalunya Radio</button>
<button onClick='catInfo.show()'>Catalunya Informació</button>
<button onClick='iCat.show()'>iCat</button>
<script src='script.js'></script>
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
class station{
constructor(url){
this.url= url;
}
show(){
var win=window.open(this.url, '_blank');
win.focus();
}
}
var catRadio = new station('http://shoutcast.ccma.cat/ccma/catalunyaradioHD.mp3');
var catInfo = new station('http://shoutcast.ccma.cat/ccma/catalunyainformacioHD.mp3');
var iCat = new station('http://shoutcast.ccma.cat/ccma/icatHD.mp3');