Hi,

I'm struggling to create a webpage with 3 frames
(contents, banner and main). In the contents frame I have
drop-down menus with different url's in them. My goal is
to have the url open in the main frame when its selected
from the menu (on change). I've found a script that opens
the url in a new window (javascript:window.open), but is
there a way to modify this to get the popup to open in
the main frame? Or should I go a whole new route?

Any help or advice is appreciated.

Thanks

Re: Using drop-down menus with frames by MD

MD
Sun Jul 18 06:45:22 CDT 2004

Hi Alex,

In the window.open script replace the window name parameter with the name of the main frame.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible

"Alex" <anonymous@discussions.microsoft.com> wrote in message news:2ee3501c46c71$9475d130$a401280a@phx.gbl...
> Hi,
>
> I'm struggling to create a webpage with 3 frames
> (contents, banner and main). In the contents frame I have
> drop-down menus with different url's in them. My goal is
> to have the url open in the main frame when its selected
> from the menu (on change). I've found a script that opens
> the url in a new window (javascript:window.open), but is
> there a way to modify this to get the popup to open in
> the main frame? Or should I go a whole new route?
>
> Any help or advice is appreciated.
>
> Thanks