Subversion Repositories linkit

[/] [trunk/] [demo/] [src/] [main/] [resources/] [org/] [linagora/] [linkit/] [demo/] [components/] [ProgressBarExample.tml] - Rev 1

Compare with Previous | Blame | View Log

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
              "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">            
                <t:linkit.simplebar t:id="bar" id="${name}"/>
                <br/>
                <span class="extra"><a href="#" onclick="${bar.jsObjectName}.setPercentage('0');return false;"><img src="${asset:classpath:org/linagora/linkit/progressbar/components/empty.gif}" alt="" title="" onmouseout="$('text-${name}').innerHTML ='&laquo; Select Options'" onmouseover="$('text-${name}').innerHTML ='Empty Bar'"/></a></span>
                <span class="options"><a href="#" onclick="${bar.jsObjectName}.setPercentage('+${up}');return false;"><img src="${asset:classpath:org/linagora/linkit/progressbar/components/add.gif}" alt="" title="" onmouseout="$('text-${name}').innerHTML ='&laquo; Select Options'" onmouseover="$('text-${name}').innerHTML ='Add ${up}%'"/></a></span>
                <span class="options"><a href="#" onclick="${bar.jsObjectName}.setPercentage('-${down}');return false;"><img src="${asset:classpath:org/linagora/linkit/progressbar/components/minus.gif}" alt="" title="" onmouseout="$('text-${name}').innerHTML ='&laquo; Select Options'" onmouseover="$('text-${name}').innerHTML ='Minus ${down}%'" /></a></span>
                <span class="options"><a href="#" onclick="${bar.jsObjectName}.setPercentage('${set1}');return false;"><img src="${asset:classpath:org/linagora/linkit/progressbar/components/set.gif}" alt="" title="" onmouseout="$('text-${name}').innerHTML ='&laquo; Select Options'" onmouseover="$('text-${name}').innerHTML ='Set ${set1}%'"/></a></span>

                <span class="options"><a href="#" onclick="${bar.jsObjectName}.gotoPercentage('${set2}');return false;"><img src="${asset:classpath:org/linagora/linkit/progressbar/components/fill.gif}" alt="" title="" onmouseout="$('text-${name}').innerHTML ='&laquo; Select Options'" onmouseover="$('text-${name}').innerHTML ='Fill ${set2}%'" /></a></span>
                <span class="getOption"><a href="#" onclick="alert(${bar.jsObjectName}.getPercentage());return false;"><img src="${asset:classpath:org/linagora/linkit/progressbar/components/get.gif}" alt="" title="" onmouseout="$('text-${name}').innerHTML ='&laquo; Select Options'" onmouseover="$('text-${name}').innerHTML ='Get Current %'"/></a></span>
                <span id="text-${name}" style="font-weight:bold">&laquo; Select Options</span>
                <br/><br/>
</t:container>

Compare with Previous | Blame | View Log