Bueno esque tengo un script que cuando le das click en un enlace te habre una animacion flash lo hago con switch y me ha resultado bien con los otros pero con este no se porque me intenta descargar algo y la verdad no se que sea, pénse que era el enlace y ya lo cheque y esta bien pense que era el script pero no me muestra ningun error.
Aqui les pongo el codigo de mis dos archivos, un que es el que tiene los enlaces y el otro es el script
Este es el de los enlaces
Código HTML:
<html> <head> <title>Documento sin título</title> <style type="text/css"> <!-- .Estilo1 { font-size: 24px; font-weight: bold; } --> </style> </head> <body> <p align="center" class="Estilo1">PARTE 1</p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=1" target="_blank">acuario</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=2" target="_blank">aries</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=3" target="_blank">cancer</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=4" target="_blank">capricornio</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=5" target="_blank">escorpion</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=6" target="_blank">geminis</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=7" target="_blank">leo</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=8" target="_blank">libra</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=9" target="_blank">pisis</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=10" target="_blank">sagitario</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=11" target="_blank">tauro</a></p> <p><a href="huevos/horoscopo/parte_1/popup.php?huevo=12" target="_blank">virgo</a></p> </body> </html>
Código PHP:
<?
$huevo=$_GET["huevo"];
?>
<p align="center"><a href="javascript:close()">Cerrar ventana</a>
<p> <?
switch($huevo)
{
case 1:
?>
</p>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="acuario.swf">
<param name="quality" value="high">
<embed src="acuario.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 2:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="aries.swf">
<param name="quality" value="high">
<embed src="aries.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 3:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="cancer.swf">
<param name="quality" value="high">
<embed src="cancer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 4:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="capricornio.swf">
<param name="quality" value="high">
<embed src="capricornio.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 5:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="escorpion.swf">
<param name="quality" value="high">
<embed src="escorpion.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 6:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="geminis.swf">
<param name="quality" value="high">
<embed src="geminis.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 7:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="leo.swf">
<param name="quality" value="high">
<embed src="leo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 8:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="libra.swf">
<param name="quality" value="high">
<embed src="libra.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 9:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="pisis.swf">
<param name="quality" value="high">
<embed src="pisis.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 10:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="sagitario.swf">
<param name="quality" value="high">
<embed src="sagitario.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 11:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="tauro.swf">
<param name="quality" value="high">
<embed src="tauro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
case 12:
?>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/SWFlash.cab#version=6,0,29,0" width="550" height="400" title="egg">
<param name="movie" value="virgo.swf">
<param name="quality" value="high">
<embed src="virgo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</div>
<?
break;
}
?>