Connecting Tech Pros Worldwide Help | Site Map

getting window properties

  #1  
Old July 20th, 2005, 12:23 PM
Gregory Van Vooren
Guest
 
Posts: n/a

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.

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

  #2  
Old July 20th, 2005, 12:24 PM
DU
Guest
 
Posts: n/a

re: getting window properties


Gregory Van Vooren wrote:
[color=blue]
> When opening a new window with javascript it's possible to specify what
> features (location, toolbar, ...) should be visible.[/color]

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.
[color=blue]
> Is there also some way of checking which of these features are enabled in
> the current window ?[/color]

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.

[color=blue]
> Thanks in advance.
>
>
> Greg.
>
> ----------------------------------------------------------------------
> GregoryVanVooren@yahoo.com
> ----------------------------------------------------------------------
> vincam aut vincar, neque umquam me dedam.
> ----------------------------------------------------------------------
>[/color]

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

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied error on getting window.location.href property Mihania answers 1 July 10th, 2009 07:18 PM
Getting window from document D. Patterson answers 2 October 31st, 2005 12:45 AM
Get value from popup window to parent window Davey answers 4 September 6th, 2005 07:35 PM
Setting X properties in tkinter or wxPython Thorkild Stray answers 2 July 18th, 2005 01:05 PM