欢迎来到我的博客,这里关注汽车研发、Bo-blog博客、域名网站等专业内容!如果你喜欢我的博客,请将本站“加入收藏”,有空多来看看!

subtotal(Fn, 对象集)

Fn 为 1 到 11(包含隐藏值)或 101 到 111(忽略隐藏值)之间的数字,指定使用何种函数在列表中进行分类汇总计算。

我曾经在donews上申请了一个博客,是准备用来提高自己网站的Pagerank的。结果没多久,就废了。不知道为什么,一直显示错误。本想找对方的网管的,结果发现donews已经无人管理,想想也算了。

偶然的一次,我为了吴清忠先生的《人体使用手册》,偶尔注册了一个hexun的帐号。于是我决定把原来donews的博客分站移到hexun上来。

我的hexun博客的url是"http://8502733.blog.hexun.com/",标题是“该死的沪A牌照”,子标题是“全中国全世界最贵的一块小铁皮”。

但是hexun的blog也不是很爽,乱七八糟的模块太多。用过的朋友都知道。怎么办呢?

由于本人熟悉Javascript和CSS,既然你不让我修改Javascript(连Google Adsense都不能放,需要达到一定的经验级别),那我改CSS好了。

我们先打开我的hexun博客,分析源代码,可以看到如下的代码:

<div class='navi_bar_left'>
<div id='bar_01' class='all_bar'><a href='http://hexun.com/8502733/default.html' target='_parent'>个人门户</a></div>
<div id='bar_02' class='all_bar'><a href='http://8502733.blog.hexun.com' target='_parent' >博客</a></div>
<div id='bar_03' class='all_bar'><a href='http://8502733.photo.hexun.com' target='_parent'>相册</a></div>
<div id='bar_04' class='all_bar'><a href='http://8502733.music.hexun.com' target='_parent' >音乐</a></div>
<div id='bar_05' class='all_bar'><a href='http://bookmark.hexun.com/8502733/default.aspx' target='_parent'>网摘</a></div>
<div id='bar_06' class='all_bar'><a href='http://rss.hexun.com/8502733/default.aspx' target='_blank'>博揽</a></div>

<div id='bar_07' class='all_bar'><a href='http://mail.hexun.com' target='_blank'>邮局</a></div>
<div id='bar_08' class='all_bar'><a href='http://hexun.com/8502733/circle.html' target='_parent'>朋友圈</a></div>
<div id='bar_09' class='all_bar'><a href='http://hexun.com/8502733/friends.html' target='_parent'>好友</a></div>
<div id='bar_10' class='all_bar'><a href='http://hexun.com/8502733/messageboard.html' target='_parent'>留言板</a></div>
<!--<div id='bar_12' class='all_bar'><a href='http://stock.hexun.com/mystock/' target='_blank'>理财</a></div>-->
</div>


所以我们只要设置CSS,把class=navi_bar_left,将visibility设置为hidden就可以了。

具体操作可以打开里面的全局CSS,打开“http://shequ2.tool.hexun.com/8502733/my.css

#header #navi_bar .navi_bar_left { float: left; width: 720px; font-size: 14px; font-weight: bold; font-family: "宋体"; word-spacing: 12px; height: 28px; visibility:hidden}

这样的话,navi_bar_left下属的子元素全部visibility被设置为hidden。HTML代码再多,就是啥都不显示,嘿嘿。

所以我用这种方法,将我的hexun blog设置得比较清洁。只是不熟悉CSS代码的朋友,可能需要学习一下HTML和CSS。

Tags: , , , ,
分页: 1/3 第一页 1 2 3 下页 最后页 [ 显示模式: 摘要 | 列表 ]