|
-
May 1st, 2001, 02:35 AM
#1
Thread Starter
Frenzied Member
This should be easy for someone ...
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.
-
May 1st, 2001, 06:38 AM
#2
Black Cat
There's issues with the way IE starts up. It can be annoying.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
May 1st, 2001, 08:04 AM
#3
Thread Starter
Frenzied Member
-
May 1st, 2001, 10:46 AM
#4
Frenzied Member
Put this in your BODY tag:
Code:
onload="Page_Initialize()"
Then add this inside the HEAD tag:
Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
function Page_Initialize()
{
window.moveTo(0, 0);
window.resizeTo(screen.availWidth, screen.availHeight);
}
</SCRIPT>
It's not really maximized, but it has the same effect.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 1st, 2001, 11:03 AM
#5
Thread Starter
Frenzied Member
I'm thick !
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.
-
May 1st, 2001, 11:08 AM
#6
Frenzied Member
Look at the HTML of your page. (You can do view source while it's displayed in IE)
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 1st, 2001, 11:09 AM
#7
Frenzied Member
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.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 2nd, 2001, 03:20 AM
#8
Thread Starter
Frenzied Member
Thanks for the help .....
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 !).
-
May 2nd, 2001, 11:24 AM
#9
Frenzied Member
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..
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 3rd, 2001, 02:55 AM
#10
Thread Starter
Frenzied Member
Thanks.
OK thats great.
Thanks very much for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|