Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/06/2010, 20:00
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: Flash solo funcionaen FF no en IE ???

Mirá:
antes de analizar lo de los flash, seria bueno que reveas lo que sigue, te dejo la fuente de tu página (le voy a quitar un poco del medio para no excederme del limite del post:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Page-Enter" content="blendTrans(Duration=3.0)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=3.0)">
<title>Gringo Bill's</title>

<style type="text/css">
.slideshow { height: 132px; width: 232px;}
.slideshow img { padding: 3px; border: 1px solid #ccc; background-color: #09Cs; }

</style>

<link rel="stylesheet" type="text/css" href="../css/gbstyle.css" />
<script defer type="text/javascript" src="../Scripts/pngfix.js"></script>

<script language="JavaScript" src="../calendar/calendar_us.js"></script>

<script type="text/javascript" src="../src/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../src/jquery.cycle.all.js"></script>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<link rel="stylesheet" href="../calendar/calendar.css">

<script type="text/javascript">

function comparafechas(form)
{
 var fechaingreso = new Date(document.getElementById('checkin').value);
 var fechasalida = new Date(document.getElementById('checkout').value);
 if (document.getElementById('checkin').value=='')
 {
  alert("Please choose a Check-in date..."); document.getElementById('checkin').value.focus(); return;
 }
 if (document.getElementById('checkout').value=='')
 {
  alert("Please choose a Check-out date..."); document.getElementById('checkout').value.focus(); return;
 }
 
 if(fechasalida <= fechaingreso)
 { alert("Checkin has to be prior to Checkout... please fix dates."); document.getElementById('checkin').value.focus(); return; }
 form.submit();
}

function Validaremail(form)
{
if (form.email.value=="")
{ alert("Please type the e-mail"); form.email.focus(); return; }
if (form.email.value.indexOf('@', 0) == -1 || form.email.value.indexOf('.', 0) == -1)
{ alert("Invalid e-mail, please type again"); form.email.focus(); return; }

form.submit();
}


</script>

</head>

<body>
<table width="783" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>

    <td width="783">
        </td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="968" height="576">
            <param name="movie" value="anim/main.swf" />
            <param name="quality" value="high" />

            <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="anim/main.swf" width="968" height="576">
              <!--<![endif]-->
              <param name="quality" value="high" />

              <param name="wmode" value="transparent" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                </div>

              <!--[if !IE]>-->
              </object>
            <!--<![endif]-->
          </object></td>
 .......
........                  </td>
                </tr>
              </table>
              <p>&nbsp;</p></td>
            </tr>
          </table>
          
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.horizontal_dotted_line 
{ border:0px; border-top:1px dotted #000; height:0px; padding-left:45px; padding-right:45px;}
</style>
</head>

<body><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="horizontal_dotted_line">&nbsp;</td>

        </tr>
        <tr>
          <td align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="40%"><span class="foot">Gringo Bill's Boutique Hotel. (C)opyrights 2010. All rights reserved.</span></td>
                <td width="49%"><!-- AddThis Button BEGIN -->
                  <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=gringobills"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>
                  <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=gringobills"></script>

                  <!-- AddThis Button END --></td>
                <td width="11%"><img src="../images/loguito.png" width="97" height="17" /></td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
  </table>
</body>

</html>          
          </td>
      </tr>
    </table></td>
  </tr>
</table>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
//-->
</script>
</body>
</html> 
Tienes 2 Doctypes declarados, dos head, etc, y cosas mas raras aun.. así cualquier navegador enloquece. Por ahi me equivoco, no lo analicé demasiado, pero para que tantos condicionales para el IE? .Supongo que por el hecho de que firefox reconoce los <object> pero sin el atributo classid

lo que daría algo asi

Código HTML:
<object codebase="xxx" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" align="middle" height="400">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="/media/flash/active_presentation_demo_finance.swf" />
<param name="quality" value="high" />

<param name="bgcolor" value="#272E34" />

<!--[if !IE]> <-->
        <object data="/media/flash/active_presentation_demo_finance.swf"
        width="560" height="400" type="application/x-shockwave-flash">
        <param name="quality" value="high" />
        <param name="menu" value="false" />
        <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
        </object>
 <!--> <![endif]--> 
</object></p> 

si utilizas sfwobject, encierra los <object></object> en un <noscript> y dentro de los object no estaria de mas usar el <embbed> aunque te digan que no es una etiqueta estandar. aunque te repito, seria bueno que analices el primer punto al que me referi.
Saludos