apache
Joined: 22 Dec 2006 Posts: 3
|
Posted: Fri Dec 22, 2006 1:03 pm Post subject: Invisible Pop-up to forward commands help |
|
|
I run an old Excalibur BBS system, which is no longer supported by the programmer and I want my callers to be able to play MP3's from the BBS.
I can already call a URL from within the BBS from a link, but I cant forward additional commands from it, just the basic URL.
And I have an MP3 player which I can call from a "play music" button on the http://www.imcon.co.uk main page.
I need an invisible page that will refresh and pass the additional commands on like the button.
The button works like this
<input type=\"button\" class=\"button\" value=\"Play Music\" style='text-align:center; 'cursor: pointer; cursor: hand' title=\"Imcon mp3 player\" onclick=\"window.open('http://www.imcon.co.uk/imcon-mp3-player.html', 'sample', 'toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=300,height=300')\" />
Here is what I want to do:
I want to be able to call a popup that opens the mp3 player in sized window with no toolbar etc and then closes.
So the BBS caller will only see the resized MP3 player (just like it happens from the "play music" button on http://www.imcon.co.uk/
The code for the resized MP3 player window is PHP:
<?php
$caption = "Imcon mp3 player";
$text = "
<div class='center'><body bgcolor='#3B3D3D' text='#C0C0C0' link='#C0C0C0' vlink='#C0C0C0' alink='#C0C0C0'>
<br />
-=|=-
<br />
<input type=\"button\" class=\"button\" value=\"Play Music\" style='text-align:center; 'cursor: pointer; cursor: hand' title=\"Imcon mp3 player\" onclick=\"window.open('http://www.imcon.co.uk/imcon-mp3-player.html', 'sample', 'toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=300,height=300')\" />
<br />
-=|=-
</div>
";
$ns -> tablerender($caption, $text);
?>
The BBS website is http://bbs.imcon.co.uk/ and if you want to visit the BBS, the program used to connect is http://bbs.imcon.co.uk/EXCALTRM.EXE
Can someone send me the way to make this invisible popup that will forward the commands please?
Thanks for reading this.
All the best. |
|