Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

creating a 'sub window' in a webpage

Posted on 2006-11-13
1
Medium Priority
?
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

by:
QPR earned 2000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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…

636 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