473,396 Members | 1,725 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,396 software developers and data experts.

launch window certain size etc *by itself*

does anyone know how I could get a page to open to a specific size and
location on the screen on its own? in other words, the page is not
being launched from any other page; it simply resides on my local
machine and I would like to see it launch to a specific size etc.

thanks

Brian mc

Jul 25 '05 #1
2 1525
Hi Brian,

briansmcc...@gmail.com wrote:
does anyone know how I could get a page to open to a specific size and
location on the screen on its own? in other words, the page is not
being launched from any other page; it simply resides on my local
machine and I would like to see it launch to a specific size etc.

thanks

Brian mc
Yes there is a way. Javascript has a Window object with these methods
which can achieve what you want:
specific..location on the screen
window.moveBy(dx, dy)
window.moveTo(x, y)
open to a specific size...


window.resizeBy(dw, dh)
window.resizeTo(width, height)

The only difference is dependent on how you want to do your desired
action. i.e., do you want to do it by relative or absolute amount.

Hope this helps. :)

Jul 25 '05 #2
br**********@gmail.com said the following on 7/25/2005 1:45 PM:
does anyone know how I could get a page to open to a specific size and
location on the screen on its own?
Open IE to that size, then close it.
in other words, the page is not being launched from any other page;
it simply resides on my local machine and I would like to see it launch
to a specific size etc.


See above.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 25 '05 #3

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

Similar topics

7
by: Paul | last post by:
Hi. I need to launch a windows application and then send keyboard event to this process to run certain commands. I've created a COM+ appplication to spawn and talk to the application which works...
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
6
by: Ronald S. Cook | last post by:
How do I launch, say, Microsoft Word from within a C# Win app? Word should launch exterior to my app, of course. Is it easy to set size and position of where Word window will be placed? ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...

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.