• Post Reply Bookmark Topic Watch Topic
  • New Topic

Popup window question  RSS feed

Abrasha Stas
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Ernest Friedman-Hill
author and iconoclast
Posts: 24217
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!