jQuery Knob
=============
- canvas based ; no png or jpg sprites.
- touch, mouse and mousewheel, keyboard events implemented.
- downward compatible ; overloads an input element.
Example
-------
<input type="text" value="75" class="dial">
<script>
$(function() {
$(".dial").knob();
});
</script>
Options
-------
Options are provided as attributes 'data-option':
<input type="text" class="dial" data-min="-50" data-max="50">
... or in the "knob()" call :
$(".dial").knob({
'min':-50
,'max':50
});
The following options are supported :
Behaviors :
* min : min value | default=0.
* max : max value | default=100.
* step : step size | default=1.
* angleOffset : starting angle in degrees | default=0.
* angleArc : arc size in degrees | default=360.
* stopper : stop at min & max on keydown/mousewheel | default=true.
* readOnly : disable input and events | default=false.
UI :
* cursor : display mode "cursor", cursor size could be changed passing a numeric value to the option, default width is used when passing boolean value "true" | default=gauge.
* thickness : gauge thickness.
* lineCap : gauge stroke endings. | default=butt, round=rounded line endings
* width : dial width.
* displayInput : default=true | false=hide input.
* displayPrevious : default=false | true=displays the previous value with transparency.
* fgColor : foreground color.
* inputColor : input value (number) color.
* font : font family.
* fontWeight : font weight.
* bgColor : background color.
Hooks
-------
<script>
$(".dial").knob({
'release' : function (v) { /*make something*/ }
});
</script>
* 'release' : executed on release
Parameters :
+ value : int, current value
* 'change' : executed at each change of the value
Parameters :
+ value : int, current value
* 'draw' : when drawing the canvas
Context :
- this.g : canvas context 2D (see Canvas documentation)
- this.$ : jQuery wrapped element
- this.o : options
- this.i : input
- ... console.log(this);
* 'cancel' : triggered on [esc] keydown
* 'error' : called if the browser doesn't support canvases and the plugin didn't initialize as a result
The scope (this) of each hook function is the current Knob instance (refer to the demo code).
Example
-------
<input type="text" value="75" class="dial">
<script>
$(".dial").knob({
'change' : function (v) { console.log(v); }
});
</script>
Dynamically configure
-------
<script>
$('.dial')
.trigger(
'configure',
{
"min":10,
"max":40,
"fgColor":"#FF0000",
"skin":"tron",
"cursor":true
}
);
</script>
Set the value
-------
<script>
$('.dial')
.val(27)
.trigger('change');
</script>
Supported browser
-------
Tested on Chrome, Safari, Firefox, IE 9.0.
MIT License
-------
Copyright (C) 2013 Anthony Terrien
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
没有合适的资源?快使用搜索试试~ 我知道了~
基于SSH的校园二手网站开发.zip
共317个文件
png:46个
js:42个
html:34个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 119 浏览量
2024-04-17
22:42:56
上传
评论
收藏 6.12MB ZIP 举报
温馨提示
项目简介: 本项目致力于使用SSH(Struts2, Spring, Hibernate)技术栈开发一个校园二手网站。该网站旨在为学生提供一个方便、安全的在线交易平台,用于购买和出售二手物品,如教科书、电子产品、生活用品等,促进校园内的资源循环利用。 技术框架: 后端开发:采用Struts2作为MVC框架,Spring进行业务逻辑和依赖注入管理,Hibernate作为ORM工具,实现数据持久化。 前端设计:使用HTML, CSS, JavaScript结合JQuery或Ajax技术,创建动态和用户友好的界面。 数据库管理:使用MySQL或Oracle数据库,确保数据的安全性和高效访问。 安全措施:集成Spring Security,实现用户认证、授权和数据加密,保障交易的安全性。
资源推荐
资源详情
资源评论
收起资源包目录
基于SSH的校园二手网站开发.zip (317个子文件)
fancyzoom.coffee 3KB
org.eclipse.wst.common.component 477B
org.eclipse.wst.jsdt.ui.superType.container 49B
bootstrap.css 138KB
bootstrap.css 118KB
bootstrap.min.css 98KB
style.css 62KB
style3.css 37KB
jquery-ui.min.css 26KB
font-awesome.css 25KB
theme.css 21KB
font-awesome.min.css 20KB
reg.css 18KB
bootstrap-theme.css 15KB
bootstrap-theme.min.css 13KB
premium.css 11KB
fullcalendar.css 11KB
flexslider.css 7KB
jquery-ui.css 4KB
form.css 3KB
isotope.css 1KB
fullcalendar.print.css 668B
fancyzoom.css 317B
layout.css 91B
fontawesome-webfont.eot 71KB
glyphicons-halflings-regular.eot 20KB
animated-overlay.gif 2KB
arrow-down.gif 916B
arrow-up.gif 916B
arrow-right.gif 897B
arrow-left.gif 891B
pie.html 41KB
multiple-axes.html 25KB
time.html 17KB
index.html 13KB
percentiles.html 7KB
visitors.html 5KB
selection.html 5KB
turning-series.html 5KB
ajax.html 5KB
navigate.html 4KB
external-dragging.html 4KB
interacting-axes.html 4KB
zooming.html 3KB
tracking.html 3KB
interacting.html 3KB
annotating.html 3KB
realtime.html 3KB
stacking.html 3KB
index.html 2KB
selectable.html 2KB
resize.html 2KB
graph-types.html 2KB
setting-options.html 2KB
agenda-views.html 2KB
theme.html 2KB
thresholding.html 2KB
basic-views.html 2KB
image.html 2KB
default.html 2KB
symbols.html 2KB
basic.html 1KB
gcal.html 1KB
json.html 1KB
index.html 1KB
ui-icons_2e83ff_256x240.ico 97KB
ui-icons_72a7cf_256x240.ico 97KB
ui-bg_highlight-hard_100_f2f5f7_1x100.ico 97KB
ui-bg_glass_100_e4f1fb_1x400.ico 97KB
ui-icons_2694e8_256x240.ico 97KB
ui-bg_glass_50_3baae3_1x400.ico 97KB
ui-bg_highlight-soft_25_ffef8f_1x100.ico 97KB
ui-icons_3d80b3_256x240.ico 97KB
ui-bg_highlight-soft_100_deedf7_1x100.ico 97KB
ui-bg_diagonals-thick_90_eeeeee_40x40.ico 97KB
ui-bg_glass_80_d7ebf9_1x400.ico 97KB
ui-icons_ffffff_256x240.ico 97KB
ui-bg_flat_15_cd0a0a_40x100.ico 97KB
ui-bg_highlight-hard_70_000000_1x100.ico 97KB
closebox.ico 97KB
poi-3.6.jar 1.47MB
mysql-connector-java-5.0.8-bin.jar 528KB
ApiStoreSDK1.0.4.jar 27KB
GeetestLib.java 13KB
CyusersDAO.java 9KB
UserAction.java 9KB
CygoodsDAO.java 9KB
GoodAction.java 7KB
CymsgDAO.java 5KB
CywantDAO.java 5KB
CyclassdDAO.java 5KB
CyclassgDAO.java 5KB
CycartsDAO.java 5KB
Cyusers.java 4KB
Cygoods.java 4KB
ExcelUtil.java 3KB
UserService.java 2KB
Cywant.java 2KB
GoodService.java 2KB
Cyclassd.java 2KB
共 317 条
- 1
- 2
- 3
- 4
资源评论
小黑码蚁
- 粉丝: 2414
- 资源: 2082
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功