- use moo.fx js libraries to control collapsable divs for holding instructions and such which are nice to have around but we don't always want to see; - start on admin tool (edit categories) - more CSS cleanups git-svn-id: svn://10.0.0.236/trunk@184920 18797224-902f-48f8-a5cc-f745e15eee43
19 lines
575 B
JavaScript
Executable File
19 lines
575 B
JavaScript
Executable File
function tc_init() {
|
|
var divs = document.getElementsByClassName("section-content");
|
|
allStretch = new fx.MultiFadeSize(divs, {duration: 400});
|
|
|
|
for (i = 0; i < divs.length; i++) {
|
|
allStretch.hide(divs[i], 'height');
|
|
}
|
|
|
|
testConfigHeight = new fx.Height('testconfig', {duration: 400});
|
|
testConfigHeight.toggle();
|
|
divs[0].fs.toggle('height');
|
|
}
|
|
|
|
function confirmPartialSubmission() {
|
|
msg = "Did you intend to only submit a single test result? (Hint: There is a 'Submit All Results' button at the bottom of the page.)";
|
|
return confirm(msg);
|
|
}
|
|
|