Popup Window Resize question

admin

Administrator
Staff member
I'm using the simple window.open line of javascript created by this link:

<!-- m --><a class="postlink" href="http://javascript.internet.com/generators/popup-window.html">http://javascript.internet.com/generato ... indow.html</a><!-- m -->

The problem I'm having is a little difficult to explain with words.

In a series of popup.htm files containing navigation buttons (previous, next) for other popup windows (used to display full size images) it seems impossible to resize a popup window from the "next" button. In other words...some of the pictures are landscape oriented, and some of them are portrait oriented, so how do I get the popup window to resize for the user who clicks on the "next" button. It's easy to make the landscape photo popup window to display perfectly if they click directly on the text link, but the "next" button will retain the portrait size window.

Is it possible for the popup window to resize (from portrait to landscape--and back again to portrait) using a next button from an existing popup window?

Here's the site:

<!-- m --><a class="postlink" href="http://www.alluringmodels.com/main.html">http://www.alluringmodels.com/main.html</a><!-- m -->

Click on each model's name and you will see a popup window showing a full size sample of the model. Or you can follow the "previous" and "next" buttons to cycle through all the models.

"Donna Lieu" is the only landscape photo in the series. It comes up resized perfectly (landscape oriented) if I click on her text link, but if I click on the next or previous buttons of the popup windows displaying the models before and after her name, it retains the portrait size popup window, and the user is forced to resize the window.

Any help is appreciated. Thank you!

Carl
 
Back
Top