Hello,
Can I use JavaScript to force a maximised window ?
Thanks 17 1842
i haven't tried this, but maybe:
window.resizeTo (window.screen. availWidth, window.screen.a vailHeight);
or possibly
window.resizeTo (window.screen. width, window.screen.h eight);
If anything, check out the window and screen objects
Geoff Cox wrote: Hello,
Can I use JavaScript to force a maximised window ?
No. http://webtips.dan.info/force.html
Stewart.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS-
PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------
My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
On Wed, 02 Nov 2005 19:08:57 +0000, Stewart Gordon
<sm*******@yaho o.com> wrote: Geoff Cox wrote: Hello,
Can I use JavaScript to force a maximised window ?
No.
http://webtips.dan.info/force.html
Stewart,
I accept that this would not normally be a good idea but I would be
using it for a small number of people for whom it might improve the
situation.
The reason for perhaps using it is that I have a slider with a
pointer. If the user starts with a minimised window and then maximises
it, the pointer image stays where it is and is thus in the wrong
position for the maximised window...
Cheers
Geoff
On 2 Nov 2005 11:04:07 -0800, "bobzimuta" <ej******@gmail .com> wrote: i haven't tried this, but maybe:
window.resizeT o(window.screen .availWidth, window.screen.a vailHeight);
this does the trick - thanks,
Geoff or possibly
window.resizeT o(window.screen .width, window.screen.h eight);
If anything, check out the window and screen objects
"Geoff Cox" <ge*******@notq uitecorrectfree uk.com> wrote in message
news:54******** *************** *********@4ax.c om... On Wed, 02 Nov 2005 19:08:57 +0000, Stewart Gordon <sm*******@yaho o.com> wrote:
Geoff Cox wrote: Hello,
Can I use JavaScript to force a maximised window ?
No.
http://webtips.dan.info/force.html
Stewart,
I accept that this would not normally be a good idea but I would be using it for a small number of people for whom it might improve the situation.
The reason for perhaps using it is that I have a slider with a pointer. If the user starts with a minimised window and then maximises it, the pointer image stays where it is and is thus in the wrong position for the maximised window...
move the image when the window is resized. Can I use JavaScript to force a maximised window ?
No.
http://webtips.dan.info/force.html
Those *tips* are very small minded. What if the web designer has absolute
control over the users browsing environment ? Perhaps the *site* is an
intranet and all desktops have the same settings. I think the whole article
is a little out of date !!
On Wed, 02 Nov 2005 22:11:44 GMT, "Zoe Brown"
<zo***********@ N-O-S-P-A-A-Mtesco.net> wrote: The reason for perhaps using it is that I have a slider with a pointer. If the user starts with a minimised window and then maximises it, the pointer image stays where it is and is thus in the wrong position for the maximised window...
move the image when the window is resized.
Zoe,
Not sure what you mean re "move the image" ?
I had thought that perhaps I need to "refresh" the page if the user
resizes the window as that does put the pointer image back in the
right place.
How do I detect a change in size and then force a refresh?
Cheers
Geoff
bobzimuta wrote: window.resizeTo (window.screen. availWidth, window.screen.a vailHeight);
Argh! http://dorward.me.uk/tmp/fullscreen.jpeg
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Zoe Brown said:
Can I use JavaScript to force a maximised window ?
No.
http://webtips.dan.info/force.html
Those *tips* are very small minded. What if the web designer has absolute control over the users browsing environment ?Perhaps the *site* is an intranet and all desktops have the same settings. I think the whole article is a little out of date !!
I really hate it when a web developer thinks that just because we're
on the same intranet, that I must have the same size monitor and the
same browser settings. Some of us have larger monitors than the web
developers, because it's required for our jobs. Some have large fonts
because they don't see well.
Nobody should ever assume that they have absolute control over the
users browsing environment. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: brian |
last post by:
Hi,
I am beginner using Python 1.52, GTK 1.2.10, and Glade .0.6.2 to
develop a gui which will kick off various scripts. After checking
some configurations I would like to pop up a window warning the user
of any problems and force them to respond to this window before
returning to the main window. I use a modal dialog window and set the
main window to be insensitive. This works fine but the way my window
manager(MWM) is setup(in the...
|
by: Paul |
last post by:
Hi,
I'm using a little javascript to help my site's design to fit the
visitor's entire browser window.
Everything works great apart from one problem.
If a visitor first loads the page and the browser isn't maximised, the
page loads correctly BUT if the visitor then proceeds to maximize the
browser, the page is still set for the minimised browser. This condition
stays until the visitor goes to another section of the site or refreshes the...
|
by: Steve |
last post by:
I want to force a window to scroll and am finding this to be an impossibly difficult task. First I tried using the API functions ScrollWindow and ScrollWindowEx but they do not work. The portion that is being exposed in the scroll is not painting properly even though I've passed it the flags to tell it to invalidate and erase the new area's background. Then when I force the window to redraw by covering the window with another app the window...
|
by: annagel |
last post by:
I am looking for a way to force a Tkinter window into focus on a system
level. I know the force focus method should bring one window of my
application into focus, but it seems I need to have some part of my
application already in focus on a system level to make this work. If
for example I am entering text at the command line and call a
force_focus on my root window the call will not return till I click on
a window in my application. The...
|
by: mano |
last post by:
hi All.
I am Mano.I don't known javascript.
1. so I want one of u to figure out how to restrict access to just 1 URL from IE and also how do u open in the maximized mode if they close the window by mistake, we need IE to come up maximized when tehy open it up.
2. How to hide addressbar in IE form javascript/
Advance thanks.
By
mano
| |
by: dev175 |
last post by:
hi
i need to know how to force opening a hyper link in a new window because when i use window.open() in internet explorer the hyper link gets opened in a new window but in Firefox the hyper link opens in a new tab because it had been configured to open all new windows in new tab but i want to force the hyper link to open in a no matter in what way Firefox has been configured.
|
by: Lewe22 |
last post by:
I have designed a database that loads with a main switchboard in Maximised view. This is important, to fit all the relevant information onto the form.
My only problem is that when opening new forms from the switchboard using buttons or hyperlinks they will always appear maximised as well.
I have tried inserting DoCmd.Restore in the new forms which works to a point, but it not only restores the new form it also restores the switchboard...
|
by: gnaniyar |
last post by:
How to find a window sate in Java Script ? I want to know whether the window is maximized or minimized ?
|
by: Samuel |
last post by:
I have some questions that are sort of connected. I use Access 2003.
Is it possible to set some properties that can make the Access window
open at a particular size?
Is it possible to make a form open inside the Access window so that it
fills the window completely without borders?
I have seen some databases that open and there is no outside borders and
the forms all work neatly inside. It looks like the database form is
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |