1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I have a pop-up window that displays a map for the object that someone has chosen... I know it is a mouthful, but in my popup window I want to be able to zero in on only a portion of the resulting web page, and make it look like the map is the only thing in the popup window (can't see anything but the map)... how can I do this...?

    example script:

    function popup(){

    popupwindow = window.open(<?php echo "'http://maps.expedia.com/default.asp?Street=$location&City=$city&State=$state&ZIP=$zip'n"; ?>,"","toolbar=no,location=no,scrollbars=yes,resizable=yes,width=450,height=300,left=500,top=200")

    If you are not familiar with "php3" then nevermind the '<?php', and 'echo' and '?>' or the link... but I am sure that you can see what this function does...

    How do I have it display the resulting page in a certain position...

    Inside the small popup browser make the "page" be 100 pixels from the left and 50 pixels from the top...? Thus positioning the page so that only the "map" is shown...

    Thank you so much and have a great Christmas

  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    i haven't tried this,

    so i don't know if you could turn off scrollbars by setting scrollbars=no in your window.open
    after you open the window, do window.scrollto(xpos,ypos). You can get these values if the map has an id or by refering to document.images(<imgnum> )

Similar Threads

  1. Running Shellexecute but do not open the Web page window
    By linh in forum Visual Basic Programming
    Replies: 0
    Last Post: January 9th, 2004, 03:28 PM
  2. software window to house a web page? help.
    By mitya in forum Visual Basic Programming
    Replies: 2
    Last Post: October 23rd, 2003, 10:52 AM
  3. Replies: 3
    Last Post: October 17th, 2003, 02:13 AM
  4. refresh parent window when add points in pop out window
    By joyce in forum HTML Programming
    Replies: 1
    Last Post: May 21st, 2002, 04:03 AM
  5. Closing a pop up window on load of a different frame
    By mking in forum HTML Programming
    Replies: 0
    Last Post: November 17th, 2000, 02:10 AM

IMN logo majestic logo threadwatch logo seochat tools logo