Solved

creating a 'sub window' in a webpage

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article discusses four methods for overlaying images in a container on a web page
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
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)

809 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