Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Side Navigation Bar help (not that java on either)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fatwillie
New Member

Canada
79 Posts

Posted - 13 June 2001 :  03:16:45  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
I wish to make a side navigation bar on my site that will hold my normal menu.asp as an include file that the rest of my site calls.

Normally this would be an easy feat, at least I thought so when I tried to do it. It turns out I am an idiot at the moment and cannot figure it out.

I know it can be done and am hoping some kind soul might lead me in the right direction.

Any help is appreciated.

Fatwillie's Forum

redbrad0
Advanced Member

USA
3725 Posts

Posted - 13 June 2001 :  08:26:42  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
you would insert the include file in inc_top.asp file.

Brad
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 June 2001 :  18:27:46  Show Profile
I use even a table column or a <DIV position=..> tag for it on every page of the site. I create a page (just like a template) and start the new page design with it.

I do it this way because I want to support different menus (sub menus) on different pages.

Think Pink
Go to Top of Page

fatwillie
New Member

Canada
79 Posts

Posted - 14 June 2001 :  14:56:01  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
Could you give me some specifics here, I am kinda lost when it comes to include files, especially when it involve wading my way throught the forum code :(

Fatwillie's Forum
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 14 June 2001 :  18:11:43  Show Profile
Well, just illustration purposes:


<%@ LANGUAGE="VBSCRIPT" LCID="2057" %>
<!-- #include file="../resources/includes/inc_siteconfig.asp" -->

<html>

<head>
<title>İstanbul Müzesi - Darphane'de Sanal Gezi</title>
<meta http-equiv="Content-Type" content="text/html;" charset="ISO-8859-9">
<style type=text/css>
<!--
a:link {color:#003333;text-decoration:none}
a:visited {color:#333333;text-decoration:none}
a:hover {color:#006666;text-decoration:underline}
input.radio {background: #7AA3CB; color:#000000}
-->
</style>
<link rel="stylesheet" href="../resources/style/sitewide.css" type="text/css">
<link rel="stylesheet" href="../resources/style/menu.css" type="text/css">
<link rel="stylesheet" href="../resources/style/main.css" type="text/css">
</head>

<body>
<a name="topofthepage"></a>
<!-- START OF MAIN TABLE -->
<div id="BackLayer" style="position:absolute; width:<%=intMainWidth%>px; height:<%=intMainPageLength%>px; z-index:1; left: 0; top: 0">
<!-- START OF MENU -->
<div id="MenuLayer" style="position:absolute; width:<%=intMenuWidth%>px; height:<%=intMainPageLength%>px; z-index:2; left: 0; top: 0; background-color: <%=strMenuBGColor%>; layer-background-color: <%=strMenuBGColor%>">
<% blnIsLocalMenuProgram = false : blnIsLocalMenuData = false %>
<!--#include file="../resources/includes/inc_menu.asp" -->
</div>
<!-- END OF MENU -->

<!-- START OF CONTENTS -->
<div id="ContentsLayer" style="position:absolute; width:<%=intMainWidth - intMenuWidth%>px; height:<%=intMainPageLength%>px; z-index:2; left: 175; top: 0; background-color: <%=strMainBGColor%>; layer-background-color: <%=strMainBGColor%>">
<!-- START OF MIDDLE PART -->
<div id="MiddleLayer" style="position:absolute; width:<%=intMainWidth - intMenuWidth%>px; height:<%=intMainPageLength%>px; z-index:2; left: 0; top: 0; background-color: <%=strMainBGColor%>; layer-background-color: <%=strMainBGColor%>">

<table width="<%=intMainWidth - intMenuWidth%>">
<tr>
<td class="maintitle" colspan="2">DARPHANE-İ AMİRE</td>
</tr>

........... you see, here comes the contents :) .........

</table>
</div> <!-- MiddleLayer -->
<!-- END OF MIDDLE PART -->
</div> <!-- ContentsLayer -->
</div> <!-- BackLayer -->
<!-- END OF MAIN TABLE -->
<div id="BottomLayer" style="position:absolute; width:700px; height:0px; z-index:2; left: 0; top: <%=intMainPageLength%>; background-color: <%=strMainBGColor%>; layer-background-color: <%=strMainBGColor%>; border: 1px none #006666">
<!-- #include file="../resources/includes/inc_bottom.asp" -->
</div>


</body>
</html>


Think Pink
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 14 June 2001 :  18:28:05  Show Profile
A sightly different idea to put the forum into "templates" can be found in:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=4162&FORUM_ID=25&CAT_ID=17

See the post by Rob Poretti on 24 February 2001 : 10:49:14.

Think Pink
Go to Top of Page

fatwillie
New Member

Canada
79 Posts

Posted - 14 June 2001 :  20:55:45  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
That code makes no sense to me and the link is for some search engine MOD. Can anybody else help me?



Fatwillie's Forum
Go to Top of Page

fatwillie
New Member

Canada
79 Posts

Posted - 20 June 2001 :  02:03:45  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
Anybody?

Fatwillie's Forum
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.79 seconds. Powered By: Snitz Forums 2000 Version 3.4.07