Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 27th, 2007, 05:59 AM
Authorized User
Join Date: Oct 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to pop up a window ON TOP OF the Start Bar.

Here is my Javascript function for popping up a standalone window:

page = "main.asp"
metrics = "width=1014,height=739,left=0,top=0"
myWin = window.open(page, "null", metrics)

The metrics provide a window that fills the entire screen, if the screen resolution is 1024x768, and the operating system is Windows 2000.

Here is the issue:

If the Start Bar is set to "always on top", then some of this window gets obscured by the Start Bar. This is particularly so if viewed on a PC with Windows XP.

Is there any way I can pop up a window such that it is guaranteed to be on top of *everything* else, including the Start Bar and any other tool bars?

Old February 27th, 2007, 06:28 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

My view is that if the users wants their start bar always accessible then who am I to argue?


Joe (Microsoft MVP - XML)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Window refresh and window pop up in Java Script Aleksandra Javascript How-To 2 March 2nd, 2007 06:47 PM
Creating a Database Driven Top Menu Bar with CSS Lucy CSS Cascading Style Sheets 1 March 30th, 2006 10:14 PM
Keep Div at Top of Window TSEROOGY CSS Cascading Style Sheets 11 November 7th, 2004 10:14 AM
pop up menu on navigation bar joshil Dreamweaver (all versions) 0 May 16th, 2004 07:53 AM
Pop-up window, on top of webpage Burton HTML Code Clinic 5 September 3rd, 2003 04:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.