That's correct - I think you're confusing Transparency and Opacity in your function naming - turning opacity Off means making it transparent (invisible)
I think I may know what is happening. The if statement is only being called when it loads, and when it loads the box is unchecked, after you check the box the if/else statement isn't called again so it is still the same value. I propose that the if/else statement would have to be called everytime you check/uncheck the box, but I do not know how to do that
so that helped a little, when I click the checkbox (the box is checked now) the bar goes transparent but when i click it again (the box is not checked) it just stays transparent.
OH THANK GOD I finally got it: HTML: (function() { $( 'div.div_bottom_bar' ).append( "<div class='div_opacityCheck receiveMouse' id='div_opacityCheck'>Opacity <input type='Checkbox' id='opacityCheck'></input></div>" ); })() function opacityOff() { $(".div_build_bar_midspan > div").css('margin', '0px 0px 0px 0px').css('opacity', '1'); } function opacityOn() { $(".div_build_bar_midspan > div").css('margin', '0px 0px 0px 0px').css('opacity', '.8'); } document.getElementById('opacityCheck').onchange = function status() { if ( document.getElementById('opacityCheck').checked === false ) { opacityOff(); } else { opacityOn(); }; }
Nice ! And works fine with keys display of hotbuild. Only think I don't like is the transparency checkbox, you should move that to UI settings. Then it will be perfect
@Corang, I have an idea to submit to you. personally I dig the transparency and the smaller icons so how about rolling with it 100% and removing the black borders altogether? I'd love it that way.
I will see what I can do, I just got home from school and I am about to have dinner then I will check it out
I thought about it, but due to my little knowledge of js settingsmanager looked really complicated EDIT: What if I had it like the PiP where you click to bring up the options?
It's actually not that hard to do a simple settings item and I could toss together a demo if you want.