HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 22nd, 1999, 10:28 PM
tucats
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

URL

Reply With Quote
  #2  
Old December 27th, 1999, 11:54 AM
time2brew
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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> )

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > "Positioning" a page inside of a pop-up window


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway