At this point I havbe changed strategy and made the second "include"
as a framed page instead - whitout success...
Here comes the code:
3_medlem.asp (tabs_1.asp in previous post)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<tr>
<td width="15" background="images/background_light_blue.jpg"> </td>
<td colspan="15">
<%
subside = Request.Querystring("subside")
IF subside <> "" THEN
SELECT CASE subside
CASE 1
%><!--#include file="inc_medlem_1.asp"--></td><%
CASE 2
%><!--#include file="inc_medlem_2.asp"--></td><%
CASE 3
%><!--#include file="inc_medlem_3.asp"--></td><%
CASE 4
%><!--#include file="inc_medlem_4.asp"--></td><%
CASE 5
%><!--#include file="frames_guestbook.asp"--></td><%
END SELECT
ELSE
%><!--#include file="inc_medlem_1.asp"--></td><%
END IF
%>
<td width="15" background="images/background_light_blue.jpg"> </td>
</tr>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
frames_guestbook.asp (tabs_1_2.asp in previous post)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<frameset rows="26%,*" borders=false>
<frame name="top" src="inc_medlem_5.asp">
<frame name="bottom"
src="http://www.independentcommerce.com/Guestbook/Guestbook.asp?ID=xxxx">
</frameset>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
When viewing "frames_guestbook.asp" as it is, it shows what I want but
when viewing it as an include-file nothing shows. When looking at the
source from the web-browser, the right code is there...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<tr>
<td width="15" background="images/background_light_blue.jpg"> </td>
<td colspan="15">
<frameset rows="26%,*" borders=false>
<frame name="top" src="inc_medlem_5.asp">
<frame name="bottom"
src="http://www.independentcommerce.com/Guestbook/Guestbook.asp?ID=xxxx">
</frameset></td>
<td width="15" background="images/background_light_blue.jpg"> </td>
</tr>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.... but NOTHING SHOWS...
WHY???
Got a tip to make it into functions but since I'm kind of newbe in ASP
I dont think I would fix it.
IF anyone wants I can mail the entire code to him/her for
errorseeking.
/Stefan - Sweden
vo***@yahoo.se (Vojma) wrote in message news:<99**************************@posting.google. com>...
I have a problem
At my site I have designed a framework with tabs as below
(tabs_1.asp)
+----+ +------+ +-------+
| MC | | Cars | | Boats |
+ +-------------------------
then, into tabs_1.asp I include another page
(tabs_1_2.asp)
--------+ +--------------
| New | | Used | | Crasched |
+-----+ +------+ +----------+
Works fine so far... Here comes the problem...
The file tabs_1_2.asp has an included page (data.asp) witch doesnt
appear...
When I look at the sourcecode from the webbrowser it seems to have
been included but nothing is visible.
Is it inpossible to make several includes in the way I described?
/Stefan - Sweden