-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Here is the CSS of the "Processing" and "Loading" dialog
what I want is get "Processing" like "Loading" which appears in the middle of the screen.
and I try to change the CSS like this:
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?> <window> <style> .z-loading { font-weight: bold; padding:2px; position:absolute; left:200px; top:200px; } .z-loading-indicator { color: gray; border:0 none; position:absolute; left:200px; top:200px; } .z-loading-icon{ position: relative; } </style> <button label="Test Progress" onClick="org.zkoss.lang.Threads.sleep(2000)" /> <listbox id="list" width="300px"></listbox> </window>
Use the following style to show the processing icon at the center of the screen:
.z-loading { top: 50% !important; left: 45% !important; align: center; vertical-align: middle; }
Asked: 2009-12-28 20:07:56 +0800
Seen: 1,260 times
Last updated: Dec 28 '09