2 Replies Latest reply on Aug 17, 2013 8:15 AM by braisremeseiro

    Problems with a pop-up in Dreamweaver

    braisremeseiro Level 1

      Hi,

       

       

      I have a website with an introduction that I called, of course, index.html and it opens a pop-up of 718 width and 503 height, index2.html. I did it in the behaviours section of DW with an image and in my version of Safari (5.0.6) there is no problem. However if I change the browser (Chrome, IE, Firefox or Opera and recently versions of Safari) it appears with a blank space at the bottom of the pop-up. I tried to solve this error by changing the height of the window and it results ok in other versions of Safari but in my version has a problem of visualization. Please, Can you help me?.

       

      This is the script that I have:

       

      function MM_openBrWindow(theURL,winName,features) { //v2.0

      window.open(theURL,winName,features);

       

      And here is the html code:

       

      onclick="window.open('index2.htm','viewReport','width=718,height=503,scrollbars=no,resiza ble=no')"

       

      And this is the entire code of the index2.html pop-up window:

       

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

      <html>

      <head>

      <title>.::Portafolio::.</title>

      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

      <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

      </head>

       

       

       

       

      <body bgcolor="#FFFFFF" text="#040404" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

      <table width="718" height="503" border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#040404">

        <tr>

          <td width="710" height="501" valign="top">

            <table width="710" height="494" border="0" cellpadding="0" cellspacing="0">

              <tr>

                <td valign="top" background="imaxes/fondos/conarbore.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <tr>

                      <td width="70%" valign="top"><table width="496" height="495" border="0" cellpadding="0" cellspacing="0">

                          <tr>

                            <td width="496"><iframe name="principal" id="principal" frameborder="0" height="495" width="496" scrolling="no" src="presenta.html"></iframe></td>

                          </tr>

                        </table> </td>

                      <td width="30%"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="214" height="492">

                        <param name="movie" value="fla/menu.swf">

                        <param name="quality" value="high">

                        <param name="wmode" value="transparent">

                        <param name="swfversion" value="6.0.65.0">

                        <!-- Esta etiqueta param indica a los usuarios de Flash Player 6.0 r65 o posterior que descarguen la versión más reciente de Flash Player. Elimínela si no desea que los usuarios vean el mensaje. -->

                        <param name="expressinstall" value="Scripts/expressInstall.swf">

                        <!-- La siguiente etiqueta object es para navegadores distintos de IE. Ocúltela a IE mediante IECC. -->

                        <!--[if !IE]>-->

                        <object type="application/x-shockwave-flash" data="fla/menu.swf" width="214" height="492">

                          <!--<![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">

                          <!-- El navegador muestra el siguiente contenido alternativo para usuarios con Flash Player 6.0 o versiones anteriores. -->

                          <div>

                            <h4>El contenido de esta p&aacute;gina requiere una versi&oacute;n m&aacute;s reciente de 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="Obtener Adobe Flash Player" width="112" height="33" /></a></p>

                          </div>

                          <!--[if !IE]>-->

                        </object>

                        <!--<![endif]-->

                      </object></td>

                    </tr>

                  </table></td>

              </tr>

            </table> </td>

        </tr>

      </table>

      <script type="text/javascript">

      <!--

      swfobject.registerObject("FlashID");

      //-->

      </script>

      </body>

      </html>