查看文章 |
今天调整了一下我的网易博客首页的“浏览导航”,将原来“服务栏”里的“灌水区”和“交换链接”整合进导航栏里来。另外,在首页上增加了一个“日志分类”列表。网易博客一直没有提供首页呈现日志分类列表,自己做了一个,虽然在“日志”栏里就可以看到这些列表,但呈现在首页可以减少一次鼠标点击,对读者分类查找日志也会带来方便。如图: ![]()
具体方法,只是用html写一段链接代码,关键是怎么找到你自己的每个日志分类的静态地址,这些地址的格式为: http://***(博客ID).blog.163.com/blog/?clsId=(ID)&class= clsld可以在页面源文件里找到,例如我的“IT”分类对应的clsld是"_fks_R8CuaGlH71QBP0bSYwxppg==“。 注意,这个url只能在博客的预览状态下有效,登录之后系统会自动在url中插入一个edit,从而使得url的指向回到默认状态。不过这个方法本身就是为方便预览状态下的读者,所以还是值得一用的。同样的方法还可以用在网易博客的'好友'、'收藏'、'留言'、'评论'等页面里的分组。 我自己的整个代码是: <P align=center><FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_R8CuaGlH71QBP0bSYwxppg==&class=">IT</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_L7ym5DAQtPLqaWFsmzWMLw==&class=">测试</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_9pL5d2EBCR0NDRt0DSm57g==&class=">杂谈</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_uYFyMC3CUllw93gmRdZEGQ==&class=">心境</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_vTk0EqxbPzahKIEvJXoFoQ==&class=">社会</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_vetg6bnWB1aBSVImVdwTpg==&class=">生活</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_-HigyK2dPVmomgpzowFnZg==&class=">文学</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_3uICTh0YomUjvkewxPuggQ==&class=">科技</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/?clsId=_fks_znkKIxb-ObqCUH50-pcFrA==&class=">原部落日志</A> <FONT color=#c0c0c0>|</FONT> <A href="http://ae.ranchao.blog.163.com/blog/">更多日志</A> <FONT color=#c0c0c0>|</FONT></P> |
