6 Replies Latest reply on Aug 11, 2007 8:45 AM by Newsgroup_User

    Open Browser Window Behavior Question

      From my index page I have a link that I want to open a page to a specific size. I set the size in the behaviors. What happens is: the new window opens to the size I want and my index page remains open and loads the same unsized page.

      I want the index to go away when I click the link and my sized window to open. Why am I getting the two pages?

      graci
        • 1. Re: Open Browser Window Behavior Question
          Level 7
          Go into code view and add a return false at the end of the MM_openBrWindow
          event.

          <a href="yourpage.html" onclick="MM_openBrWindow('yourpage.html','','');
          return false">


          --
          Regards,
          ..Trent Pastrana
          www.fourlevel.com

          -------------------------------------------




          "iJack555" <webforumsuser@macromedia.com> wrote in message
          news:f9j9t2$pdq$1@forums.macromedia.com...
          > From my index page I have a link that I want to open a page to a specific
          > size.
          > I set the size in the behaviors. What happens is: the new window opens to
          > the
          > size I want and my index page remains open and loads the same unsized
          > page.
          >
          > I want the index to go away when I click the link and my sized window to
          > open.
          > Why am I getting the two pages?
          >
          > graci
          >


          • 2. Re: Open Browser Window Behavior Question
            I gave it a try, but alas, ugh ugh.

            Did I enter it correctly?

            <td><a href="gallery_page.html"><img src="graphics_online/index_graphics/index_r2_c2.jpg" alt="" name="index_r2_c2" width="69" height="30" border="0" id="index_r2_c2" onclick="MM_openBrWindow('gallery_page.html','','toolbar=yes,location=yes,menubar=yes,scr ollbars=yes,width=810,height=775')" /></a><a href="gallery.html" onclick="MM_openBrWindow('gallery.html','','');
            return false"></td>
            • 3. Re: Open Browser Window Behavior Question
              Level 7
              <td><a href="gallery_page.html"
              onclick="MM_openBrWindow('gallery_page.html','','toolbar=yes,location=yes,menubar=yes,scr ollbars=yes,width=810,height=775');return
              false"><img src="graphics_online/index_graphics/index_r2_c2.jpg" alt=""
              name="index_r2_c2" width="69" height="30" border="0" id="index_r2_c2"
              /></a</td>


              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "iJack555" <webforumsuser@macromedia.com> wrote in message
              news:f9kc0b$34n$1@forums.macromedia.com...
              >I gave it a try, but alas, ugh ugh.
              >
              > Did I enter it correctly?
              >
              > <td><a href="gallery_page.html"><img
              > src="graphics_online/index_graphics/index_r2_c2.jpg" alt=""
              > name="index_r2_c2"
              > width="69" height="30" border="0" id="index_r2_c2"
              > onclick="MM_openBrWindow('gallery_page.html','','toolbar=yes,location=yes,menuba
              > r=yes,scrollbars=yes,width=810,height=775')" /></a><a href="gallery.html"
              > onclick="MM_openBrWindow('gallery.html','','');
              > return false"></td>
              >


              1 person found this helpful
              • 4. Re: Open Browser Window Behavior Question
                I'm sorry, I don't understand this last reply..
                • 5. Re: Open Browser Window Behavior Question
                  Level 7
                  iJack555 wrote:
                  > I'm sorry, I don't understand this last reply..

                  Trent, who answered you earlier is perhaps to modest to say so, but he
                  has an extension that will help you, find it here and details on how to
                  use it.

                  OpenBrowser......

                  http://www.fourlevel.com/extensions.htm

                  HTH

                  --
                  chin chin
                  Sinclair
                  1 person found this helpful
                  • 6. Re: Open Browser Window Behavior Question
                    Level 7
                    I showed you the code the way it should be.

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.dreamweavermx-templates.com - Template Triage!
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                    ==================


                    "iJack555" <webforumsuser@macromedia.com> wrote in message
                    news:f9keaj$5fj$1@forums.macromedia.com...
                    > I'm sorry, I don't understand this last reply..


                    1 person found this helpful