Frame and new window problem

G

Guest

-I have a web page with frames.
-My navigation menu orders a page to open in a specific frame
-the page opens in this frame
-on this page I have a link to a "pdf" file which should open in a new
window and NOTin that frame.
-I tried nearly everything but it will not open in a new window.

Any suggestions??
Many thanks in advance
 
T

Thomas A. Rowe

Right click on the link and set the frame target value to New Window (_blank).

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
G

Guest

Hi Thomas
I believe that confusion is taking over.
Please be as kind as to explain step by step - because I dont understand
what you mean with your answer.
Maybe I explained it not good enough.
Here the details:
The page which is opening correctly in the frame has a "option-box" for
different months so that the client can choose statements for each month.
This pdf files should open in a new window. Attached I send you the code from
my "option box":
Maybe you can help
<FORM NAME="mymenu">

<p align="center">

<SELECT NAME="page" size="1" class="red">
<OPTION VALUE=""><B>Select an Option</b>
<OPTION VALUE="http://www.bellfield-barna.com" Target="New
window(_blanc)">February 2005
<OPTION VALUE="next.html">March 2005
<OPTION VALUE="after.html">April 2005
<OPTION VALUE="after.html">May 2005
<OPTION VALUE="after.html">June 2005
<OPTION VALUE="after.html">July 2005
<OPTION VALUE="after.html">August 2005
<OPTION
VALUE="..\..\Customer_statements\43001000-6027\End-of-month statement
September 2005 'BIE 30 P'.pdf">September 2005
<OPTION VALUE="after.html">October 2005
<OPTION VALUE="after.html">November 2005
<OPTION VALUE="after.html">December 2005
<OPTION VALUE="after.html">January 2006
<OPTION VALUE="after.html">February 2006
</SELECT>

<A HREF="JavaScript: go();"
OnMouseOver="self.status='mouseover';return true"
OnMouseOut="self.status='';return true"><img src="../../Images/go.gif"
height="17" width="22"
Align="absmiddle" border=0 alt="Image" ></A></p>
</FORM>
 
T

Thomas A. Rowe

As far as I know, it is not possible to do what you want when using a Drop Down Menu, for a single
item within the menu, but can be done for all items in the menu.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
G

Guest

Thomas
Please tell me how I can do it for all items in the menu. It helps me as well.
I tried before and it's not working.
Thanks
Klaus
 
J

Jon Spivey

Hi,
Just make the select tag like this
<select
onchange="window.open(this.options[this.options.selectedIndex].value);">
<OPTION VALUE="">Select an Option</option>
<OPTION VALUE="http://www.bellfield-barna.com">February 2005</option>
....etc
 
G

Guest

Thank you very much

Jon Spivey said:
Hi,
Just make the select tag like this
<select
onchange="window.open(this.options[this.options.selectedIndex].value);">
<OPTION VALUE="">Select an Option</option>
<OPTION VALUE="http://www.bellfield-barna.com">February 2005</option>
....etc

--
Cheers,
Jon
Microsoft MVP


Amateur said:
Hi Thomas
I believe that confusion is taking over.
Please be as kind as to explain step by step - because I dont understand
what you mean with your answer.
Maybe I explained it not good enough.
Here the details:
The page which is opening correctly in the frame has a "option-box" for
different months so that the client can choose statements for each month.
This pdf files should open in a new window. Attached I send you the code
from
my "option box":
Maybe you can help
<FORM NAME="mymenu">

<p align="center">

<SELECT NAME="page" size="1" class="red">
<OPTION VALUE=""><B>Select an Option</b>
<OPTION VALUE="http://www.bellfield-barna.com" Target="New
window(_blanc)">February 2005
<OPTION VALUE="next.html">March 2005
<OPTION VALUE="after.html">April 2005
<OPTION VALUE="after.html">May 2005
<OPTION VALUE="after.html">June 2005
<OPTION VALUE="after.html">July 2005
<OPTION VALUE="after.html">August 2005
<OPTION
VALUE="..\..\Customer_statements\43001000-6027\End-of-month statement
September 2005 'BIE 30 P'.pdf">September 2005
<OPTION VALUE="after.html">October 2005
<OPTION VALUE="after.html">November 2005
<OPTION VALUE="after.html">December 2005
<OPTION VALUE="after.html">January 2006
<OPTION VALUE="after.html">February 2006
</SELECT>

<A HREF="JavaScript: go();"
OnMouseOver="self.status='mouseover';return true"
OnMouseOut="self.status='';return true"><img src="../../Images/go.gif"
height="17" width="22"
Align="absmiddle" border=0 alt="Image" ></A></p>
</FORM>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top