sizing a pop-up window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Danny Canada
    Second Lieutenant

    • Apr 2007
    • 121

    sizing a pop-up window

    I have created a small map as a link to open a larger map with the location of a town or city. The large map is 500 x 600 pixel and I want it to only open in a window that is 500 x 600. However, it opens an entire window well outside the pixels I have saved it at with a lot of white space around it.

    Any ideas?

    Thanks!

    Danny
  • racefan20
    Major General

    • Jul 2005
    • 2335

    #2
    Re: sizing a pop-up window

    You need a script for this, Danny. Based on what I think you want to do, this one might do the trick: click here

    Click on "Be sure and read this one" to see it work.
    My NASCAR Forum

    Comment

    • Vasili
      Moderator

      • Mar 2006
      • 14683

      #3
      Re: sizing a pop-up window

      Try inserting this string into the Hyperlink Dialog box in BV where it asks for the URL instead of a common http address (be sure to modify/customize the code shown in blue first!):

      #" onClick="window.open('http://www.YourDomainNameHere.com/TheMapPageNameHere.html', '','width=500,height=600'); return false;

      Remember, you will need to actually create (and publish) the Map on it's own page, which needs be created at the same overall page dimensions you specify the browser! (i.e. if the map page is actually 505 wide, you need to set the string at 505)
      Leave the "Target" box empty.
      . VodaWebs....Luxury Group
      * Success Is Potential Realized *

      Comment

      • racefan20
        Major General

        • Jul 2005
        • 2335

        #4
        Re: sizing a pop-up window

        Vasili's suggestion is better than mine, give that one a try.
        My NASCAR Forum

        Comment

        • Vasili
          Moderator

          • Mar 2006
          • 14683

          #5
          Re: sizing a pop-up window

          < Tipping my hat to the General >

          I have always tried to follow your example, General, not just your posts (inadvertant, truly)! LOL
          Just goes to show you, there's Magic in Here!
          . VodaWebs....Luxury Group
          * Success Is Potential Realized *

          Comment

          • Danny Canada
            Second Lieutenant

            • Apr 2007
            • 121

            #6
            Re: sizing a pop-up window

            Thanks Vasili & Racefan

            It worked great!

            It does seem to have a drop down in the address bar which I don't need and not sure how it got there.

            Have a boo at my site to see the work i have done as well as the map.

            Go to: www.exportbc.com and click on the little ,aple leaf in the top right corner.

            Then go to "Products" and then click on the first icon "Nimbus Kayaks" and then click on the little map of British Columbia "Where are we?"

            Give me your thoughts

            Thanks!

            Danny

            Comment

            • racefan20
              Major General

              • Jul 2005
              • 2335

              #7
              Re: sizing a pop-up window

              Originally posted by Vasili
              < Tipping my hat to the General >

              I have always tried to follow your example, General, not just your posts (inadvertant, truly)! LOL
              You don't follow my example very well, you're not nearly as big an asshole as I am. LOL

              Originally posted by Vasili
              Just goes to show you, there's Magic in Here!
              Is that what that is? I thought Alien Dude had gone heavy on the bean burritos again.
              My NASCAR Forum

              Comment

              • Vasili
                Moderator

                • Mar 2006
                • 14683

                #8
                Re: sizing a pop-up window

                . VodaWebs....Luxury Group
                * Success Is Potential Realized *

                Comment

                • racefan20
                  Major General

                  • Jul 2005
                  • 2335

                  #9
                  Re: sizing a pop-up window

                  Originally posted by Danny Canada
                  Thanks Vasili & Racefan

                  It worked great!

                  It does seem to have a drop down in the address bar which I don't need and not sure how it got there.

                  Have a boo at my site to see the work i have done as well as the map.

                  Go to: www.exportbc.com and click on the little ,aple leaf in the top right corner.

                  Then go to "Products" and then click on the first icon "Nimbus Kayaks" and then click on the little map of British Columbia "Where are we?"

                  Give me your thoughts

                  Thanks!

                  Danny
                  The pages look nice, Danny, but they seem to load slowly. You might want to optimize the images a little. Just a thought, you're off to a great start.
                  My NASCAR Forum

                  Comment

                  • Danny Canada
                    Second Lieutenant

                    • Apr 2007
                    • 121

                    #10
                    Re: sizing a pop-up window

                    Originally posted by racefan20
                    The pages look nice, Danny, but they seem to load slowly. You might want to optimize the images a little. Just a thought, you're off to a great start.
                    Thanks racefan!

                    Any tips on how to do that again and where?

                    Danny

                    Comment

                    • racefan20
                      Major General

                      • Jul 2005
                      • 2335

                      #11
                      Re: sizing a pop-up window

                      Pix resizer is a must have for this type of thing. Don't get fanatical about it, because the load time wasn't terrible for me at all, just something to look at as you go along.
                      My NASCAR Forum

                      Comment

                      • Danny Canada
                        Second Lieutenant

                        • Apr 2007
                        • 121

                        #12
                        Re: sizing a pop-up window

                        Originally posted by racefan20
                        Pix resizer is a must have for this type of thing. Don't get fanatical about it, because the load time wasn't terrible for me at all, just something to look at as you go along.
                        Thanks Racefan

                        I downloaded the pix resizer and most of my images (jpg's) are between 5-7k which seem to load pretty quick on both my machines. The main images on the front are around 65k.

                        Any tips on using the pix resizer input screen? Not sure what radio buttons to use?

                        Thanks

                        Danny

                        Comment

                        • racefan20
                          Major General

                          • Jul 2005
                          • 2335

                          #13
                          Re: sizing a pop-up window

                          They'll load quickly on your machines because you either have the images stored on the machines or you've viewed the site from them and they've become cached for easier loading. You don't see a fresh version of a site everytime you view it - your pc remembers what you've viewed and brings it up quicker.

                          I looked at the site again and it actually doesn't load all that slowly now that I think of it, just the fade transition from page to page gave me that impression.

                          In other words, feel free to ignore the hell out of most of what I've said so far.
                          My NASCAR Forum

                          Comment

                          • LadyEye
                            General & Forum Moderator

                            • Jun 2006
                            • 10526

                            #14
                            Re: sizing a pop-up window

                            Nice site, not a bad load time at all, 19 secs on isdn ... ideally 17 secs is a target, so you've done well .....

                            VodaHost

                            Your Website People!
                            1-302-283-3777 North America / International
                            02036089024 / United Kingdom
                            291916438 / Australia

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

                            Top 3 Best Sellers

                            Web Hosting - Unlimited disk space & bandwidth.

                            Reseller Hosting - Start your own web hosting business.

                            Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


                            Comment

                            • Danny Canada
                              Second Lieutenant

                              • Apr 2007
                              • 121

                              #15
                              Re: sizing a pop-up window

                              Thanks you guys!

                              I do have another question for you.

                              When viewing in Netscape, the site (after dumping cache) loads very fast and has no glitches at all.

                              However, in IE, it loads fairly quick and as I navigate through the site it will all of a sudden stop loading (products page) and then the images will start filling up with "x"'s with errors.

                              Any idea?

                              Thanks!

                              Danny

                              Comment

                              Working...
                              X