Commit ac16e5ef authored by PkSM3's avatar PkSM3

body bg OK

parent 6605aefe
......@@ -29,8 +29,8 @@ box-shadow: 0px 0px 3px 0px #888888;
position: fixed;
height: 100%;
/*border: 1px #888888 solid;*/
background: #fff url(../img/bg.jpg) repeat top left;
-webkit-border-radius: 0px 11px 11px 0px;-moz-border-radius: 0px 11px 11px 0px;border-radius: 0px 11px 11px 0px;-webkit-box-shadow: #B3B3B3 4px 4px 4px;-moz-box-shadow: #B3B3B3 4px 4px 4px; box-shadow: #B3B3B3 4px 4px 4px;
background: #fff url(../img/bg.jpg) repeat top left;
-webkit-border-radius: 0px 11px 11px 0px;-moz-border-radius: 0px 11px 11px 0px;border-radius: 0px 11px 11px 0px;-webkit-box-shadow: #B3B3B3 4px 4px 4px;-moz-box-shadow: #B3B3B3 4px 4px 4px; box-shadow: #B3B3B3 4px 4px 4px;
transition: all 0.4s ease 0s;
}
......
......@@ -13,8 +13,8 @@
<link rel="stylesheet" href="bootswatch/css/bootswatch.css">
</head>
<body>
<div id="fixedtop" class="navbar navbar-default navbar-fixed-top">
<body class="gradient">
<div id="fixedtop" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
......@@ -145,11 +145,12 @@
<div id="zonecentre">
<!-- Page content -->
<div oncontextmenu='return false;' class="gradient" id="sigma-example"></div>
<div oncontextmenu='return false;' id="sigma-example"></div>
<ul id="ctlzoom">
<li>
<div id="unfold">
<a href="#" id="aUnfold" class="rightarrow"></a>
<a href="#" id="aUnfold" class="leftarrow"></a>
</div><!--unfold-->
</li>
......@@ -184,8 +185,6 @@
<!-- Sidebar -->
<div id="leftcolumn">
</div>
......
......@@ -59,7 +59,7 @@ function sigmaLimits(){
altofixtop=$('#fixedtop').height()
altodeftop=$('#defaultop').height()
$('#sigma-example').width(anchototal-sidebar);
$('#sigma-example').height(altototal-altofixtop-altodeftop-2);
$('#sigma-example').height(altototal-altofixtop-altodeftop-4);
pw=$('#sigma-example').width();
ph=$('#sigma-example').height();
......@@ -163,7 +163,6 @@ function bringTheNoise(pathfile,type){
}
}
function scanDataFolder(){
$.ajax({
type: 'GET',
......@@ -228,26 +227,45 @@ function theListeners(){
saveGEXF();
});
$("#aUnfold").click(function() {
// _cG = $("#leftcolumn");
// if (_cG.offset().left < 0) {
// _cG.animate({
// "left" : "0px"
// }, function() {
// $("#aUnfold").attr("class","leftarrow");
// $("#zonecentre").css({
_cG = $("#leftcolumn");
anchototal=$('#fixedtop').width();
sidebar=_cG.width();
pr("\t===== event for aUnfold =====")
pr("offset:")
pr(_cG.offset())
pr("width:")
pr(_cG.width())
pr("sigma-example")
pr($("#sigma-example").offset())
pr("-----------------")
if (_cG.offset().left < 0) {
pr("\t\tinside if")
_cG.animate({
"left" : sidebar+"px"
}, function() {
$("#aUnfold").attr("class","leftarrow");
$('#sigma-example').width(anchototal-sidebar);
$("#ctlzoom").css({
left: (sidebar+10)+"px"
});
// $("#sigma-example").css({
// left: _cG.width() + "px"
// });
// });
// } else {
// _cG.animate({
// "left" : "-" + _cG.width() + "px"
// }, function() {
// $("#aUnfold").attr("class","rightarrow");
// $("#zonecentre").css({
// left: "0"
// });
// });
// }
});
} else {
pr("\t\tinside else")
_cG.animate({
"left" : "-" + _cG.width() + "px"
}, function() {
$("#aUnfold").attr("class","rightarrow");
$('#sigma-example').width(anchototal);
$("#ctlzoom").css({
left: "0px"
});
});
}
return false;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment