M
Mal Ice
I am creating an initial index.htm page on which I show some disclaimers and
introduction information.
In the head section I have Javascript which determines the screen resolution of
the client. I assign values to two variables to assign the width and height.
(my_width and my_height).
I have a Form button which is clicked on agreeing to the disclaimers. On
clicking the form button I want to direct the user (open a new window) to a
specific URL (sub-directory) in which I have specific files for use with a
screen resolution.
The form button works OK with the following in the <body> :
</div>
<FORM>
<div align="center">
<input name="Agree" type="button" id="Continue" onFocus="this.blur()"
onClick="NewWindow('640x480/redirect.htm','New','640','480','no','center');return
false" value="I Agree">
</div>
</FORM></td>
How do I use the variables my_width and my_height to automatically load the
appropriate redirect.htm in the correct direct name ('640x480' or '800x600'
etc)?
Thanks.
Mal
Remove x- for correct email addy
introduction information.
In the head section I have Javascript which determines the screen resolution of
the client. I assign values to two variables to assign the width and height.
(my_width and my_height).
I have a Form button which is clicked on agreeing to the disclaimers. On
clicking the form button I want to direct the user (open a new window) to a
specific URL (sub-directory) in which I have specific files for use with a
screen resolution.
The form button works OK with the following in the <body> :
</div>
<FORM>
<div align="center">
<input name="Agree" type="button" id="Continue" onFocus="this.blur()"
onClick="NewWindow('640x480/redirect.htm','New','640','480','no','center');return
false" value="I Agree">
</div>
</FORM></td>
How do I use the variables my_width and my_height to automatically load the
appropriate redirect.htm in the correct direct name ('640x480' or '800x600'
etc)?
Thanks.
Mal
Remove x- for correct email addy