|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Multiple redirection
<i><b>Originally posted by : Brian</b></i><br />I have completely confused myself and my code trying to accomplish the following:<br /><br />I have a page (Page 1) with an image (in frame called "main")<br /><br />If you click the image, you go to page 2 in frame "main" Page 2 has a form with a select box and submit button.<br /><br />Upon selecting an option an submitting I'd like to:<br />return page 1 to frame "main" and;<br />open up the url of the selected option in a new browser window.<br /><br />I've got a page 3 with ASP to direct to the selected URL based on the value of the option, but is there some way my form's "action" can open my page 3 in a new window to start with so my new url is thus in a new window.<br /><br />Also, how do I get the original window frame back to page 1??<br /><br /><form action="gotolink.asp" method="post" name="menu"><select name="options" size="2"><br /><option value="http:\someurl">link1 </select><br><br /><input type="submit" name="gotolink" value="Be Transported"></form> <br /><br />Totally lost - please help!<br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : sam</b></i><br />Brian,<br />I hope I understand your question.<br />In the someurl you should not specify the target frame. It will automatically open a new window.<br /><br /><br />------------<br />Brian at 2/16/2000 1:44:07 PM<br /><br />I have completely confused myself and my code trying to accomplish the following:<br /><br />I have a page (Page 1) with an image (in frame called "main")<br /><br />If you click the image, you go to page 2 in frame "main" Page 2 has a form with a select box and submit button.<br /><br />Upon selecting an option an submitting I'd like to:<br />return page 1 to frame "main" and;<br />open up the url of the selected option in a new browser window.<br /><br />I've got a page 3 with ASP to direct to the selected URL based on the value of the option, but is there some way my form's "action" can open my page 3 in a new window to start with so my new url is thus in a new window.<br /><br />Also, how do I get the original window frame back to page 1??<br /><br /><form action="gotolink.asp" method="post" name="menu"><select name="options" size="2"><br /><option value="http:\someurl">link1 </select><br><br /><input type="submit" name="gotolink" value="Be Transported"></form> <br /><br />Totally lost - please help!<br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Multiple redirection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|