projects
/
hacks
/
simpleWebSlides.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98c49ac
)
Make the print preview only fire when the presentation is finished rendering.
author
Kim Nguyễn
<kn@lri.fr>
Mon, 28 Sep 2015 20:04:39 +0000
(22:04 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Mon, 28 Sep 2015 20:04:39 +0000
(22:04 +0200)
simpleWebSlides.js
patch
|
blob
|
history
themes/uPsud.css
patch
|
blob
|
history
diff --git
a/simpleWebSlides.js
b/simpleWebSlides.js
index
a0e0ef8
..
1c39da4
100644
(file)
--- a/
simpleWebSlides.js
+++ b/
simpleWebSlides.js
@@
-519,7
+519,8
@@
SWS.Presentation = new function () {
progress.remove();
window.status = 'Ready';
$.fx.off = old_fx_status;
progress.remove();
window.status = 'Ready';
$.fx.off = old_fx_status;
- if (SWS.Utils.getParameterByName("dialog") != "off") window.print();
+ if (SWS.Utils.getParameterByName("dialog") != "off")
+ $("body").ready( function () { window.print(); });
}
};
loop();
}
};
loop();
diff --git
a/themes/uPsud.css
b/themes/uPsud.css
index
f08cea5
..
ea22813
100644
(file)
--- a/
themes/uPsud.css
+++ b/
themes/uPsud.css
@@
-58,6
+58,7
@@
h1 {
z-index:0;
}
z-index:0;
}
+
.sws-inner-canvas {
height: 88%;
z-index: 2;
.sws-inner-canvas {
height: 88%;
z-index: 2;
@@
-68,7
+69,7
@@
h1 {
/* Title of the slide */
.sws-title {
height: 7%;
/* Title of the slide */
.sws-title {
height: 7%;
- z-index:2;
+ z-index:
2;
}
}
@@
-78,7
+79,7
@@
h1 {
text-align:right;
padding-right:1ex;
vertical-align: middle;
text-align:right;
padding-right:1ex;
vertical-align: middle;
- z-index:
2
;
+ z-index:
1
;
}
.sws-footer::before {
}
.sws-footer::before {
@@
-92,10
+93,9
@@
h1 {
background-size: contain;
background-image: url("logo_psud_psay.png");
background-repeat: no-repeat;
background-size: contain;
background-image: url("logo_psud_psay.png");
background-repeat: no-repeat;
- z-index:
1
;
+ z-index:
-1
;
}
}
-
.sws-slide-num-sep:after {
content: "/";
}
.sws-slide-num-sep:after {
content: "/";
}