0

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 :)

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by WaleedaaN
0

play i need help with this code when i click the close window stop play first then closed window


thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.