Hi,

I've got a simple frame structure with a menu on the left and contents on
the right. Now when a user clicks a menu item (on the top level menu) the
menu.asp is reloaded with additional parameters to display the child-menu
items. When doing this, I'd like to clear the contents frame (call a certain
page to be loaded in this frame). Is there a way of doing it?

Thanks in advance,

Matthias

Re: Updating multiple frames by Ray

Ray
Mon Apr 12 14:53:06 CDT 2004

This depends on how you do things. You can point all your menu links to one
asp page with a target=_top and have that asp page reload both of your
framed pages, or you can use client-side code to reload the content frame.

What a link may look like for method 1:

<a
href="default.asp?frame1=menu.asp&menuinfo=yourParams&frame2=contents.asp"
target="_top">Click me</a>

What a link may look like for method 2:

<a href="menu.asp?menuinfo=yourParams"
onclick="this.parent.nameOfContentFrame.location.href='contents.asp';">Click
me</a>

Ray at work

"emvoid" <info@emvoid.de> wrote in message
news:%23bAFrKMIEHA.308@tk2msftngp13.phx.gbl...
> Hi,
>
> I've got a simple frame structure with a menu on the left and contents on
> the right. Now when a user clicks a menu item (on the top level menu) the
> menu.asp is reloaded with additional parameters to display the child-menu
> items. When doing this, I'd like to clear the contents frame (call a
certain
> page to be loaded in this frame). Is there a way of doing it?
>
> Thanks in advance,
>
> Matthias
>
>
>



Re: Updating multiple frames by emvoid

emvoid
Mon Apr 12 15:02:16 CDT 2004

Ray, you made my day (or actually night), thanks a lot.

Matthias
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> schrieb im
Newsbeitrag news:#jZ7GfMIEHA.2676@TK2MSFTNGP10.phx.gbl...
> This depends on how you do things. You can point all your menu links to
one
> asp page with a target=_top and have that asp page reload both of your
> framed pages, or you can use client-side code to reload the content frame.
>
> What a link may look like for method 1:
>
> <a
> href="default.asp?frame1=menu.asp&menuinfo=yourParams&frame2=contents.asp"
> target="_top">Click me</a>
>
> What a link may look like for method 2:
>
> <a href="menu.asp?menuinfo=yourParams"
>
onclick="this.parent.nameOfContentFrame.location.href='contents.asp';">Click
> me</a>
>
> Ray at work
>
> "emvoid" <info@emvoid.de> wrote in message
> news:%23bAFrKMIEHA.308@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I've got a simple frame structure with a menu on the left and contents
on
> > the right. Now when a user clicks a menu item (on the top level menu)
the
> > menu.asp is reloaded with additional parameters to display the
child-menu
> > items. When doing this, I'd like to clear the contents frame (call a
> certain
> > page to be loaded in this frame). Is there a way of doing it?
> >
> > Thanks in advance,
> >
> > Matthias
> >
> >
> >
>
>



Re: Updating multiple frames by Ray

Ray
Mon Apr 12 15:14:20 CDT 2004

Cool. :]

Ray at work

"emvoid" <info@emvoid.de> wrote in message
news:OKhHwjMIEHA.3772@TK2MSFTNGP12.phx.gbl...
> Ray, you made my day (or actually night), thanks a lot.
>
> Matthias