jquery.ui.progressbar 중국어 문서
10928 단어 progressbar중국어 문서
<?xml version="1.0" encoding="UTF-8" ?>
<!--
:
1. , , ,
2. , , .
3. XML , , ( , , ), <![CDATA[ ]]>
4. , <translate /> .
5. .
-->
<project>
<translate item="progressbar" version="7.1">
<translators>
<translator nickname="selfimpr" name=" " mail="[email protected]" homepage="http://blog.csdn.net/lgg201" qq="285821471" />
</translators>
<relatives>
<depend isitem="false">
<name><![CDATA[jquery]]></name>
<description><![CDATA[jquery ]]></description>
<url><![CDATA[http://docs.jquery.com]]></url>
</depend>
<depend isitem="false">
<name><![CDATA[jquery.ui.core]]></name>
<description><![CDATA[jquery.ui ]]></description>
<url><![CDATA[http://jqueryui.com/demos]]></url>
</depend>
</relatives>
<overview>
<original><![CDATA[
. CSS .
, . , ( ) spinner animation
]]></original>
</overview>
<options>
<option name="value" default="0">
<types>
<type name=" ">
</type>
</types>
<description><![CDATA[ .]]></description>
<demos>
<demo>
<comment><![CDATA[ ]]></comment>
<code><![CDATA[$('.selector').progressbar({value: 37});]]></code>
</demo>
<demo>
<comment><![CDATA[ ]]></comment>
<code><![CDATA[var value = $('.selector').progressbar('option', 'value');
]]></code>
</demo>
<demo>
<comment><![CDATA[ ]]></comment>
<code><![CDATA[$('.selector').progressbar('option', 'value', 37);]]></code>
</demo>
</demos>
</option>
</options>
<events>
<event name="change">
<trigger><![CDATA[processbar value ]]></trigger>
<arguments>
<argument name="event">
<![CDATA[ .]]>
</argument>
<argument name="ui">
<![CDATA[JQuery ui ]]>
</argument>
</arguments>
<description><![CDATA[ : progressbarchange]]></description>
<demos>
<demo>
<comment><![CDATA[ ]]></comment>
<code><![CDATA[
$("#progressbar").progressbar({
change: function(event, ui) {
//this event.target
alert(' 1%');
}
});
]]></code>
</demo>
<demo>
<comment><![CDATA[ . , .]]></comment>
<code><![CDATA[
$("#progressbar").bind('progressbarchange', function(event, ui) {
//this event.target
alert(' 1%');
});
]]></code>
</demo>
</demos>
</event>
</events>
<methods>
<method name="destroy">
<description><![CDATA[ , .]]></description>
<demos>
<demo>
<code><![CDATA[$("#progressbar").progressbar('destroy');]]></code>
</demo>
</demos>
</method>
<method name="disable">
<description><![CDATA[ , enable .]]></description>
<demos>
<demo>
<code><![CDATA[$(".selector").progressbar('disable');]]></code>
</demo>
</demos>
</method>
<method name="enable">
<description><![CDATA[ , disable .]]></description>
<demos>
<demo>
<code><![CDATA[$(".selector").progressbar('enable');]]></code>
</demo>
</demos>
</method>
<method name="option">
<arguments>
<argument name="optionName " type=" "><![CDATA[ ]]></argument>
<argument name="value" type=" "><![CDATA[ .]]></argument>
</arguments>
<description><![CDATA[ , , . , , , . ]]></description>
<demos>
<demo>
<code><![CDATA[$(".selector").progressbar('option', optionName[, value]);]]></code>
</demo>
</demos>
</method>
<method name="value">
<description><![CDATA[ value ]]></description>
<demos>
<demo>
<code><![CDATA[$(".selector").progressbar('value'[, value]);]]></code>
</demo>
</demos>
</method>
</methods>
<theme><![CDATA[
JQuery .
:ui.progressbar.css
ui-progressbar:
ui-progressbar-value: .
]]></theme>
<demos>
<demo>
<description><![CDATA[
: HTML , .
]]></description>
<code><![CDATA[
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Progressbar - Default functionality</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.progressbar.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
var current_value = 0;
change = function() {
$("#progressbar").progressbar('option', 'value', current_value);
current_value ++;
if(current_value <= 100) {
setTimeout('change()', 200);
}
};
progressbar_dynamic = function() {
progressbar_init();
change();
};
progressbar_init = function() {
$("#progressbar").progressbar({
value: current_value,
change: function(event, ui) {
$('#number').text($(this).progressbar('option', 'value'));
document.getElementById('number').style.position = 'relative';
document.getElementById('number').style.left = $(this).progressbar('option', 'value') * ($('.ui-progressbar').width() / 100) - 5;
}
});
};
progressbar_destroy = function() {
$("#progressbar").progressbar('destroy');
};
progressbar_disable = function() {
$("#progressbar").progressbar('disable');
};
progressbar_enable = function() {
$("#progressbar").progressbar('enable');
};
progressbar_option = function() {
var option_name = $('#option_name').val();
var option_value = $('#option_value').val();
if(option_value) {
$("#progressbar").progressbar('option', option_name, option_value);
} else {
$('#option_value').val($("#progressbar").progressbar('option', option_name));
}
};
progressbar_value = function() {
var value_value = $('#value_value').val();
if(value_value) {
$("#progressbar").progressbar('value', value_value);
} else {
$('#value_value').val($("#progressbar").progressbar('option', 'value'));
}
};
});
</script>
<style type="text/css">
input{height: 22px; margin: 1px 2px;}
input[type=button]{border: none; width: 80px;}
input[type=text]{border: 1px solid #BBBBBB; line-height: 20px;}
#number{width: 5px;}
</style>
</head>
<body>
<br /><br />
<div id="number"> </div>
<div id="progressbar"></div>
<br /><br />
<input type="button" value="init" onclick="progressbar_init();" />
<input type="button" value="destroy" onclick="progressbar_destroy();" />
<input type="button" value="disable" onclick="progressbar_disable();" />
<input type="button" value="enable" onclick="progressbar_enable();" />
<input type="button" value="dynamic" onclick="progressbar_dynamic();" />
<br />
<input type="button" value="option" onclick="progressbar_option();" />
: <input type="text" id="option_name" />
: <input type="text" id="option_value" />
<br />
<input type="button" value="value" onclick="progressbar_value();" />
: <input type="text" id="value_value" />
<br />
<hr />
init:
destroy:
disable:
enable:
dynamic:
option: option
value: value
</body>
</html>
]]></code>
</demo>
</demos>
<summarize><![CDATA[
progressbar value , value value . value ..
]]></summarize>
</translate>
</project>
xml 형식 파일 로 저장 합 니 다.인 코딩 변환 에 주의 하 세 요.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
진행 표시줄을 사용하여 여러 파일을 업로드하는 방법(ReactJS+Redux 및 ExpressJS)내용을 추가하자!우선, 우리는 App.js을 수정할 것이다 하지만 fileProgress의 데이터 구조를 설명하고자 합니다.우리는 이 파일들을 그룹 형식이 아니라 대상 형식으로 저장할 것이다. 은 색인을 찾기 위해 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.