Solved

Full Screen (Minus Taskbar) Popup

Posted on 2004-10-13
3
336 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
Comment Utility
0
 
LVL 9

Expert Comment

by:riyasjef
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now