-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
hello i m working on a project using ZK what i need to do is pass a value from a label to a Jquery fonction to do a count down.
i need to use this plugin : www.jqueryscript.net/loading/Graphical-Circular-Timer-with-jQuery-CSS3-pietimer.html
i have tried to insert this plugin in ZK page but is not seems to work with me
i m kinda new in Jquery i didnt know how to passe a value to "timerSeconds" from a label . Can u help me pls?
2 | No.2 Revision |
hello i m working on a project using ZK what i need to do is pass a value from a label to a Jquery fonction to do a count down.
i need to use this plugin : www.jqueryscript.net/loading/Graphical-Circular-Timer-with-jQuery-CSS3-pietimer.html
i have tried to insert this plugin in ZK page but is not seems to work with me
i m kinda new in Jquery i didnt know how to passe a value to "timerSeconds" from a label .
.
here what i have tried to do so far :
<?link href="http://www.jqueryscript.net/css/top.css" rel="stylesheet" type="text/css"?>
<?link rel="stylesheet" type="text/css" href="pietimer.css"?>
<zk>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="jquery.pietimer.js"></script>
<script type="text/javascript" defer="true">
<![CDATA[
jq(function() {
zk('#timer').pietimer({
timerSeconds: 60,// i need to insert a label value instand of 60
color: '#234',
fill: false,
showPercentage: true,
callback: function() {
}
});
});
]]>
</script>
<div id="timer" style="margin-top:100px;"></div>
</zk>
Can u help me pls?