| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 512 人关注过本帖
标题:隐藏导航栏问题
只看楼主 加入收藏
skating
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2009-5-13
结帖率:83.33%
收藏
已结贴  问题点数:10 回复次数:1 
隐藏导航栏问题
小弟正在做一个系统,其实也不会编程,找了个模板,其中隐藏导航栏的复制过来之后不能实现,希望大家指教一二,谢谢!!1




<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Middle.aspx.vb" Inherits="Middle" %>
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
-->
</style>
<style>
.navPoint {
COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt
}
</style>
<script>
function switchSysBar(){
var locate=location.href.replace('middel.aspx','');
var ssrc=document.all("img1").src.replace(locate,'');
if (ssrc=="images/main_55.gif")
{
document.all("img1").src="images/main_55_1.gif";
document.all("frmTitle").style.display="none"
}
else
{
document.all("img1").src="images/main_55.gif";
document.all("frmTitle").style.display=""
}
}
</script>
 
</head>
 
<body style="overflow:hidden">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;">
  <tr>
    <td width="171" id=frmTitle noWrap name="fmTitle" align="center" valign="top"><table width="171" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;">
      <tr>
        <td  bgcolor="#1873aa" style="width:6px;">&nbsp;</td>
        <td width="165"><iframe name="I1" height="100%" width="165" src="left.aspx" border="0" frameborder="0" scrolling="no"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
      </tr>
    </table>        </td>
    <td width="6"  style="width:6px;"valign="middle" bgcolor="1873aa" onclick=switchSysBar()><SPAN class=navPoint
id=switchPoint title=关闭/打开左栏><img src="images/main_55.gif" name="img1" width=6 height=40 id=img1></SPAN></td>
    <td width="100%" align="center" valign="top"><iframe name="I2" height="100%" width="100%" border="0" frameborder="0" src="right.aspx"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
  </tr>
</table>
</body>
</html>
搜索更多相关主题的帖子: 导航 html content false title 
2012-03-23 23:38
tongxin720
Rank: 2
等 级:论坛游民
帖 子:3
专家分:11
注 册:2012-3-12
收藏
得分:10 
呵呵
2012-03-28 09:19
快速回复:隐藏导航栏问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015458 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved