Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Popup window question

 
Greenhorn
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.
_________________
Abrasha
http://www.abrasha.com
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic