R
Rudi Ahlers
If I have a site layout, with a banner on top, menu on the left, and some
nice borders all around, and I want to change the content of the middle
cell, what is the best way of doing it?
As example:
<TABLE border=0 width=98%>
<tr colspan=3>
<td> Header stuff goed here </td>
</tr>
<tr>
<td> Menu stuff goes hers </td>
</tr>
<tr>
<td> Main website content goes here </td>
</tr>
</table>
Now, I have say default.asp, and the menu buttons would point to
default.asp?page=home / default.asp?page=contact / etc
How do I change the main website content?
I tried the following, but this doesn't seem to work:
<%
pagename = request.quesrystring("page")
select case pagename
case "home" iPage = "home.asp"
case "contact" iPage = "contact.asp"
end select
%>
<TABLE border=0 width=98%>
<tr colspan=3>
<td> Header stuff goed here </td>
</tr>
<tr>
<td> Menu stuff goes hers </td>
</tr>
<tr>
<td> <!--#include file=<%=iPage %<--> </td>
</tr>
</table>
response.write(iPage) displays home.asp if I have default.asp?page=home
any help on this would be greatly appreciated
--
Kind Regards
Rudi Ahlers
+27 (82) 926 1689
Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
nice borders all around, and I want to change the content of the middle
cell, what is the best way of doing it?
As example:
<TABLE border=0 width=98%>
<tr colspan=3>
<td> Header stuff goed here </td>
</tr>
<tr>
<td> Menu stuff goes hers </td>
</tr>
<tr>
<td> Main website content goes here </td>
</tr>
</table>
Now, I have say default.asp, and the menu buttons would point to
default.asp?page=home / default.asp?page=contact / etc
How do I change the main website content?
I tried the following, but this doesn't seem to work:
<%
pagename = request.quesrystring("page")
select case pagename
case "home" iPage = "home.asp"
case "contact" iPage = "contact.asp"
end select
%>
<TABLE border=0 width=98%>
<tr colspan=3>
<td> Header stuff goed here </td>
</tr>
<tr>
<td> Menu stuff goes hers </td>
</tr>
<tr>
<td> <!--#include file=<%=iPage %<--> </td>
</tr>
</table>
response.write(iPage) displays home.asp if I have default.asp?page=home
any help on this would be greatly appreciated
--
Kind Regards
Rudi Ahlers
+27 (82) 926 1689
Greater love has no one than this, that he lay down his life for his friends
(John 15:13).