?
Solved

creating a 'sub window' in a webpage

Posted on 2006-11-13
1
Medium Priority
?
225 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

762 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