Solved

Full Screen (Minus Taskbar) Popup

Posted on 2004-10-13
3
343 Views
Last Modified: 2008-02-01
Hello!

I need to know how to make a full screen popup the has no navigation at the top of the new window...but it should not cover up the bottom Windows(R) taskbar.  And the "Close" "X" should always be visible. Can someone give me the code to do this?

Thanks,
Jais
0
Comment
Question by:lexcio
3 Comments
 
LVL 15

Expert Comment

by:justinbillig
ID: 12301419
0
 
LVL 9

Expert Comment

by:riyasjef
ID: 12301741
hi try this
<script language="JavaScript">
function popup()
{
var pop = window.open("test.htm", "tinyWindow", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=600');
pop.focus();
pop.moveTo(0,0);
pop.resizeTo(screen.width,screen.height);

}
</script>
<input type=button value="click" onclick="popup()">

Riyasjef
0
 
LVL 30

Accepted Solution

by:
third earned 500 total points
ID: 12304275
try,

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script>
function popup(url){
  var childpopup = window.open(url, "tinyWindow", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=0, left=0, screenX=0, screenY=0, width=' + screen.width + ',height=' + screen.availHeight);
  childpopup.focus();
  childpopup.moveTo(0,0);
  childpopup.resizeTo(screen.width, screen.availHeight);
}
</script>
</head>
<body>
<a href="#" onclick="popup('test.htm');">open child</a>
</body>
</html>
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
This article discusses how to create an extensible mechanism for linked drop downs.
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

789 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