473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Google/Adobe/other (Pop up help)

What I want to be able to do is open a new window with JavaScript at a certain height and width. But I cannot use resizeto() to do this be cause if I say 500x500 it opens accordingly but if the user has Google toolbar or Adobe toolbar the viewable space of the page is less. I want to be able to fix the inner hight and width so that it is the same in IE, FF, NN, and all other.

Thanks
Mar 11 '08 #1
3 1148
rnd me
427 Expert 256MB
use innerHeight instead.

Expand|Select|Wrap|Line Numbers
  1.  
  2. var b= window.open()
  3.  
  4. b.innerHeight=500
  5. b.innerWidth=500
  6.  
  7.  
Mar 11 '08 #2
use innerHeight instead.

Expand|Select|Wrap|Line Numbers
  1.  
  2. var b= window.open()
  3.  
  4. b.innerHeight=500
  5. b.innerWidth=500
  6.  
  7.  

This works in FireFox but it does not work in IE, is there a solution to this?
Mar 13 '08 #3
acoder
16,027 Expert Mod 8TB
See this link.
Mar 14 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Michael R. Bogdan | last post by:
I need to process some forms and fdf files. I don't have time to learn and debug code... is there anyone who wants to create some simple code for use in pdfs?
18
by: Mickey Segal | last post by:
On comp.lang.java.programmer we are discussing problems created for Java programs by pop-up blockers (in the thread "showDocument blocked by new microsoft pop-up blocker"). Our problem is that...
10
by: Madame Blablavatsky | last post by:
hello, i have a few links on a page. when one clicks a link an pop up window with an image opens. when people click an other link i want the already availible pop up window to close before the...
6
by: Mike Kirkpatrick | last post by:
I have this data grid which consists of 3 pick lists. The first pick list is to affect the data binding of the other two. I have figured out how to do the data binding by column. However, I do not...
4
by: Miguel Dias Moura | last post by:
Hello, i created an ASP.net / VB page with a really big form. Now i want to create 4 pages and in each one i will place 1/4 of the big form. The last page will send all the form values by...
2
by: Head In A Pan | last post by:
Hello! My JavaScripting is at novice level - and after completing a tutorial on a 'floating layer' I was proud that I got it working on Firefox, Safari, Camino & even IE5 for mac!!! But not IE7!...
1
by: =?Utf-8?B?ZGFuZGU=?= | last post by:
I have recently opened a manual downloaded to me by a vehicle manufacturer. The document automatically opened in Adobe Reader 7.0. However the print is poor, the letters being sort of made up of...
1
by: Roedy Green | last post by:
On Tue, 22 Apr 2008 14:41:33 -0700 (PDT), "xahlee@gmail.com" <xahlee@gmail.comwrote, quoted or indirectly quoted someone who said : I was shocked at the detailed information Alexa (owned by...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.