When my DHTML is started, obviously (or not) it loads Microsoft Explorer.
Is there a way I can make sure Microsoft Explorer is maximized ?
Every time my program starts I have to maximize it manually.
Thanx in advance.
Printable View
When my DHTML is started, obviously (or not) it loads Microsoft Explorer.
Is there a way I can make sure Microsoft Explorer is maximized ?
Every time my program starts I have to maximize it manually.
Thanx in advance.
There's issues with the way IE starts up. It can be annoying.
OK ... but is it possible do you know ?
:confused: :confused: :confused: :confused: :confused:
Put this in your BODY tag:
Then add this inside the HEAD tag:Code:onload="Page_Initialize()"
It's not really maximized, but it has the same effect.Code:<SCRIPT LANGUAGE="JavaScript">
<!--
function Page_Initialize()
{
window.moveTo(0, 0);
window.resizeTo(screen.availWidth, screen.availHeight);
}
</SCRIPT>
Sorry to be dull, but where would I find those ?
I am using the DHTML designer, which gives me a screen on the right and a tree view of its components on the left.
I'm very new at this (as if you couldn't guess !), and I can't find the BODY TAG and the HEAD TAG.
Look at the HTML of your page. (You can do view source while it's displayed in IE)
On a side note, if your using an editor that doesn't allow you to see the raw HTML tags, your using the wrong editor.
Well thanks for that.
I looked at the source code whilst in IE, and amended it as you said.
Saving it seems to have no affect though as they all seem to be temporary files, and therefore change each time I go into this page !
I realize I am probably missing something fundamental, by my Internet skills are very limited at the moment, which is one of the reasons why I chose the DHTML editor that ships with VB, because I could knock up a screen and add some code to the controls.
Are you saying that this is not the way to go about things ?
Writing the page frmo scratch in HTML script is probably better I know, but I have no knowledge of this language (yet !).
I would say use InterDev. The only caveat with it is you have to install either IIS (for NT) or PWS (9x/ME) in order to use it. The good news is you can download PWS for free from MS. If you are running NT, chances are you already have IIS installed.
InterDev allows you to either hand code pages or create them using drag and drop. Best part for you is, you can create the pages using drag and drop, then switch over and see what the code looks like so you learn how to do it both ways. There will always be a time when you need to make a change to an attrbute of one of your tags to tweak your display and you just can't get that precise with the editor your using..
OK thats great.
Thanks very much for your help.