Home  >  Article  >  Backend Development  >  怎么实现左侧的滚动条

怎么实现左侧的滚动条

WBOY
WBOYOriginal
2016-06-13 09:58:57986browse

如何实现左侧的滚动条?
把它作为一个block独立出来,但不固定高度,随页面的的大小而改变??

------解决方案--------------------
百度吧
------解决方案--------------------
用包含应该可以吧。 
属性你可以参考下参数。
------解决方案--------------------
那你就用JS控制吧
------解决方案--------------------
1. 请查看discuz后台的结构书写方法,把DTD降低,用table实现高度为100%。

2. 用JS获取浏览器高度,把值赋在左边节点的height上。



你提的问题属前端的问题跟PHP应该没有什么关系。
------解决方案--------------------
可以通过Javascript操作iframe来实现,动态判断页面的高度

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn