首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > onnirating是一个简单的脚本用于创建评级盒(用于。图片,视频,文章等),onnirating使用prototype.js框架。

onnirating是一个简单的脚本用于创建评级盒(用于。图片,视频,文章等),onnirating使用prototype.js框架。

资 源 简 介

Overview onniRating is a simple script used to create rating boxes (for. Images, Videos, Articles etc.), onniRating is using prototype.js for framework. How to use Include Rating.js and prototype.js JavaScript files in your page(Note: You can download lates version of prototype JavaScript Framework from http://www.prototypejs.org/download How to use code ``` new onniRating(element, options); //element - HTML element or ID of HTML Element //options // 1. max_rate (integer) : Possible Max. Rating value (default is 5) // 2. current_rate (integer) : Current Rating value (default is 1) // 3. img_dir (string) : Directory of Star Images (default is blank) // 4. notitle (bool) : Define is rating text will be used // 5. onRate (function) : Function to execute after rating // 6. beforeRate (function) : Function to execute before rating // 7. outRate (function) : Function to execute if user don"t rate //

文 件 列 表

unrate.gif
Rating.js
rate.gif
VIP VIP
0.170792s