Solved

creating a 'sub window' in a webpage

Posted on 2006-11-13
1
208 Views
Last Modified: 2010-04-09
Hi

I would like to have a webpage in which I can click a button and a 'sub window' can appear in the middle of the page on top of the original page. This sub window is like a modal popup (it has the focus and the page behind doesnt get the focus until you close it). The sub window contains another webpage and you can interact with it as you would a normal window.

How would i do this? I would like the simplest possible way

thanks
andrea
0
Comment
Question by:andieje
1 Comment
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 17935543
This window would be a pop-up.
The contents of the pop-up is a web page.
The position of the pop-up can be centered using the availablescreenwidth and height.
Most of your users would never see this new window due to pop-up blockers.

Have you considered using a hidden div in the centre of the page that becomes visible when the button is clicked.
This div will float above your page content. Put an image or link in the div which reverts it's visibility to hidden when clicked.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question