Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
ac16e5ef
Commit
ac16e5ef
authored
Apr 21, 2014
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
body bg OK
parent
6605aefe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
28 deletions
+45
-28
sidebar.css
css/sidebar.css
+2
-2
explorerjs.html
explorerjs.html
+5
-6
main.js
tinawebJS/js/main.js
+38
-20
No files found.
css/sidebar.css
View file @
ac16e5ef
...
...
@@ -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
;
}
...
...
explorerjs.html
View file @
ac16e5ef
...
...
@@ -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=
"
righ
tarrow"
></a>
<a
href=
"#"
id=
"aUnfold"
class=
"
lef
tarrow"
></a>
</div>
<!--unfold-->
</li>
...
...
@@ -184,8 +185,6 @@
<!-- Sidebar -->
<div
id=
"leftcolumn"
>
</div>
...
...
tinawebJS/js/main.js
View file @
ac16e5ef
...
...
@@ -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
;
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment