|
Post by randie on Nov 7, 2010 16:02:16 GMT -8
Updated 1-9-2011.Browser tested: FF, IE and Chrome. Placement: global/main/board header. Adds a drop down with 8 stations to the right of the default menu buttons. Feel free to edit! Global Headers/Main Header / You Decide <script type="text/javascript"> <!-- // Found Using Google. Feel Free To Edit! function popcbox() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/classicrap_low.asx"><param value="http://www.sky.fm/wma/classicrap_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox2() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/classicrock_low.asx"><param value="http://www.sky.fm/wma/classicrock_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="font-family: Comic Sans MS; text-shadow: -1px -1px 1px #000000; width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox3() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/country_low.asx"><param value="http://www.sky.fm/wma/country_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox4() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://s5.viastreaming.net/7660/listen.asx"><param value="http://s5.viastreaming.net/7660/listen.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox5() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.screaminsam.com/streams/playlist96.asx"><param value="http://www.screaminsam.com/streams/playlist96.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox6() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.977music.com/tunein/web/comedy.asx"><param value="http://www.977music.com/tunein/web/comedy.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox7() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.100hitz.com/playlists/Metal.asx"><param value="http://www.100hitz.com/playlists/Metal.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object><div style="width:300px;"><font size="1" color="#FFFFFF">The ► Next Button Works for This station!</font></div></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox8() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/the80s_low.asx"><param value="http://www.sky.fm/wma/the80s_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
<script type="text/javascript"> <!-- document.getElementsByTagName("td")[5].innerHTML+='<select onchange="location.href=this.options[this.selectedIndex].value"><option value="">Music Stations</option><option value="JavaScript:popcbox();">Classic Rap</option><option value="JavaScript:popcbox2();">Classic Rock</option><option value="JavaScript:popcbox3();">Country</option><option value="JavaScript:popcbox4();">Gtronic</option><option value="JavaScript:popcbox5();">Comedy 1</option><option value="JavaScript:popcbox6();">Comedy 2</option><option value="JavaScript:popcbox7();">Heavy Metal</option><option value="JavaScript:popcbox8();">The 80\'s</option></select>'; //--> </script>
Edit the red if you want to change the backgrounds. Do not add any extra spaces! Need help just ask.
|
|
|
Post by Wormopolis on Nov 7, 2010 16:09:47 GMT -8
which station plays 80s hair bands?
|
|
|
Post by randie on Nov 7, 2010 16:18:33 GMT -8
which station plays 80s hair bands? The one called next. Plug it in and play it?
|
|
|
Post by Wormopolis on Jan 1, 2011 20:56:54 GMT -8
What activeX control is needed for this to run in IE? when I open it in IE it tries to play all 8 stations at once. works great in Chrome and FF however.
|
|
|
Post by rhondairv on Jan 5, 2011 14:17:41 GMT -8
I really like this but i can not edit. It kills my eyes.
|
|
|
Post by randie on Jan 9, 2011 18:23:00 GMT -8
What activeX control is needed for this to run in IE? when I open it in IE it tries to play all 8 stations at once. works great in Chrome and FF however. Should work now. I really like this but i can not edit. It kills my eyes. Need help just ask.
|
|
biancardi
Not New Member
Posts: 22
biancardi said 0 great things
|
Post by biancardi on Jan 29, 2012 18:08:03 GMT -8
I really like this, but I wanted to expand the selections - I edited it and added code for some additional stations. however, it isn't coming up as a pop up - instead it messed with my whole forum. So, I have a question - where in the placement of the global or main header should this be placed? I have a test site, but I took it out because it really messed it up. I am not sure if anyone can answer this, as the original coder is now a guest. this is what I put in my global header, at the bottom:
<script type="text/javascript"> <!-- // Found Using Google. Feel Free To Edit! function popcbox() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/the80s_low.asx"><param value="http://www.sky.fm/wma/the80s_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox2() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/classicrock_low.asx"><param value="http://www.sky.fm/wma/classicrock_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="font-family: Comic Sans MS; text-shadow: -1px -1px 1px #000000; width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox3() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/country_low.asx"><param value="http://www.sky.fm/wma/country_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox4() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/modernblues_low.asx"><param value="http://www.sky.fm/wma/modernblues_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox5() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/ska_low.asx"><param value="http://www.sky.fm/wma/ska_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox6() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/rootsreggae_low.asx"><param value="http://www.sky.fm/wma/rootsreggae_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox7() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/smoothjazz247_low.asx"><param value="http://www.sky.fm/wma/smoothjazz247_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object><div style="width:300px;"><font size="1" color="#FFFFFF">The ► Next Button Works for This station!</font></div></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox8() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/indierock_low.asx"><param value="http://www.sky.fm/wma/indierock_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
function popcbox9() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/urbanjamz_low.asx"><param value="http://www.sky.fm/wma/urbanjamz_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
function popcbox10() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/tophits_low.asx"><param value="http://www.sky.fm/wma/tophits_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
function popcbox11() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/punkpop_low.asx"><param value="http://www.sky.fm/wma/punkpop_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
function popcbox12() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/classicrap_low.asx"><param value="http://www.sky.fm/wma/classicrap_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
function popcbox13() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="300px" align="center"><tr><td align="left"><div style="width:300px; border: 1px solid #94C9FF; -moz-border-radius: 3px;"><object type="video/x-ms-wmv" width="300" height="64"data="http://www.sky.fm/wma/hit70s_low.asx"><param value="http://www.sky.fm/wma/hit70s_low.asx" name="src" /><param value="1" name="ShowStatusBar" /><param value="0" name="enableContextMenu" /><param name="AutoStart" value="1"><param value="1" name="volume" /></object></div></td></tr></table><body style="width:300px; background-image:url(http://img10.imageshack.us/img10/3575/opacitybgtile1.png);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
//--> </script>
<script type="text/javascript"> <!-- document.getElementsByTagName("td")[5].innerHTML+='<select onchange="location.href=this.options[this.selectedIndex].value"><option value="">Music Stations</option><option value="JavaScript:popcbox();">The 80\'s</option><option value="JavaScript:popcbox2();">Classic Rock</option><option value="JavaScript:popcbox3();">Country</option><option value="JavaScript:popcbox4();">Modern Blues</option><option value="JavaScript:popcbox5();">Ska</option><option value="JavaScript:popcbox6();">Roots Reggae</option><option value="JavaScript:popcbox7();">Smooth Jazzl</option><option value="JavaScript:popcbox8();">Indie Rock</option><option value="Javascript:popcbox9();">Urban Jamz</option><option value="JavaScript:popcbox10();">Top Hits</option><option value="JavaScript:popcbox11();">Punk Pop</option><option value="JavaScript:popcbox12();">Classic Rap</option><option value="JavaScript:popcbox13();">The 70\'s</option></select>'; //--> </script>
I can add to my test site if someone can help me.
|
|
|
Post by Wormopolis on Jan 29, 2012 20:32:49 GMT -8
see all those
// --> </script>
that are in there now? that should only be at the very end. look at the original code to see what I mean.
|
|
biancardi
Not New Member
Posts: 22
biancardi said 0 great things
|
Post by biancardi on Jan 29, 2012 20:46:22 GMT -8
ahh, that could have been my c&p job when I was adding new channels - let me try that out now.
brb
|
|
biancardi
Not New Member
Posts: 22
biancardi said 0 great things
|
Post by biancardi on Jan 29, 2012 20:55:10 GMT -8
okay, that worked - but now I get the popup with no plug available to display this content?
I get the same error here... I am using Chrome, btw, on a mac.
I tried flip4mac but that didn't work. same with vlc. Not sure what plugin to use here.
|
|
|
Post by Wormopolis on Jan 29, 2012 23:27:00 GMT -8
you are going to have to check google to see which plugins work on .asx files
I dont have a mac to try anything
|
|
biancardi
Not New Member
Posts: 22
biancardi said 0 great things
|
Post by biancardi on Feb 6, 2012 7:32:40 GMT -8
in case anyone is interested - I did find a different radio station and got it to work. www.radionomy.com is a european site, but it has hundreds of radio stations and the musical styles are very interesting. Plus, it is kinda cool to hear a french song now & then ;D where i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg is any background image you want...
<script type="text/javascript"> <!-- // Found Using Google. Feel Free To Edit! function popcbox() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=2adf951e-1524-4768-888d-d34ac7906700&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=2adf951e-1524-4768-888d-d34ac7906700&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox2() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=20af0737-655a-49f7-b820-52b1e061278a&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=20af0737-655a-49f7-b820-52b1e061278a&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox3() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=e6a2e779-f7b4-42e0-9e86-3a3d0195fc58&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=e6a2e779-f7b4-42e0-9e86-3a3d0195fc58&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox4() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=09c2fafd-1186-4aaf-b1c0-7b5e4c5a6d31&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=09c2fafd-1186-4aaf-b1c0-7b5e4c5a6d31&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox5() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=677b4ef7-bccf-4a37-9737-b93b1703d271&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=677b4ef7-bccf-4a37-9737-b93b1703d271&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox6() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=dc5b5a5e-c485-429c-8319-7e1620d9dbc0&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=dc5b5a5e-c485-429c-8319-7e1620d9dbc0&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox7() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=e5886d80-927b-4347-9cda-e03330c26cb7&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=e5886d80-927b-4347-9cda-e03330c26cb7&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">'); try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox8() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=483e85b5-29d6-4a64-92dd-8b894071727f&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=483e85b5-29d6-4a64-92dd-8b894071727f&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox9() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=610f745a-2310-430c-bce6-84f9c7a034fb&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=610f745a-2310-430c-bce6-84f9c7a034fb&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox10() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=93883daa-4b9a-4784-8108-05e7081d0bbc&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=93883daa-4b9a-4784-8108-05e7081d0bbc&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox11() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=d43c9a34-838d-4f60-bb61-a17b41488275&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=d43c9a34-838d-4f60-bb61-a17b41488275&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox12() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=c5f20273-70ff-48d3-b4cb-d4e17576d687&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=c5f20273-70ff-48d3-b4cb-d4e17576d687&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox13() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=240d9432-d8d8-4444-b4c7-f55697c5f503&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=240d9432-d8d8-4444-b4c7-f55697c5f503&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">'); try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox14() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=b8c7f1b6-b85b-437d-a4d2-d26c7823c40c&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=b8c7f1b6-b85b-437d-a4d2-d26c7823c40c&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; }
function popcbox15() { cboxwin = window.open("Music","Cbox","width=325,height=150,menubar=no,toolbar=no,scrollbars=no,status=0,resizable=no"); cboxwin.document.write('<table width="245px" align="center"><tr><td align="left"><div style="width:245px; border: 1px solid #700478; -moz-border-radius: 3px;"><object width="245" height="90"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=4416dcb1-9fa9-4989-a8b4-f95fcd1b1bc2&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" /><param name="wmode" value="transparent" /><embed src="http://www.radionomy.com/Flash/BannerEmbed.swf?RadUID=4416dcb1-9fa9-4989-a8b4-f95fcd1b1bc2&titlesColor=4d424d&color=b378b3&autoPlay=no&lang=en" wmode="transparent" type="application/x-shockwave-flash" allowscriptaccess="always" width="245" height="90"></embed></object></div></td></tr></table><body style="width:300px; background-image:url(http://i1143.photobucket.com/albums/n637/testb1/boardlook/pink147.jpg);">');
try { x = screen.width; y = screen.height; cboxwin.moveTo(Math.max((x/2)-10, 0), Math.max((y/3)-260)); } catch (e) {}; } //--> </script>
<script type="text/javascript"> <!-- document.getElementsByTagName("td")[5].innerHTML+='<select onchange="location.href=this.options[this.selectedIndex].value"><option value="">Music Stations</option><option value="JavaScript:popcbox();">The 80\'s</option><option value="JavaScript:popcbox2();">Classic Rock</option><option value="JavaScript:popcbox3();">Country</option><option value="JavaScript:popcbox4();">Modern Jazz</option><option value="JavaScript:popcbox5();">The 70\'s</option><option value="Javascript:popcbox6();">American Top 40</option><option value="JavaScript:popcbox7();">Alternate USA</option><option value="JavaScript:popcbox8();">Reggae FM</option><option value="JavaScript:popcbox9();">80\'s and 90\'s Hits</option><option value="JavaScript:popcbox10();">Radio Nostalgia</option><option value="JavaScript:popcbox11();">All Jazz</option><option value="JavaScript:popcbox12();">Classical Music</option><option value="JavaScript:popcbox13();">Bob Marley</option><option value="JavaScript:popcbox14();">American Songbook</option><option value="JavaScript:popcbox15();">American Graffiti</option></select>'; //--> </script>
|
|
|
Post by Wormopolis on Feb 6, 2012 9:37:14 GMT -8
that station worked on the mac then?
|
|
biancardi
Not New Member
Posts: 22
biancardi said 0 great things
|
Post by biancardi on Feb 6, 2012 9:53:53 GMT -8
yep, and it worked on windows as well.... I have it on my test site here, if you want to see how it looks. my members use different browsers and I haven't heard of any complaints (YET!) Click on the album cover on the radio to turn on the volume. the only problem I have - and I believe this was a problem in the original code - is that when I switch a station, I get a 404 page not found. If I close the pop up window first, then select another station, it is all good.
|
|
PM
Full Member
Posts: 211
PM said 0 great things
|
Post by PM on Feb 11, 2012 20:38:38 GMT -8
yep, and it worked on windows as well.... I have it on my test site here, if you want to see how it looks. my members use different browsers and I haven't heard of any complaints (YET!) Click on the album cover on the radio to turn on the volume. the only problem I have - and I believe this was a problem in the original code - is that when I switch a station, I get a 404 page not found. If I close the pop up window first, then select another station, it is all good. Glad you picked this up and run with it! Thanks! Wormo should update it with your findings!!!!
|
|