Help&Manual导出html的时候如何隐藏左边的Content?

donkey301 2011-08-30 10:04:04
借人气问一个与C无关的问题,
用help&manual导出webhelp时,左边的导航栏也就是content,如何隐藏?
现在的结果如下
...全文
142 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
xunxun 2011-08-31
  • 打赏
  • 举报
回复
Firefox隐藏侧边栏?

不知道是啥
donkey301 2011-08-31
  • 打赏
  • 举报
回复
解决了,还是我太粗心了,上面代码里有两个地方30%,*,其中一个被注释了,但真正起作用的就是被注释掉的。
二进制浮游 2011-08-30
  • 打赏
  • 举报
回复
帮顶。。
luciferisnotsatan 2011-08-30
  • 打赏
  • 举报
回复
没用过,不清楚
至善者善之敌 2011-08-30
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 donkey301 的回复:]
引用 5 楼 xubin_sh 的回复:

既然是html,你直接改源代码吧,里面应该是个frame,你修改一下<frameset>的cols="0,100%"

试过,但不知为何不行,
HTML的源码如下,我修改了cols="30%,*"为"0,100%"依然如此。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"……
[/Quote]

那就估计是没改对,你问我哪没改对,我也不清楚!
donkey301 2011-08-30
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 xubin_sh 的回复:]

既然是html,你直接改源代码吧,里面应该是个frame,你修改一下<frameset>的cols="0,100%"
[/Quote]
试过,但不知为何不行,
HTML的源码如下,我修改了cols="30%,*"为"0,100%"依然如此。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<!-- This line forces IE8 into IE7 mode, safer until IE8 is better known -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<script type="text/javascript" src="newproject_navigation.js"></script>
<script type="text/javascript">
<!--
var defaulttopic="introduction.htm";
if (location.href.lastIndexOf("?") > 0) defaulttopic=location.href.substring(location.href.lastIndexOf("?")+1,location.href.length).replace(/:/g,"");
document.write('<frameset cols="30%,*" frameborder="1" framespacing="1">');
if (document.getElementById) {
document.write('<frame name="hmnavigation" src="newproject_content_dyn.html" title="Navigation frame">'); }
else {
document.write('<frame name="hmnavigation" src="newproject_content_static.html" title="Navigation frame">'); }
document.write('<frame name="hmcontent" src="' + defaulttopic + '" title="Content frame">');
document.write('</frameset>');
//-->
</script>
</head>
<noscript>
<frameset cols="30%, *" frameborder="1" framespacing="1">
<frame name="hmnavigation" src="newproject_content_static.html" title="Navigation frame">
<frame name="hmcontent" src="introduction.htm" title="Content frame">
<noframes>
This page requires frames<br><a href="newproject_content_static.html">Click here to view the table of contents without frames</a>
</noframes>
</frameset>
</noscript>
</html>
xubin_sh 2011-08-30
  • 打赏
  • 举报
回复
既然是html,你直接改源代码吧,里面应该是个frame,你修改一下<frameset>的cols="0,100%"
donkey301 2011-08-30
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 ryan_332595319 的回复:]

想知道帖子怎么插入图片...
[/Quote]
图片上传到你的控件相册,然后在帖子里链接图片地址
仙度瑞城 2011-08-30
  • 打赏
  • 举报
回复
想知道帖子怎么插入图片...

64,642

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧