4
I’m using jquery 1.11.0 along with the plugin jquery-blockui 2.66.0 and when locking the screen, the div white background on IE 8 and earlier.
Follow the images:
The call to blockUI:
$.blockUI({
message: "<p style=\"font-weight: bolder; color: white;\">Não houve resultado para o seu filtro.<br /><br /><a class=\"fecharBlockUI\">Fechar</a></p>",
timeout: 5000,
onOverlayClick: $.unblockUI
});
I know I should make a CSS hack, but I do not know well front-end, someone could explain me how to keep the behavior equal to the first image also in IE 8 and earlier?
As requested, follow the css style change:
$.blockUI.defaults.css = {
border: "none",
backgroundColor: "rgba(255, 255, 255, 0)",
textAlign: "center",
padding: 0,
margin: 0,
width: "30%",
top: "40%",
left: "35%",
color: "#000000",
cursor: "wait"
};
Using your code on example page of the plugin the background turns white. You must be replacing the default style in CSS and for some reason it doesn’t work in IE8. Could edit showing these styles?
– Gustavo Rodrigues
@Gustavorodrigues From what I understand the user wants the behavior of the first image and not the second one which really implies to change a little the CSS.
– Philippe Gioseffi
exactly, I want the behavior of the first image.
– Guilherme Vianna