以前总想增加Link,因为侧边总是不够长。现在……让他华丽地滚动吧
使用方法:
打开风格的elements.php文件,在随便一个
注:本法与有定义sideblock_link模块的模板冲突,最安全的办法还是使用官方插件
使用方法:
打开风格的elements.php文件,在随便一个
eot;
后添加$elements['sideblock_link']=<<<eot
<div class="panel">
<h5 onclick='showhidediv("sidebar_link");'>{title}</h5>
<div class="panel-content" id="sidebar_link" style="display: {ifextend}">
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=20 direction=up width="100%" height=150>{content}</MARQUEE>
</div>
</div>
eot;
<div class="panel">
<h5 onclick='showhidediv("sidebar_link");'>{title}</h5>
<div class="panel-content" id="sidebar_link" style="display: {ifextend}">
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=20 direction=up width="100%" height=150>{content}</MARQUEE>
</div>
</div>
eot;
注:本法与有定义sideblock_link模块的模板冲突,最安全的办法还是使用官方插件
This entry comes from 本站原创 and has been read for 3679 times.It is tagged with blog-diy.





0 Responses