Drop Down List Action

P

pfldparkdistrict

I have a frameset website. The frameset is has nested left, right and top
frames. I want to add a drop down menu in my top frame to open a page in my
main frame, but i can only get the pages to appear in the top frame where the
drop down menu is situated.

How can i get it to open in the main frame?

Thanks in advance.
 
K

Kevin Spencer

I assume you're using JavaScript? If so, you need to specify the frame in
which the URL should be loaded. Example:

<select name="mySelect" size="1" onchange="window.parent.frameName.location
=this.options[this.selectedIndex].value">
<option>Pick One</option>
<option
value="http://www.takempis.com/default.asp">TAKempis.com</option>
</select>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
P

pfldparkdistrict

Is there a way to do this without using Javascript? I was under the
assumption that I would need to, but I would rather not have to. . .

Kevin Spencer said:
I assume you're using JavaScript? If so, you need to specify the frame in
which the URL should be loaded. Example:

<select name="mySelect" size="1" onchange="window.parent.frameName.location
=this.options[this.selectedIndex].value">
<option>Pick One</option>
<option
value="http://www.takempis.com/default.asp">TAKempis.com</option>
</select>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

pfldparkdistrict said:
I have a frameset website. The frameset is has nested left, right and top
frames. I want to add a drop down menu in my top frame to open a page in my
main frame, but i can only get the pages to appear in the top frame where the
drop down menu is situated.

How can i get it to open in the main frame?

Thanks in advance.
 
T

Thomas A. Rowe

You have to use JavaScript to use a drop down menu for hyperlinks

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


pfldparkdistrict said:
Is there a way to do this without using Javascript? I was under the
assumption that I would need to, but I would rather not have to. . .

Kevin Spencer said:
I assume you're using JavaScript? If so, you need to specify the frame in
which the URL should be loaded. Example:

<select name="mySelect" size="1" onchange="window.parent.frameName.location
=this.options[this.selectedIndex].value">
<option>Pick One</option>
<option
value="http://www.takempis.com/default.asp">TAKempis.com</option>
</select>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

pfldparkdistrict said:
I have a frameset website. The frameset is has nested left, right and top
frames. I want to add a drop down menu in my top frame to open a page in my
main frame, but i can only get the pages to appear in the top frame where the
drop down menu is situated.

How can i get it to open in the main frame?

Thanks in advance.
 
P

pfldparkdistrict

OK, thanks!

Thomas A. Rowe said:
You have to use JavaScript to use a drop down menu for hyperlinks

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


pfldparkdistrict said:
Is there a way to do this without using Javascript? I was under the
assumption that I would need to, but I would rather not have to. . .

Kevin Spencer said:
I assume you're using JavaScript? If so, you need to specify the frame in
which the URL should be loaded. Example:

<select name="mySelect" size="1" onchange="window.parent.frameName.location
=this.options[this.selectedIndex].value">
<option>Pick One</option>
<option
value="http://www.takempis.com/default.asp">TAKempis.com</option>
</select>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

message I have a frameset website. The frameset is has nested left, right and top
frames. I want to add a drop down menu in my top frame to open a page in
my
main frame, but i can only get the pages to appear in the top frame where
the
drop down menu is situated.

How can i get it to open in the main frame?

Thanks in advance.
 

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