aspose file tools*
The moose likes Beginning Java and the fly likes Popup window question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Popup window question" Watch "Popup window question" New topic
Author

Popup window question

Abrasha Stas
Greenhorn

Joined: Oct 15, 2004
Posts: 2
I just created my first popup windows for my site.

I did a number of things right. Unfortunately, I have not been able to figure out a couple of other things yet.

Please go to my site at http://www.abrasha.com

- Enter the site by clicking on the picture with the ring.
- Click on "3D Design" on the left.
- Click on "Bracelets"

The top two bracelets (in the thumbnails frame) link to pages that have links to popup windows. (On both it says "Click here, to see the finished piece")

Both popups work fine, but when one popup is open, and one then clicks the link to the other popup, the size of the window does not change to the size of the new popup. It stays the same. How do I change that.

If you take a look at the source code for the pages, you will see, that I do not have any scripts in the headers of those pages. I wonder if that is the reason that this does not work right.

The other thing that does not work the way I want it to, is that when one popup window is open, and one goes back to the "regular" browser window to open another page in the main frame (at which time the popup moves to the back), the new popup window STAYS in the back. I want it to open in the front, as the first one did.

I do not want to open an additional popup window. I would like there always to be just one window. I do not like sites that employ multiple popup windows. Sometimes, after having visited such a site, I have to close dozens of separate windows. I do not want to do this to my visitors.

What do I have to do differently to make my popups do these two things differently. To recoup, this is what I want.

1 Each popup window should be the correct size, while replacing the previously open window.

2 The popup window that was opened last, should open in front, just as the first one did.
_________________
Abrasha
http://www.abrasha.com


Abrasha<br />http://www.abrasha.com
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Howdy,

Welcome to JavaRanch!

This forum is for Java questions; you seem to be asking Javascript questions, which is a whole different ani-mule. I'm going to move your question to our HTML and JavaScript forum, where you'll be kindly cared for. Head over there and check it out!


[Jess in Action][AskingGoodQuestions]
 
wood burning stoves
 
subject: Popup window question