|
 |
asp_web_howto thread: Menu On Left, Selected URL On Right
Message #1 by rg1@h... on Thu, 21 Jun 2001 22:35:38
|
|
Hi.
Could somebody please point me where to find some code example of how to
have a menu on the left 20% of the page and then when the user selects one
of the items in the menu, the remaining 80% of the page will display the
URL for the selected item.
I do not want to use frames and was told to use tables but have no idea
how to get the following code to display in the 80% part of the table:
document.provider.action = "terminatebuild.asp";
document.provider.submit();
I want "terminatebuild.asp" to appear in the 80% and still have the menu
visible in the first 20%.
TIA.
Rita
Message #2 by ssteward@a... on Thu, 21 Jun 2001 16:42:21 -0500
|
|
if you don't use frames, you'll have to reload the whole page, but you
can
build the same navigation bar in the left 20% of your page. just use
an
.inc file to make your navigation bar and include that in each page...
-----Original Message-----
From: rg1@h... [mailto:rg1@h...]
Sent: Thursday, June 21, 2001 5:36 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Menu On Left, Selected URL On Right
Hi.
Could somebody please point me where to find some code example of how
to
have a menu on the left 20% of the page and then when the user selects
one
of the items in the menu, the remaining 80% of the page will display
the
URL for the selected item.
I do not want to use frames and was told to use tables but have no idea
how to get the following code to display in the 80% part of the table:
document.provider.action =3D "terminatebuild.asp";
document.provider.submit();=09
I want "terminatebuild.asp" to appear in the 80% and still have the
menu
visible in the first 20%.
TIA.
Rita
Message #3 by "Parham, Barry" <bparham@n...> on Thu, 21 Jun 2001 16:45:17 -0500
|
|
Try using a DIV, SPAN, IFRAME, etc. on the right, and when
the menu events fire, change the object.innerHTML or object. innerTEXT
in the right-side container.
> ~~~~~~~~~~~~
> Barry Parham
> www.the-diaTribe.com
>
-----Original Message-----
From: rg1@h... [mailto:rg1@h...]
Sent: Thursday, June 21, 2001 6:36 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Menu On Left, Selected URL On Right
Hi.
Could somebody please point me where to find some code example of how
to
have a menu on the left 20% of the page and then when the user selects
one
of the items in the menu, the remaining 80% of the page will display
the
URL for the selected item.
I do not want to use frames and was told to use tables but have no idea
how to get the following code to display in the 80% part of the table:
document.provider.action =3D "terminatebuild.asp";
document.provider.submit();=09
I want "terminatebuild.asp" to appear in the 80% and still have the
menu
visible in the first 20%.
TIA.
Rita
Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 22 Jun 2001 09:24:07 +0100
|
|
if you don't want to use frames then what you need to do is include the
code
that makes the menu in each page, as an include file.
for example
<TABLE>
<TR>
<TD WIDTH=3D"20%">
<!-- #include file=3D"menu.asp" -->
</TD>
<TD WIDTH=3D"80%">
<%
'ASP code here
%>
</TD>
</TR>
</TABLE>
-----Original Message-----
From: rg1@h... [mailto:rg1@h...]
Sent: 21 June 2001 23:36
To: ASP Web HowTo
Subject: [asp_web_howto] Menu On Left, Selected URL On Right
Hi.
Could somebody please point me where to find some code example of how
to
have a menu on the left 20% of the page and then when the user selects
one
of the items in the menu, the remaining 80% of the page will display
the
URL for the selected item.
I do not want to use frames and was told to use tables but have no idea
how to get the following code to display in the 80% part of the table:
document.provider.action =3D "terminatebuild.asp";
document.provider.submit();=09
I want "terminatebuild.asp" to appear in the 80% and still have the
menu
visible in the first 20%.
TIA.
Rita
________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com
Message #5 by Rita Greenberg <rg1@h...> on Fri, 22 Jun 2001 07:30:36 -0700
|
|
Terrific. With the include file it's not so clumsy.
Thanks, Rita.
-----Original Message-----
From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]
Sent: Friday, June 22, 2001 1:24 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Menu On Left, Selected URL On Right
if you don't want to use frames then what you need to do is include the
code
that makes the menu in each page, as an include file.
for example
<TABLE>
<TR>
<TD WIDTH=3D"20%">
<!-- #include file=3D"menu.asp" -->
</TD>
<TD WIDTH=3D"80%">
<%
'ASP code here
%>
</TD>
</TR>
</TABLE>
Message #6 by Rita Greenberg <rg1@h...> on Fri, 22 Jun 2001 08:45:00 -0700
|
|
Hi.
Thanks for your response. That's exactly what Alex suggested.
Rita
-----Original Message-----
From: ssteward@a... [mailto:ssteward@a...]
Sent: Thursday, June 21, 2001 2:42 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Menu On Left, Selected URL On Right
if you don't use frames, you'll have to reload the whole page, but you
can
build the same navigation bar in the left 20% of your page. just use
an
.inc file to make your navigation bar and include that in each page...
-----Original Message-----
From: rg1@h... [mailto:rg1@h...]
Sent: Thursday, June 21, 2001 5:36 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Menu On Left, Selected URL On Right
Hi.
Could somebody please point me where to find some code example of how
to
have a menu on the left 20% of the page and then when the user selects
one
of the items in the menu, the remaining 80% of the page will display
the
URL for the selected item.
I do not want to use frames and was told to use tables but have no idea
how to get the following code to display in the 80% part of the table:
document.provider.action =3D "terminatebuild.asp";
document.provider.submit();=09
I want "terminatebuild.asp" to appear in the 80% and still have the
menu
visible in the first 20%.
TIA.
Rita
Message #7 by Rita Greenberg <rg1@h...> on Fri, 22 Jun 2001 08:36:04 -0700
|
|
Hi Barry.
Thanks for your response. I can't use IFRAME because it works woth
FRAME.
I played around with innerHTML and innerText but stopped when I
realized
that I'd be replacing the innerHTML/TEXT with a URL and didn't think
that
that would work.
Rita
-----Original Message-----
From: Parham, Barry [mailto:bparham@n...]
Sent: Thursday, June 21, 2001 2:45 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Menu On Left, Selected URL On Right
Try using a DIV, SPAN, IFRAME, etc. on the right, and when
the menu events fire, change the object.innerHTML or object. innerTEXT
in the right-side container.
> ~~~~~~~~~~~~
> Barry Parham
> www.the-diaTribe.com
>
-----Original Message-----
From: rg1@h... [mailto:rg1@h...]
Sent: Thursday, June 21, 2001 6:36 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Menu On Left, Selected URL On Right
Hi.
Could somebody please point me where to find some code example of how
=3D
to=3D20
have a menu on the left 20% of the page and then when the user selects
=3D
one=3D20
of the items in the menu, the remaining 80% of the page will display
=3D
the=3D20
URL for the selected item.
I do not want to use frames and was told to use tables but have no idea
=3D
how to get the following code to display in the 80% part of the table:
document.provider.action =3D3D "terminatebuild.asp";
document.provider.submit();=3D09
I want "terminatebuild.asp" to appear in the 80% and still have the =3D
menu=3D20
visible in the first 20%.
TIA.
Rita
|
|
 |