fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5979e56
)
Even more sexy lessons for teachers.
author
Lukasz Anwajler
<lukasz@anwajler.com>
Tue, 1 Feb 2011 15:12:00 +0000
(09:12 -0600)
committer
Lukasz Anwajler
<lukasz@anwajler.com>
Tue, 1 Feb 2011 15:12:00 +0000
(09:12 -0600)
wolnelektury/static/js/slides.js
patch
|
blob
|
history
diff --git
a/wolnelektury/static/js/slides.js
b/wolnelektury/static/js/slides.js
index
cf17db6
..
c602054
100644
(file)
--- a/
wolnelektury/static/js/slides.js
+++ b/
wolnelektury/static/js/slides.js
@@
-182,6
+182,7
@@
function toggle() {
var slideColl = GetElementsWithClassName('*','slide');
var slides = document.getElementById('slideProj');
var outline = document.getElementById('outlineStyle');
var slideColl = GetElementsWithClassName('*','slide');
var slides = document.getElementById('slideProj');
var outline = document.getElementById('outlineStyle');
+ var controls = document.getElementById('controls');
if (!slides.disabled) {
slides.disabled = true;
outline.disabled = false;
if (!slides.disabled) {
slides.disabled = true;
outline.disabled = false;
@@
-192,6
+193,8
@@
function toggle() {
slide.style.visibility = 'visible';
}
document.getElementById("toggle").value = "Lista slajdów";
slide.style.visibility = 'visible';
}
document.getElementById("toggle").value = "Lista slajdów";
+ addClass(controls, 'hideme');
+ showHide('h');
} else {
slides.disabled = false;
outline.disabled = true;
} else {
slides.disabled = false;
outline.disabled = true;
@@
-202,7
+205,8
@@
function toggle() {
slide.style.visibility = 'hidden';
}
slideColl[snum].style.visibility = 'visible';
slide.style.visibility = 'hidden';
}
slideColl[snum].style.visibility = 'visible';
- document.getElementById("toggle").value = "Ciągły tekst";
+ document.getElementById("toggle").value = "Ciągły tekst";
+ showHide('s');
}
}
}
}