Bureaucrats, coding, Administrators
2,634
edits
m (double durations) |
mNo edit summary |
||
Line 412: | Line 412: | ||
} | } | ||
}, | }, | ||
setDisplay1:function(infobox, isOn) { | |||
if(isOn) { | if(isOn) { | ||
infobox.removeClass('testchamber- | infobox.removeClass('testchamber-display1-off'); | ||
} else { | } else { | ||
infobox.addClass('testchamber- | infobox.addClass('testchamber-display1-off'); | ||
} | |||
}, | |||
setDisplay2:function(infobox, isOn) { | |||
if(isOn) { | |||
infobox.removeClass('testchamber-display2-off'); | |||
} else { | |||
infobox.addClass('testchamber-display2-off'); | |||
} | } | ||
}, | }, | ||
Line 422: | Line 429: | ||
var infobox = $(this); | var infobox = $(this); | ||
infoboxFlicker.setOn(infobox, false); | infoboxFlicker.setOn(infobox, false); | ||
infoboxFlicker. | infoboxFlicker.setDisplay1(infobox, false); | ||
infoboxFlicker.setDisplay2(infobox, false); | |||
setTimeout(function() { // Step 1: Switch on, no details | setTimeout(function() { // Step 1: Switch on, no details | ||
infoboxFlicker.setOn(infobox, true); | infoboxFlicker.setOn(infobox, true); | ||
Line 429: | Line 437: | ||
setTimeout(function() { // Step 3: Switch back on, still no details | setTimeout(function() { // Step 3: Switch back on, still no details | ||
infoboxFlicker.setOn(infobox, true); | infoboxFlicker.setOn(infobox, true); | ||
setTimeout(function() { // Step 4: Display | setTimeout(function() { // Step 4: Display top half | ||
infoboxFlicker. | infoboxFlicker.setDisplay1(infobox, true); | ||
setTimeout(function() { // Step 5: Display bottom half | |||
infoboxFlicker.setDisplay2(infobox, true); | |||
}, 133); | |||
}, 133); | }, 133); | ||
}, 340); | }, 340); |