hi dear,,,
i use this code facebox : http://chriswanstrath.com/facebox/
now i have first_page.html
example id:
<?php
$id = 1; //// 1 for michal jakson
?>
<a href=\"page/play.php?id=$id\" rel=\"facebox\">Play music <a>
now in play.php
<?php
$song = "mj.mp3"; /// all my songs is mp3
?>
<center>
<table border="0" width="100%" dir="rtl" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="400"
height="27"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="flashvars" value="audioUrl=[B]http://yoursite.com[/B]/upload/<?php echo $song; ?>" />
<param name="src" value="http://www.google.com/reader/ui/3523697345-audio-player.swf" />
<param name="movie">
<param name="quality" value="Best" />
<param name="loop" value="false">
<param name="menu" value="false">
</object>
</td>
</tr>
</table>
what's wrong this code when i click play sont lick michal jakson or anyone
is working 100% fine.
but when i click the image clock facebox still the music playing in background i want when i close the facebox or change or change to another play stop play the old music and start new and when close the facebox the window like facebook i want stop the music
i think its javascript command add and the image link like javascript(stop); like this i dont know about javascript
thanks im waiting my superman to help me :)