7 Replies Latest reply: Jan 25, 2014 12:45 PM by MurraySummers RSS

    Dreamweaver CS6 - Popups work in Chrome but not Explorer

    fotogirl9999

      I am working with the "Open Browser Window" attribute. The popups open *almost* perfectly in Google Chrome (separate window, correct size, scrollbars, etc.), but when I click the same link in Internet Explorer it goes a bit haywire opening a couple other popup links from the page AND opening the initial link in a new tab. 

       

      My internet options are set correctly to "Always open popups in a new window".  My question is, is there a petition to have Internet Explorer removed from our existence?  (Kidding!)  If someone has a solution for this Explorer condition, I will appreciate the guidance.

       

      Regarding *almost* perfectly, my popup scrollbars seem to be frozen in Google Chrome - they are present, but they don't move.  Any ideas?

        • 1. Re: Dreamweaver CS6 - Popups work in Chrome but not Explorer
          MurraySummers CommunityMVP

          Any chance you could give us a link to the page, please? That way we could examine the code and the effect you are describing.

          • 2. Re: Dreamweaver CS6 - Popups work in Chrome but not Explorer
            fotogirl9999 Community Member

            The site is not on a server yet, so no link.  I'm kind of learning as I go, so can you tell me, specifically, which code you need and I'll copy it here if the code below isn't it?

             

            This is the code for the links:

             

                <table width="250" border="0" cellpadding="0" cellspacing="0">

                  <tr>

                    <td width="95" height="300"> </td>

                    <td width="155" valign="top" class="navtext" onclick="MM_openBrWindow('extras.html','Extras','scrollbars=yes,resizable=yes,width=650,h eight=620')" onfocus="MM_openBrWindow('extras.html','Extras','scrollbars=yes,resizable=yes,width=650,h eight=620')"><a href="projector.html" target="new" onclick="MM_openBrWindow('projector.html','projector','scrollbars=yes,width=650,height=62 0')" onmouseover="MM_swapImage('servicesmain','','images/services/1projector.jpg',1)">Custom Projector Package</a><br />

                      <a href="ceremonies.html" target="new" onclick="MM_openBrWindow('ceremonies.html','ceremonies','scrollbars=yes,resizable=yes,wid th=650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/2ceremonies.jpg',1)">Wedding Ceremonies</a><br />

                      <a href="receptions.html" target="new" onclick="MM_openBrWindow('receptions.html','receptions','scrollbars=yes,resizable=yes,wid th=650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/3receptions.jpg',1)">Wedding Receptions</a><br />

                      <a href="facades.html" target="new" onclick="MM_openBrWindow('facades.html','facades','scrollbars=yes,resizable=yes,width=650 ,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/4facades.jpg',1)">Facades and Scrims</a><br />

                      <a href="lighting.html" target="new" onclick="MM_openBrWindow('lighting.html','lighting','scrollbars=yes,resizable=yes,width=6 50,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/5lighting.jpg',1)">Custom Lighting</a><br />

                      <a href="corporate.html" target="new" onclick="MM_openBrWindow('corporate.html','corporate','scrollbars=yes,resizable=yes,width =650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/7corporate.jpg',1)">Corporat e Events</a><br />

                      <a href="life.html" target="new" onclick="MM_openBrWindow('life.html','life','scrollbars=yes,resizable=yes,width=650,heigh t=620')" onmouseover="MM_swapImage('servicesmain','','images/services/6life.jpg',1)">Life Celebrations</a><br />

                      <a href="school.html" target="new" onclick="MM_openBrWindow('school.html','school','scrollbars=yes,resizable=yes,width=650,h eight=620')" onmouseover="MM_swapImage('servicesmain','','images/services/8school.jpg',1)">School Events</a><br />

                      <a href="photobooth.html" target="new" onclick="MM_openBrWindow('photobooth.html','photobooth','scrollbars=yes,resizable=yes,wid th=650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/9photobooth.jpg',1)">Photo Booth</a><br />

                      <a href="props.html" target="new" onclick="MM_openBrWindow('props.html','props','scrollbars=yes,resizable=yes,width=650,hei ght=620')" onmouseover="MM_swapImage('servicesmain','','images/services/10props.jpg',1)">Party Props</a><br />

                      <a href="extras.html" target="new" onclick="MM_openBrWindow('extras.html','extras','scrollbars=yes,resizable=yes,width=620,h eight=620')" onmouseover="MM_swapImage('servicesmain','','images/services/11extras.jpg',1)">Extras</a> </p></td>

                  </tr>

                </table>

             

            This is the code for an individual popup window:

             

            <body>

            <div id="popup">

              <table border="0" cellspacing="0" cellpadding="15">

                <tr>

                  <td align="center" valign="bottom"><img src="images/popuplogo.png" width="196" height="75" /></td>

                  <td align="center" valign="bottom"><img src="images/pop7corporate.png" width="334" height="36" /></td>

                </tr>

                <tr>

                  <td colspan="2"><img src="images/7corporate.png" width="590" height="299" /></td>

                </tr>

                <tr>

                  <td colspan="2" class="textwhite"><p>There&rsquo;s nothing like the pressure of planning a corporate party. You work with these people day in and day out and now you have to put an outing or event together that will be fun, memorable, and universally accepted. You might as well as well be asked to solve world hunger!</p>

                    <p>WE&rsquo;RE HERE TO HELP!!</p>

                  <p>With experienced emcees, state-of-the-art sound systems and well-rounded music libraries, we are the best choice for the next event you are planning.</p></td>

                </tr>

                    <tr>

                  <td colspan="2" align="center" class="textwhite"><span class="navtextsmall">© 2013 xxx All Rights Reserved</span></td>

                </tr>

              </table>

            </div>

            </body>

            • 3. Re: Dreamweaver CS6 - Popups work in Chrome but not Explorer
              MurraySummers CommunityMVP

              <td width="155" valign="top" class="navtext" onclick="MM_openBrWindow('extras.html','Extras','scrollbars=yes,resiz able=yes,width=650,height=620')" onfocus="MM_openBrWindow('extras.html','Extras','scrollbars=yes,resiz able=yes,width=650,height=620')">

               

              You're applying the OBW behavior to the table cell? And you are doing it with an onclick AND an onfocus event?

               

              First of all, I would never apply a behavior to a structural element like a table cell, and second when you click on something you also give focus to it, so that would explain your double windows. Finally clicking on anything in that cell will also give focus to the cell. I would remove all behaviors from your table cells by changing that to this -

               

              <td width="155" valign="top" class="navtext">

              • 4. Re: Dreamweaver CS6 - Popups work in Chrome but not Explorer
                fotogirl9999 Community Member

                Removing the links from the table appears to have been the fix - awesome!  (Using tables = old habits)  When adding the OBW behavior, the onfocus event was added automatically.  This is not the case when placed in a DIV, so that's good.

                 

                However, IE still does not honor my specified popup width of 620px - it is opening much wider.  And, the scrollbars still do not work in Chrome.

                • 5. Re: Dreamweaver CS6 - Popups work in Chrome but not Explorer
                  MurraySummers CommunityMVP

                  After applying a behavior, you have an option to change the event to any of the others available. In fact, I don't see that onfocus is the default - it looks to me like onclick is. But that's because I was applying it to a link and not to a table cell.

                   

                  I'm not sure that browsers are required to follow your window specifications with this behavior.

                  • 6. Re: Dreamweaver CS6 - Popups work in Chrome but not Explorer
                    fotogirl9999 Community Member

                    Thanks so much for your help!!