Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / April 2007



Tip: Looking for answers? Try searching our database.

Changing the size of a popup window?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Audleman - 24 Apr 2007 06:29 GMT
I'm building a site that has images of flowers, and when someone
clicks on a thumbnail it brings up a larger version in a popup window.
I am using window.open to open the new window with all the toolbars
turned off and the window resized to the correct size for the current
picture. The problem is the pictures are of different sizes, and once
the popup window is open it won't resize. So if the first image I open
is 470x240 and the second is 670x365, the second image will be
cropped. You can see this here

http://www.floweringaround.com/new/boquets.html (only the first three
images are currently working)

Is there a way to resize the window every time onclick is pressed?

Thanks,
Kevin
-Lost - 24 Apr 2007 07:32 GMT
> I'm building a site that has images of flowers, and when someone
> clicks on a thumbnail it brings up a larger version in a popup window.
[quoted text clipped - 12 lines]
> Thanks,
> Kevin

http://www.howtocreate.co.uk/perfectPopups.html

Signature

-Lost
Remove the extra words to reply by e-mail.  Don't e-mail me.  I am
kidding.  No I am not.

Kevin Audleman - 30 Apr 2007 20:00 GMT
> > I'm building a site that has images of flowers, and when someone
> > clicks on a thumbnail it brings up a larger version in a popup window.
[quoted text clipped - 19 lines]
> Remove the extra words to reply by e-mail.  Don't e-mail me.  I am
> kidding.  No I am not.

ty!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.