Connecting Tech Pros Worldwide Forums | Help | Site Map

framed page: possible to update more then one frame after asp-query ?

Bart Plessers \(artabel\)
Guest
 
Posts: n/a
#1: Jul 19 '05
Hello,

I am wondering if one could do following.

I have a main frame with 3 subframes ("top", "left" and "contents")
I have a link in the left frame, someting like:
<a href="test.asp?Mypath=/multimedia/images/">images</a>

When clicking the link in the left frame, the page "test.asp" is displayed
in the "contents" frame, with parameter MyPath displayed correctly

Now I also want to update the top-frame, so MyPath is displayed there too.

So my question is:
How can I update several frames in a framed page, by clicking just one link?

tia

bartp


--
==============================
Bart Plessers
Artabel
Schreursvest 67
3001 Leuven
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
web: http://www.artabel.com
==============================




Ray at
Guest
 
Posts: n/a
#2: Jul 19 '05

re: framed page: possible to update more then one frame after asp-query ?


So, you have frames in frames? Nice. That doesn't matter. Just use one
page for your frame layout, or keep it as two the way you have it. You can
still do the same thing. You'll just have to pass more paths in the
querystring.

Ray at work






"Bart Plessers (artabel)" <bartplessers@hotmail.com> wrote in message
news:dAzRa.452537$V9.34582279@amsnews02.chello.com ...[color=blue]
> thanx ray for quick reply.
>
>
> If I understand you correctly,
>
> the default.asp is a frame with two subframes,
> so the full html code of default.asp would be
>
> <frameset rows="100,*" cols="*" framespacing="0" frameborder="YES"
> border="10">
> <frame src="folder1/main_top.asp" name="mainFrame">
> <frame src="folder1/main_bottom.asp" name="bottomFrame" scrolling="NO"
> noresize>
> </frameset>
>
> where "folder1/main_top.asp" can be modified by use of querystrings.
> This of course can easily be done.
>
>
> But my problem is that the 2 frames are NOT both subframes of one frame[/color]
set.[color=blue]
>
> Here is my layout:
>
> MAINFRAME=
> -top (header)
> -contents (contains subframes LEFT and RIGHT, see below)
> -bottom (footer)
>
> CONTENTS=
> -left (list of links)
> -right (actually displaying contents of links)
>
> Now I have a link on "left"
> What I want to achieve is updating "TOP" and "RIGHT" by clicking on link[/color]
in[color=blue]
> "LEFT", but TOP is not of the same 'frame-level' as RIGHT
> In fact:
> TOP is frame of MAINFRAME and
> RIGHT is frame of CONTENTS wich is frame of MAINFRAME
>
>
> In your method, the only way is to update MAINFRAME with the querystrings[/color]
of[color=blue]
> LEFT, but then LEFT will be updated to (I don't want this because position
> of page view changes...)
>
>
> any other suggestions?
>
>
> tia
>
> bart
>
>
>
>
>
>
>
>
> --
> ==============================
> Bart Plessers
> Artabel
> Schreursvest 67
> 3001 Leuven
> BELGIUM
> tel: +32 (16) 23.40.85
> fax: +32 (16) 23.41.06
> web: http://www.artabel.com
> ==============================
>
> "Ray at <%=sLocation%>" <ray@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
> message news:OyproeFTDHA.1688@TK2MSFTNGP11.phx.gbl...[color=green]
> > <A
> >[/color]
>[/color]
href="default.asp?frame1=/dir/page.asp&frame2=/otherdir/page.asp">click</a>[color=blue][color=green]
> >
> > default.asp:
> >
> > <frame1 src="<%=Request.querystring("frame1")%>">
> > <frame2 src="<%=Request.querystring("frame2")%>">
> >
> > Ray at home
> >
> >
> >
> > "Bart Plessers (artabel)" <bartplessers@hotmail.com> wrote in message
> > news:ZkvRa.449287$V9.34192968@amsnews02.chello.com ...[color=darkred]
> > > Hello,
> > >
> > > I am wondering if one could do following.
> > >
> > > I have a main frame with 3 subframes ("top", "left" and "contents")
> > > I have a link in the left frame, someting like:
> > > <a href="test.asp?Mypath=/multimedia/images/">images</a>
> > >
> > > When clicking the link in the left frame, the page "test.asp" is[/color][/color]
> displayed[color=green][color=darkred]
> > > in the "contents" frame, with parameter MyPath displayed correctly
> > >
> > > Now I also want to update the top-frame, so MyPath is displayed there[/color][/color]
> too.[color=green][color=darkred]
> > >
> > > So my question is:
> > > How can I update several frames in a framed page, by clicking just one[/color]
> > link?[color=darkred]
> > >
> > > tia
> > >
> > > bartp
> > >
> > >
> > > --
> > > ==============================
> > > Bart Plessers
> > > Artabel
> > > Schreursvest 67
> > > 3001 Leuven
> > > BELGIUM
> > > tel: +32 (16) 23.40.85
> > > fax: +32 (16) 23.41.06
> > > web: http://www.artabel.com
> > > ==============================
> > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Closed Thread