Linux——ELK(Elasticsearch + Logstash + Kibana) 搭建日志集中分析平台
2015-11-18 00:03
816 查看
html: <div id="scrolltop" style="left: 1433px; visibility: visible; float: right">
<span hidefocus="true">
<div class="scrolltop" id="scrolltop" title="return top" /><img src="{{ asset('bundles/mdpisusy/img/icon/top.png') }}"></div>
</span>
</div>
css: #scrolltop {
display: none;
position: fixed;
bottom: 10px;
right: 10px;
display: block;
cursor: pointer;
}
coffeescript:
$ ->
$(window).scroll ->
top = $(window).scrollTop()
if top > 200
$("#scrolltop").fadeIn()
else
$("#scrolltop").fadeOut()
$("#scrolltop").click ->
$("html,body").animate scrollTop: 0
$("#scrolltop").hide()
<span hidefocus="true">
<div class="scrolltop" id="scrolltop" title="return top" /><img src="{{ asset('bundles/mdpisusy/img/icon/top.png') }}"></div>
</span>
</div>
css: #scrolltop {
display: none;
position: fixed;
bottom: 10px;
right: 10px;
display: block;
cursor: pointer;
}
coffeescript:
$ ->
$(window).scroll ->
top = $(window).scrollTop()
if top > 200
$("#scrolltop").fadeIn()
else
$("#scrolltop").fadeOut()
$("#scrolltop").click ->
$("html,body").animate scrollTop: 0
$("#scrolltop").hide()
相关文章推荐
- MySQL入门完全指南及Linux系统下基本的安装教程
- 一本不错的Linux电子书,可百度搜《Linux就该这么学》。
- 如何在CentOS 7上修改主机名
- linux下的jdk环境变量配置
- linux core学习
- Linux下的分屏显示
- linux下忘记root密码解决方法
- linux中的setuid与seteuid
- Linux下使用LVM
- linux disk
- 1.1.1.3、CentOS
- Linux_文件系统、磁盘分区_RHEL7
- Centos安装smokeping教程
- Linux_LVM、RAID_RHEL7
- 利用scp 在linux之间传输文件
- kill命令---Linux学习笔记
- CentOS7执行ifconfig Command not found 未找到命
- linux系统目录结构
- CentOS 6 到 CentOS 7 的升级过程
- Linux常用命令大全