Solved

creating a 'sub window' in a webpage

Posted on 2006-11-13
1
203 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now