December 22nd, 1999, 10:28 PM
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...?
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
December 27th, 1999, 11:54 AM
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> )