Hello I think this is the right section although i may be wrong...
I'm looking for a simple code where i can put a radio player into that pops when a link is clicked so the radio player is in the pop up.
Can anyone help please?
Hello I think this is the right section although i may be wrong...
I'm looking for a simple code where i can put a radio player into that pops when a link is clicked so the radio player is in the pop up.
Can anyone help please?
You weren't very detailed, but you can just put the radio in a file then add target="_blank" to your link...
+.net - omg it's coming o_o
So using what you've said above will produce something like what club habbo have got under the radio player when clicked on? www./clubhabbo.net/radio/popup.html
Put this in the head tags:
The link:Code:<script type="text/javascript"> function popup(url, width, height, name) { window.open(url, name, 'width='+width+',height='+height+',resizable=0,scrollbars=0,location=0'); } </script>
Hopefully that would work.HTML Code:<a href="#" onClick=popup('radio.html', '300', '150', 'radio')
Only advantage of that is you can set your width, so if you need to use it, other way mine is much simplerPut this in the head tags:
The link:Code:<script type="text/javascript"> function popup(url, width, height, name) { window.open(url, name, 'width='+width+',height='+height+',resizable=0,scrollbars=0,location=0'); } </script>
Hopefully that would work.HTML Code:<a href="#" onClick=popup('radio.html', '300', '150', 'radio')
Also, close your tags Jxhn
HTML Code:<a href="#" onClick=popup('radio.html', '300', '150', 'radio')>
+.net - omg it's coming o_o
_blank opens in new tab which is probably too big for a radio player. Forgot about the end of the tag.
HTML Code:<a href="#" onClick="popup('radio.html', '300', '150', 'radio')">
Sorry I'm being thick where would this code go? and if the link was say radiopopup.htm where would that go i'm sorry...Put this in the head tags:
The link:Code:<script type="text/javascript"> function popup(url, width, height, name) { window.open(url, name, 'width='+width+',height='+height+',resizable=0,scrollbars=0,location=0'); } </script>
Hopefully that would work.HTML Code:<a href="#" onClick=popup('radio.html', '300', '150', 'radio')
Code:<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" name="player" width="145" height="40" standby="Loading" codebase="/CODEBASE=http:/activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"> <param name=" id="player="player"" url="http://www.voiceitfm.listen2myradio.com" value="true" /> <param name="CONTROLS" value="Imagewindow" /> <param name="ShowStatusBar" value="false" /> <param name="src" value="http://IP.PORT/" /> <param name="url" value="http://IP:PORT/" /> <param name="autostart" value="true" /> <param name="autoplay" value="true" /> <param name="Controls" value="playbutton" /> <param name="uimode" value="mini" /> <embed src="http://www.DOMAIN.EXTENSION/windowsmediafile.asx" width="145" height="40" autostart="True" controls="playbutton" showstatusbar="false" url="http://www.DOMAIN.EXTENSION/windowsmediafile.asx" autoplay="true" uimode="mini"> </embed></object>
It would just go under that.
Change 300 and 150 to the width and height you want.HTML Code:<a href="#" onClick="popup('radio.html', '300', '150', 'radio')">Radio popup</a>
Ohhh okay thank you+Rep
Want to hide these adverts? Register an account for free!