Solved

Start Run javascript:window.open(screen.availWidth,screen.availHeight)

Posted on 2004-08-10
7
656 Views
Last Modified: 2008-01-09
Hi. I tried this approach to open a full window but no result I still always get a small window, I tried the trick of updating the registry, still no luck.

What is wronk with my ie? all new windows open small?

0
Comment
Question by:robrodp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 4

Expert Comment

by:kolpdc
ID: 11771475
do not know, how you tried to open. so i only give you hints that, i think, could help:
(links are german)

first try to get the screendimensions. (screen.width, screen.height)
http://de.selfhtml.org/javascript/objekte/screen.htm

then open a new window with the dimensions found
http://de.selfhtml.org/javascript/objekte/window.htm#open

a complete reference of javascript-objects:
http://de.selfhtml.org/javascript/objekte/index.htm
0
 
LVL 4

Expert Comment

by:kolpdc
ID: 11771496
<script type="text/javascript">
<!--
   var x = screen.width;
   var y = screen.height;

   W1 = window.open("datei.htm", "Window1", "width="+x+", height="+y+", left=0, top=0");
//-->
</script>
0
 
LVL 15

Expert Comment

by:Thogek
ID: 11774946
If you're attempting this within the Start Menu's "Run..." dialog....

I tried this just now (on Windows 2000 Server box), and it doesn't appear to be executing the JavaScript code at all.  It simply pops a new browser window with the full JavaScript code I entered as the path in the Address Bar -- suggesting that it is interpreting this code not as code, but as a file path, which it then tries to find and open.  So the screen.availWidth and such are not being interpreted at all.  (You may be seeing something different on your machine?)

It doesn't appear that the "Run..." dialog has any understanding of a "JavaScript:" protocol, and so is not interpreting it.  And if it did, it is unlikely to know what a window object is, since that is an element of the Web browser document object model, and not of JavaScript itself.  (Additionally, your syntax for calling that window.open method doesn't look right.)  So I'm not sure that you'd be able to get this to do what you're looking for.

Why exactly do you need such a functionality from the "Run..." dialog, anyway?
0
Create Professional Looking Email Signatures

Create "Professional HTML Email Signatures" with ease.
7 Day Money Back Guarantee if not 100% Satisfied.
Affordable - Try it out for 7 Days Totally Risk Free.
Installers provided for over 45 Email clients.
Both Windows & MAC Supported.
Highly Recommended!

 

Author Comment

by:robrodp
ID: 11775395
All my ie windows open small no matterthe size of the last window I closed, no matter if I press shift or ctrl or no matter what I do for that matter, I always get a small window. I wantmy windows to open fullsize.

I addressed this matter before and the javascript option was suggested.

Should I reisntall ie? I will but I am sure the problem withh come up again.

robrodp
0
 
LVL 15

Accepted Solution

by:
Thogek earned 500 total points
ID: 11775691
Here's something you can try....

If you have a standard shortcut -- whether on the desktop, on the taskbar, or on your Start Menu -- from which you usually start IE, right click on that shortcut and select "Properties".
In the Properties dialog box, select the "Shortcut" tab.
In the "Run" dropdown, select "Maximized" (or whatever you like).
Click "OK".
Then try using that shortcut to open IE.
0
 
LVL 4

Expert Comment

by:kolpdc
ID: 11781158
the javascript i provided does not work, too? Thogek did not understand you, i think. meant to put the js into a html-page as a scriptpart. datei.htm has to be changed to the file you wish to open.
0
 

Author Comment

by:robrodp
ID: 11970422
None of this has solved the problem. How do I close the question? Or what can I do?
0

Featured Post

RoboForm Secure Password Management System

RoboForm Everywhere - Superb Browser Support
Windows / Apple / IOS / Android / Linux / Chrome OS
Use different complex passwords everywhere
Best Secure Password Management by far
Synchronize all of your devices instantly
Safe, Secure & Highly Recommended!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question