473,320 Members | 2,147 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,320 software developers and data experts.

getting window properties


When opening a new window with javascript it's possible to specify what
features (location, toolbar, ...) should be visible.
Is there also some way of checking which of these features are enabled in
the current window ?
Thanks in advance.
Greg.

----------------------------------------------------------------------
Gr**************@yahoo.com
----------------------------------------------------------------------
vincam aut vincar, neque umquam me dedam.
----------------------------------------------------------------------

Jul 20 '05 #1
1 2578
DU
Gregory Van Vooren wrote:
When opening a new window with javascript it's possible to specify what
features (location, toolbar, ...) should be visible.
You can request which browser window toolbars (location, toolbar,...)
should be visible and which browser window functionalities should be
turn off but you can not turn them off, remove them or disable them by
pure force. For the sake of usability and accessibility to content (not
to mention accessibility laws), it is in the best interests of users
(and web designers as well) to be able to use browser windows with
resizability turn on, with a status bar and with rendered scrollbars if
needed, if content overflows requested window dimensions. Even major
browser manufacturers understood that and support this perspective.
Everytime you alienate browser windows, you just take a chance to
alienate your users and their experience and retroactively you alienate
the web designer's very own interests.

There are UI settings, menu items, customizations and browser add-ons
which will give users absolute veto and final word over scripts which
try to turn off toolbars and browser functionalities.
Is there also some way of checking which of these features are enabled in
the current window ?
No. At least not that I know of. There are 3 bugfiles at bugzilla on
this regarding Mozilla-based browsers. But for MSIE 6 and Opera, there
is no way of verifying if toolbars and browser window functionalities
have been enabled or disabled. In a sense, this is good news too.

Thanks in advance.
Greg.

----------------------------------------------------------------------
Gr**************@yahoo.com
----------------------------------------------------------------------
vincam aut vincar, neque umquam me dedam.
----------------------------------------------------------------------


DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunc...e7Section.html

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: yzzzzz | last post by:
Hi I have: <div onkeypress="go(event)">...</div> and: function go(event) { alert(event.keyCode); }
1
by: Brian | last post by:
Hello, I am working on a utility script to browse the supported objects in a browser. I know I can get the object members, by: for( member in eval(obj_name) ) but, is there something...
1
by: Pieter Van Waeyenberge | last post by:
HEllo i create an HTML image dynamically using document.createElement() i dont explicitly define the 'style.position', but i assume its 'static' by default. according to CSS2 'left' & 'top'...
18
by: lawrence | last post by:
If I'm pretty sure there is just one form on the page, can i do this? var myForm = document.forms; If I'm not sure about the form, is it safer to do this? if (document.forms) { var myForm =...
2
by: Alex | last post by:
Hi all, I'm writing a small web application which searches a database based on a date field, and populates a datagrid control with the results. The datagrid control has selection buttons added...
3
by: sundew | last post by:
so here is the test case: <head> <script type='text/javascript'> // this function simply returns the number of enumerable namespaces(objects) function numNSpaces(){ var num = 0; for(var i in...
2
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed...
1
by: iwdu15 | last post by:
hi, how can i get the icon associated with a certain file type? thanks -- -iwdu15
6
by: DRS.Usenet | last post by:
When I run alert("page contents:" + content.document.documentElement.innerHTML); I am able to pull the content. I see something like this page contents:<head><title>A Title</title>...
24
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.