ASP template page

本文介绍了一个包含HTML结构的模板网页设计,详细展示了如何通过不同的标签和脚本来构建页面布局,包括顶部菜单、左侧导航和主体内容区域等。此外,还介绍了如何定义页面级别的变量来控制各个部分的显示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<%...    'Tidus
    'PAGE DESC:
    '    This is template for etnl page which including HTML, not applicable for a control page.
    '
    'CREATED BY        :    Tidus
    'CREATED DATE    :    2007/01/28
    'CHANGE DATE    CHANGE BY    CHANGE REF.    CHANGE DESC
    '
    '
    '
    '
    '
%>


<!--#include file="include/ASP_BEGIN.asp"-->

<%...'DEFINE PAGE LEVEL VARIABLE
Page_Title                ="Blank Template Page"        'the title for the page
Page_ShowTopMenu        =true                        'Whether show Top Menu or not
Page_ShowLeftNav        =true                        'Whether show left Navigation or not
Page_ShowOfflineTool    =false                        'Whether show OfflineTool link at top right corner
Mod_ID                    ="00"                        'Indicate which Menu ID
Sub_Mod_ID                ="00"                        'Whether show OfflineTool link at top right corner
%>

<%... 'LANGUAGE FILE INCLUDE

%>



<!--#include file="include/HTML_HEAD_TAG.asp"-->
<body>
<div id="document">
<table cellpadding="0" cellspacing="0" border="0">
    
<!-- TOP BEGIN -->
    
<tr valign="top" >
        
<td colspan="2" id="footCell">    
            
<!--#include file="include/HTML_TOP.asp"-->
        
</td>    
    
</tr>
    
<!-- TOP END -->
    
    
<tr valign="top" >
        
<%... if Page_ShowLeftNav then %>
        
<!-- LEFT NAVIAGATION BEGIN -->
        
<td id="leftNav">
            
<!--#include file="include/SUB_MOD.asp"-->
        
</td>
        
<!-- LEFT NAVIAGATION END -->
        
<%... end if %>
        
        
<td id="main">
            
<div id="mainBody" class="content_01">
                
<!-- MAIN CONTENT BEGIN -->
                
<%...
                
'Before Main Content ASP Begin


                
'Before Main Content ASP End
                
%>

                
<!-- Before Java Script Begin-->
                
<script language="javascript">...
                
                
</script>
                
<!-- Before Java Script End -->


                
<!--Main Logic End Begin-->
                Main Content Put Here

                
                
<!-- Main Logic End -->

                
<%...
                
'After Main Content ASP Begin


                
'After Main Content ASP End
                
%>


                
<!-- After Java Script Begin-->
                
<script language="javascript">...
                
                
</script>
                
<!-- After Java Script End -->                

            
</div>
        
</td>
    
</tr>

    
<!-- FOOTER BEGIN-->
    
<tr valign="top" align="center">
        
<td colspan="2" id="footCell">
            
<!--#include file="include/Foot_Links.asp"-->
        
</td>
    
</tr>
    
<tr valign="top">
        
<td colspan="2" id="footCell">
        
<!--#include file="include/HTML_FOOT.asp"-->
        
</td>
    
</tr>
    
<!-- FOOTER END -->
</table>
</div>
</body>
</html>
<%...'END APS CODE IF ANY

%>
<!--#include file="include/ASP_END.asp"-->
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值