This may help - I used it some time ago by placing a link to an online radio station on the site, which would pop up and play uninterrupted when clicked. I'm sure you can modify it to pop up automatically.
Javascript in head section:
Code:
<script type="text/javascript">
<!--
function popup(mylink, windowname){if (! window.focus)return true;var href;if (typeof(mylink) == 'string') href=mylink;else href=mylink.href;window.open(href, windowname, 'width=300,height=50,scrollbars=yes');return false;}//--></script>
Menu link is something like this:
Code:
<a href="/media/"
onclick="return popup(this, 'notes')" class="menu">Radio</a>
For simplicity, I'm attaching the content of the media folder in a zip file. You'll want to probably edit the index.html, and put the link to your music files in the vortex.m3u file.
Nitpickers may find some errors in document types and such, but it works fine.
|