[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Full Screen (Minus Taskbar) Popup

Posted on 2004-10-13
3
Medium Priority
?
373 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 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…
Suggested Courses

872 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