Cleaned up old css and javascript
这个提交包含在:
父节点
e35c7671ac
当前提交
b78259313a
共有 4 个文件被更改,包括 0 次插入 和 117 次删除
|
|
@ -1,36 +1,3 @@
|
|||
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(".qsobox").fancybox({
|
||||
'autoDimensions' : false,
|
||||
'width' : 700,
|
||||
'height' : 300,
|
||||
'transitionIn' : 'fade',
|
||||
'transitionOut' : 'fade',
|
||||
'type' : 'iframe'
|
||||
});
|
||||
|
||||
$(".editbox").fancybox({
|
||||
'autoDimensions' : false,
|
||||
'width' : 600,
|
||||
'height' : 550,
|
||||
'transitionIn' : 'fade',
|
||||
'transitionOut' : 'fade',
|
||||
'type' : 'iframe',
|
||||
onCleanup : function() {
|
||||
return window.location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h2>Logbook</h2>
|
||||
|
|
|
|||
|
|
@ -37,30 +37,5 @@
|
|||
</tbody>
|
||||
|
||||
</table>
|
||||
<style>
|
||||
#table-fixed{
|
||||
position: fixed;
|
||||
top: 40px;
|
||||
display: none;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
var tableOffset = $(".zebra-striped").offset().top-40;
|
||||
$('#table-fixed').width($(".zebra-striped").width());
|
||||
var $header = $(".zebra-striped > thead").clone();
|
||||
var $fixedHeader = $("#table-fixed").append($header);
|
||||
|
||||
$(window).bind("scroll", function() {
|
||||
var offset = $(this).scrollTop();
|
||||
|
||||
if (offset >= tableOffset && $fixedHeader.is(":hidden")) {
|
||||
$fixedHeader.show();
|
||||
}
|
||||
else if (offset < tableOffset) {
|
||||
$fixedHeader.hide();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,36 +1,3 @@
|
|||
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(".qsobox").fancybox({
|
||||
'autoDimensions' : false,
|
||||
'width' : 700,
|
||||
'height' : 300,
|
||||
'transitionIn' : 'fade',
|
||||
'transitionOut' : 'fade',
|
||||
'type' : 'iframe'
|
||||
});
|
||||
|
||||
$(".editbox").fancybox({
|
||||
'autoDimensions' : false,
|
||||
'width' : 600,
|
||||
'height' : 550,
|
||||
'transitionIn' : 'fade',
|
||||
'transitionOut' : 'fade',
|
||||
'type' : 'iframe',
|
||||
onCleanup : function() {
|
||||
return window.location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h2>Logbook</h2>
|
||||
|
|
|
|||
|
|
@ -37,30 +37,4 @@
|
|||
</tbody>
|
||||
|
||||
</table>
|
||||
<style>
|
||||
#table-fixed{
|
||||
position: fixed;
|
||||
top: 40px;
|
||||
display: none;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
var tableOffset = $(".zebra-striped").offset().top-40;
|
||||
$('#table-fixed').width($(".zebra-striped").width());
|
||||
var $header = $(".zebra-striped > thead").clone();
|
||||
var $fixedHeader = $("#table-fixed").append($header);
|
||||
|
||||
$(window).bind("scroll", function() {
|
||||
var offset = $(this).scrollTop();
|
||||
|
||||
if (offset >= tableOffset && $fixedHeader.is(":hidden")) {
|
||||
$fixedHeader.show();
|
||||
}
|
||||
else if (offset < tableOffset) {
|
||||
$fixedHeader.hide();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
|
|
|||
正在加载…
在新工单中引用