简体   繁体   中英

how can I load data insinde tag div using ZK

I want to see progress increase in progressbar, i already use progressmeter of ZK. but now i'm using an other progressbar in div like that

<div if="${item.progres ge '35'}" class="progress-bar progress-bar-success"> 
    <span class="sr-only"></span>
</div></div> 

Actually it possiblle.

You have to need an image what you can set behind the span of the progress bar.
I created a fiddle (the one from ZK Demo) where I do this with a gradient image found on the internet.

So the only thing what you have to add is this :

<style>
    .z-progressmeter-image {
        background: url("http://i810.photobucket.com/albums/zz22/PinkSith/Nubar/top-new_zps72ae9651.jpg");
    }
</style>

You just need to create the correct image, and it would be good.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM