-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Is there a way to override/customize the text of the processing box in ZK5?
I've done some customizations of the appearance with CSS. The only thing that is missing is the text content of the box.
I found a file msgzk.js in the sources where the text is defined. Is there a way to override this?
Ralf.
I know this post, but it is not the answer to my question. The post describes how to customize the appearance and the position of the progessbox.
Of course, I could override the zUtl.progressbox function and hardcode the string in that function. But that is not very elegant and the fact that this function has a parameter "msg" that is passed into this function shows that the displayed message comes from somewhere outside the function.
I'm looking for a solution where I can override the message definition and leave the progressbox definition untouched. Is this possible?
Hi,
I found a way to do at least hide the text and use a graphic only if that helps. I overrode the following styles (zk 5):
.z-loading {
background-color: transparent;
border: 0px;
padding: 0px;
height: 35px;
width: 35px;
background-image: url(${c:encodeURL(c:cat3('~./',project,'/zk/progress2.gif'))});
}
.z-loading-indicator {
border: 0px;
display:none;
}
Asked: 2010-06-09 02:31:30 +0800
Seen: 640 times
Last updated: Mar 31 '11