Results 1 to 16 of 16

Thread: sizing a pop-up window
      
   

  1. #1
    Danny Canada is offline Second Lieutenant
    Join Date
    Apr 2007
    Posts
    121

    Smile 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

  2. #2
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default 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.

  3. #3
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,610

    Lightbulb 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 *

  4. #4
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: sizing a pop-up window

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

  5. #5
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,610

    Default 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!

  6. #6
    Danny Canada is offline Second Lieutenant
    Join Date
    Apr 2007
    Posts
    121

    Smile 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

  7. #7
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: sizing a pop-up window

    Quote 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

    Quote 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.

  8. #8
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,610

    Thumbs up Re: sizing a pop-up window


  9. #9
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: sizing a pop-up window

    Quote 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.

  10. #10
    Danny Canada is offline Second Lieutenant
    Join Date
    Apr 2007
    Posts
    121

    Talking Re: sizing a pop-up window

    Quote 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

  11. #11
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default 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.

  12. #12
    Danny Canada is offline Second Lieutenant
    Join Date
    Apr 2007
    Posts
    121

    Wink Re: sizing a pop-up window

    Quote 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

  13. #13
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default 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.

  14. #14
    LadyEye's Avatar
    LadyEye is offline General & Forum Moderator
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    10,548

    Default 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
    07031847328 / United Kingdom

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

    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)



  15. #15
    Danny Canada is offline Second Lieutenant
    Join Date
    Apr 2007
    Posts
    121

    Thumbs up 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

  16. #16
    Danny Canada is offline Second Lieutenant
    Join Date
    Apr 2007
    Posts
    121

    Thumbs up Re: sizing a pop-up window

    Quote Originally Posted by racefan20
    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.
    Please don't feel ignored Racefan as you guys can feel proud that this site had your input to get it this far. The mere fact that you people offer your time and efforts should never be taken for granted. I really appreciate it!!

    Thanks again!

    Danny

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49