473,320 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
==============================

Jul 19 '05 #1
1 2455
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)" <ba**********@hotmail.com> wrote in message
news:dA**********************@amsnews02.chello.com ...
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 set.
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 in "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 of 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%>" <ra*@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
message news:Oy**************@TK2MSFTNGP11.phx.gbl...
<A

href="default.asp?frame1=/dir/page.asp&frame2=/otherdir/page.asp">click</a>

default.asp:

<frame1 src="<%=Request.querystring("frame1")%>">
<frame2 src="<%=Request.querystring("frame2")%>">

Ray at home

"Bart Plessers (artabel)" <ba**********@hotmail.com> wrote in message
news:Zk**********************@amsnews02.chello.com ...
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
==============================



Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mac Davis | last post by:
I have an application that displays messages that are stored in SQL server The application uses frames In the vertical frame along the left side of the page, I enumerate the current messages. ...
1
by: Art | last post by:
I have an ASP page split up with three different frames. One of the frames takes long time to load (due to long running function) and the first two are loaded before the most important one - loaded...
3
by: Jamal | last post by:
Hi, I have been searching around for a way to ensure a page stays framed. Here's the catch. The user starts at a two-frame page with the Google directory in one frame. I want the user to be...
34
by: Charles Douglas Wehner | last post by:
This is a serious question - but probably one that has been asked many times before. Go to http://wehner.org It has FRAMES. Select ADDISON. The main page (to the right of the buttons) shows...
5
by: Erik Meyer | last post by:
Greetings, I was wondering how to open a framed pdf document correctly. We have a pdf file that is called in a framed document. When the person clicks on a link in our site to the pdf, the...
11
by: annie | last post by:
Hello all. I am writing an XSL stylesheet that automatically converts a page with frames to a noframes equivalent of this page, using tables. I can get the positioning of each frame write in the...
5
by: Dan | last post by:
We have a simple site. It's a frameset with two frames a left and a right. The left frame is essentially a list of records from a database (using a server-side repeater control). When you click...
1
by: Christopher | last post by:
Hello, I currently use session variables to store some basic values on an intranet site internally. However, sometimes those session values do not come through and other time sthey do yet the...
1
by: ksuralta | last post by:
Hi everyone, Hope somebody can help me with this. I have a framed window. -------------------------------- Frame 1 -------------------------------- | 2 | Frame 3
6
by: mcl | last post by:
I have a domain name which is set up for web forwarding with a frame. I have a link on one of the site's pages to an external site. When I select the link the external site is displayed correctly...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.