|
 |
asp_web_howto thread: Unable to resolve Frameset problems, help needed
Message #1 by "Praveen" <praveenvvn@y...> on Mon, 15 Apr 2002 14:25:31
|
|
Hi, i gotta frameset with two frames (bottom and top)each loading
different asp files contained in an asp file say main.asp. There's a
default.asp page which intially redirects to the main.asp. IN one of the
frameset asp page (top.asp) i'm redirecting the page to the default.asp.
The problem that occurs here is, the bottom portion (frameset-bottom.asp)
doesn't get refreshed and the default.asp is loaded in the top frame from
where i have an href to default.asp.
If i give target="bottom" then the topframe is not refreshed. If i give
target="parent" then a new browser is opened. I basically need to display
in the same browser.
Please help me out from this situation. How can i get to the default.asp
and can solve this problem.
Code:
index.asp (default.asp as i mentioned in the message)
---------
...
<html>
<%
....
%>
...
</html>
main.asp
-------
...
<frameset framespacing="0" border="false" frameborder="0" rows="115,*">
<frame name="top" src="top.asp">
<frame name="bottom" src="bottom.asp"
...
Top.asp
-------
...
<a href="index.asp"><b>Log Out</b></a>
...
Thanks for replies...
Message #2 by Oleg Kapeljushnik <c-oleg.kapeljushnik@w...> on Mon, 15 Apr 2002 09:36:51 -0400
|
|
Show us you Frameset file.
I think you target id different from what you defined in you frameset file.
It should be the same otherwise it opens a new window.
Oleg.
-----Original Message-----
From: Praveen [mailto:praveenvvn@y...]
Sent: April 15, 2002 2:26 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Unable to resolve Frameset problems, help
needed
Hi, i gotta frameset with two frames (bottom and top)each loading
different asp files contained in an asp file say main.asp. There's a
default.asp page which intially redirects to the main.asp. IN one of the
frameset asp page (top.asp) i'm redirecting the page to the default.asp.
The problem that occurs here is, the bottom portion (frameset-bottom.asp)
doesn't get refreshed and the default.asp is loaded in the top frame from
where i have an href to default.asp.
If i give target="bottom" then the topframe is not refreshed. If i give
target="parent" then a new browser is opened. I basically need to display
in the same browser.
Please help me out from this situation. How can i get to the default.asp
and can solve this problem.
Code:
index.asp (default.asp as i mentioned in the message)
---------
...
<html>
<%
....
%>
...
</html>
main.asp
-------
...
<frameset framespacing="0" border="false" frameborder="0" rows="115,*">
<frame name="top" src="top.asp">
<frame name="bottom" src="bottom.asp"
...
Top.asp
-------
...
<a href="index.asp"><b>Log Out</b></a>
...
Thanks for replies...
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
Message #3 by "Praveen" <praveenvvn@y...> on Mon, 15 Apr 2002 19:12:11 +0530
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0024_01C1E4B1.71E8C8B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hi i've enlcosed the frameset file and the asp page from where i need to
navigate, here the file where i'm going to doesn't have any
frames....that's the reson why i've not included any target like top or
bottom or parent
Here is the frameset file, its called main.asp
---------------------------------------------------------------
<html>
<head>
<title>MphasiS Attendance system</title>
</head>
<frameset framespacing=3D"0" border=3D"false" frameborder=3D"0"
rows=3D"115,*">
<frame name=3D"top" scrolling=3D"no" src=3D"top.asp" marginwidth=3D"0"
marginheight=3D"0" noresize>
<frame name=3D"bottom" src=3D"bottom.asp" scrolling=3D"auto"
marginwidth=3D"0" marginheight=3D"0" noresize>
<noframes>
<body topmargin=3D"0" leftmargin=3D"0">
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
this is the top.asp
------------------
<html>
<body bgcolor=3D"#F1C4BE" topmargin=3D"0" leftmargin=3D"0">
<img alt=3D"HR Domain" height=3D"78" src=3D"Images/HRmenubar.jpg"
width=3D"622"> <br>
<a href=3D"add/adduserusr.asp" target=3D"bottom">
<img alt=3D"Add/Modify your Details" border=3D"0" height=3D"22"
src=3D"Images/linkbtn_usrdetls.jpg" width=3D"81"></a>
<a href=3D"index.asp"><b>Log Out</b></a>
<!--haven't given any target, if i give top then refreshed only in top,
if i give parent, new browseropens otherwise if i give bottom, only
bottom frame refreshes-->
</body>
</html>
and the bottom.asp and the index.asp. The default screen is the
index.asp. I need to get back to index.asp once i click Log Out from the
top.asp file.
Awaiting your reply...
Praveen.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Message #4 by Oleg Kapeljushnik <c-oleg.kapeljushnik@w...> on Mon, 15 Apr 2002 10:09:43 -0400
|
|
This is a multi-part message in MIME format.
--Boundary_(ID_Ju4KbUMiiUy3BQllK4vneA)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
I added
target="bottom" and it was working fine, It didn't open a new window but in
bottom frame.
I would suggest you to use a little bit different name cause top and bottom
may be used in some other place in JavaScript.
Like MyBottom instead of bottom.
Oleg.
----Original Message-----
From: Praveen [mailto:praveenvvn@y...]
Sent: April 15, 2002 9:42 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Unable to resolve Frameset problems, help
needed
hi i've enlcosed the frameset file and the asp page from where i need to
navigate, here the file where i'm going to doesn't have any frames....that's
the reson why i've not included any target like top or bottom or parent
Here is the frameset file, its called main.asp
---------------------------------------------------------------
<html>
<head>
<title>MphasiS Attendance system</title>
</head>
<frameset framespacing="0" border="false" frameborder="0" rows="115,*">
<frame name="top" scrolling="no" src="top.asp" marginwidth="0"
marginheight="0" noresize>
<frame name="bottom" src="bottom.asp" scrolling="auto" marginwidth="0"
marginheight="0" noresize>
<noframes>
<body topmargin="0" leftmargin="0">
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
this is the top.asp
------------------
<html>
<body bgcolor="#F1C4BE" topmargin="0" leftmargin="0">
<img alt="HR Domain" height="78" src="Images/HRmenubar.jpg" width="622">
<br>
<a href="add/adduserusr.asp" target="bottom">
<img alt="Add/Modify your Details" border="0" height="22"
src="Images/linkbtn_usrdetls.jpg" width="81"></a>
<a href="index.asp"><b>Log Out</b></a>
<!--haven't given any target, if i give top then refreshed only in top, if
i give parent, new browseropens otherwise if i give bottom, only bottom
frame refreshes-->
</body>
</html>
and the bottom.asp and the index.asp. The default screen is the index.asp.
I need to get back to index.asp once i click Log Out from the top.asp file.
Awaiting your reply...
Praveen.
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 ---
|
|
 |