My boss wrote this code. It creates
a button and a pulldown. The pulldown sets
a value and the button sends you to fruits.asp.
<form method="POST" action="fruits.asp">
<p align="left">
<select name="AccessType">
<option value="A" selected> apple </option>
<option value="G">grape</option>
<option value="C">cherry</option>
</select>
<input type="submit" value="GO" name="Submit" tabindex="2"></p>
</form>
When the user reaches fruits.asp, they
immediately go to another page. The code
on fruits.asp looks like this:
Select Case AccessType
Case "A"
response.redirect "apple.asp"
Case "G"
response.redirect "grape.asp"
Case "C"
response.redirect "cherry.asp"
End Select
I have this code, which opens a new window
without all of the normal IE features.
<a href=" onClick="window.open(' 'myWin',
'width=800, height=600,left=0,top=0');
return false"
>the link text</a>
How do I combine these two concepts, so that we
have his pulldown/button, but the new window opens
with my special characteristics? I am not sure
whether to add my code to the first page or the second
page. I have a feeling that I just need to use "window.open...
...top=0')" and not the whole thing.
a button and a pulldown. The pulldown sets
a value and the button sends you to fruits.asp.
<form method="POST" action="fruits.asp">
<p align="left">
<select name="AccessType">
<option value="A" selected> apple </option>
<option value="G">grape</option>
<option value="C">cherry</option>
</select>
<input type="submit" value="GO" name="Submit" tabindex="2"></p>
</form>
When the user reaches fruits.asp, they
immediately go to another page. The code
on fruits.asp looks like this:
Select Case AccessType
Case "A"
response.redirect "apple.asp"
Case "G"
response.redirect "grape.asp"
Case "C"
response.redirect "cherry.asp"
End Select
I have this code, which opens a new window
without all of the normal IE features.
<a href=" onClick="window.open(' 'myWin',
'width=800, height=600,left=0,top=0');
return false"
>the link text</a>
How do I combine these two concepts, so that we
have his pulldown/button, but the new window opens
with my special characteristics? I am not sure
whether to add my code to the first page or the second
page. I have a feeling that I just need to use "window.open...
...top=0')" and not the whole thing.