Code for the lights did not work.
- Code:
$(function(){$(function(){
var padTop = true,
frame = document.createElement('IFRAME'), body = document.body, s = '';
frame.setAttribute('style','position:absolute;left:0;right:0;top:0;width:100%;height:100px;border:none;z-index:1000;');
frame.src = 'http://opensource.olympe.in/lights/?size=tiny';
frame.id = 'schillmania-lights';
body.insertBefore(frame, body.firstChild);
if (document.getElementById('fa_toolbar')) {
frame.style.top = '28px';
document.getElementById('fa_hide').onclick = function() { frame.style.top = '0px' };
document.getElementById('fa_show').onclick = function() { frame.style.top = '28px' }
}
if (padTop == true) {
if (body.getAttribute('style')) s = body.getAttribute('style');
body.setAttribute('style',s + 'padding-top:100px !important;');
}
})});