转自:http://blog.163.com/chenxin_789/blog/static/1074734220076341927160/
不好意思,不是经常来blog,今天既然来了,就分享我这两天的研究成果吧。
不知道大家用不用web迅雷的,他里面真的有好多技术的。
这次要说的是里面的一个css样式控制字符,
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/ExpandedBlockStart.gif)
![](/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/dot.gif)
![](/Images/OutliningIndicators/InBlock.gif)
![](/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](/Images/OutliningIndicators/ContractedSubBlock.gif)
![](https://www.cnblogs.com/Images/dot.gif)
![](/Images/OutliningIndicators/ExpandedSubBlockStart.gif)
![](/Images/OutliningIndicators/ContractedSubBlock.gif)
![](https://www.cnblogs.com/Images/dot.gif)
![](/Images/OutliningIndicators/ExpandedBlockEnd.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
大家可以拉过去测试看看的。你会发现神奇效果的
===========================================
个人感觉上页这种做法也有弊端...如果文字太长的话,用这种方法虽然外观上是隐藏了,但网页大小却变大了... 有利有弊。。有人可能会说用CSS做可以减轻服务器负担。。但如果网站页面大部份是文字标题的话,比如163之类的网站。那页面大小就不好说了- -