I have to change a display: none; to a display: block. I'm having troubles and I can't get it to work..
I have to change this:
.colorbox #content,.colorbox #nav,.colorbox #header,
.colorbox #service,.colorbox #footer,
.colorbox #disclaimer{display:none}
with JQuery to a display: block.
Actually I have to change it only in the ID #footer.
I tried with:
$('.colorbox #content,.colorbox #nav,.colorbox #header, .colorbox #service,.colorbox #footer, .colorbox #disclaimer').css('style', 'display: block !important');
or with:
$('.colorbox #content,.colorbox #nav,.colorbox #header,.colorbox #service,
.colorbox #footer,.colorbox #disclaimer').css("display", "block !important");
or with:
$('#footer').css("display", "block !important");
I'm actually loading a css file from a external website.. (HTML also) Is it possible, that I can't access with a single JQuery method to this files to change their values ?
How can I make it ?
$(document).ready();or equivalent.