|
benshoes
| Inscrit le: 31 Oct 2007 |
| Messages: 1 |
| Localisation: Nevers |
|
 |
| Posté le: Mer 31 Oct 2007, 2:54 pm |
|
 |
 |
 |
 |
Bonjour a tou(te)s.
J'ai un problème de onmouseover qui n'est pas compatible avec firefox.
Voici mon code:
<?php
//Mp3 Player
function Flash_Mp3_Player( $width, $height, $playlist, $style, $path_files )
{
$mp3player = "<center><object width=\"".$width."\" height=\"".$height."\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" >
<param name=\"movie\" value=\"modules/mod_mp3player_files/mp3player.swf\" />
<param name=\"menu\" value=\"true\" />
<param name=\"quality\" value=\"high\" />
<param name=\"flashvars\" value=\"config=".$path_files."/".$style.".xml&file=".$path_files."/".$playlist.".xml\" />
<embed src=\"modules/mod_mp3player_files/mp3player.swf\" width=\"".$width."\" height=\"".$height."\" menu=\"true\" quality=\"low\" flashvars=\"config=".$path_files."/".$style.".xml&file=".$path_files."/".$playlist.".xml\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object></center>";
echo $mp3player;
}
//Image Pop Up Default
$image_big ="<center><table background=\"".$path_files."/mp3/big.gif\"
onMouseOver=\"background='".$path_files."/mp3/big2.gif'\"
onMouseOut=\"background='".$path_files."/mp3/big.gif'\"
width=\"".$width."\" height=\"".$height."\" >
<tr>
<td>
<a href=\"\" onclick=\"window.open('{$path_files}/popup.php?playlist={$playlist}&style={$style}&bg_popup={$bg_popup}','','width=295,height=315,location=no,scrollbars=no,menubar=no,resizable=no,toolbar=no,status=no');return false;\" >
<div align=\"center\">
<br>
<font color=\"#".$text_color."\">
<b>".$image_big_own."</b>
</font>
<br><br>
</div>
</a>
</td>
</tr>
</table></center>";
//Image Pop Up Customized
$image_big_own ="<center><table background=\"".$mosConfig_live_site."/images/stories/".$big_own."\" width=\"".$width."\" height=\"".$height."\" >
<tr>
<td>
<a href=\"\" onclick=\"window.open('{$path_files}/popup.php?playlist={$playlist}&style={$style}&bg_popup={$bg_popup}','','width=295,height=315,location=no,scrollbars=no,menubar=no,resizable=no,toolbar=no,status=no');return false;\" >
<div align=\"center\">
<br>
<font color=\"#".$text_color."\">
<b>".$image_big_own."</b>
</font>
<br><br>
</div>
</a>
</td>
</tr>
</table></center>";
//Small Image default
$image_small ="<center><table width=\"".$width."\" background=\"".$path_files."/mp3/small.gif\">
<tr>
<td>
<a href=\"\" onclick=\"window.open('{$path_files}/popup.php?playlist={$playlist}&style={$style}&bg_popup={$bg_popup}','','width=295,height=315,location=no,scrollbars=no,menubar=no,resizable=no,toolbar=no,status=no');return false;\" >
<div align=\"center\">
<br>
<font color=\"#".$text_color."\">
<b>".$text_link."</b>
</font>
<br><br>
</div>
</a>
</td>
</tr>
</table></center>";
//Small Image Customized
$image_small_own ="<center><table width=\"".$width."\" background=\"".$mosConfig_live_site."/images/stories/".$small_own."\">
<tr>
<td>
<a href=\"\" onclick=\"window.open('{$path_files}/popup.php?playlist={$playlist}&style={$style}&bg_popup={$bg_popup}','','width=295,height=315,location=no,scrollbars=no,menubar=no,resizable=no,toolbar=no,status=no');return false;\" >
<div align=\"center\">
<br>
<font color=\"#".$text_color."\">
<b>".$text_link."</b>
</font>
<br><br>
</div>
</a>
</td>
</tr>
</table></center>";
?> |
J'ai surligné en bleu l'endroit ou il y aurait un problème.
D'avance merci pour votre aide.
|