Ratings

Default

You need just to have a divto build the Raty.

Score

Used when we want to start with a saved rating.

Score callback

If you need to start you score depending of a dynamic value, you can to use callback for it. You can pass any value for it, not necessarily a data- value. You can use a field value for example.

Score Name

Changes the name of the hidden score field.

Number

Changes the number of stars.

Number callback

You can receive the number of stars dynamic using callback to set it.

Number Max

Change the maximum of start that can be created.

Read Only

You can prevent users to vote. It can be applied with or without score and all stars will receives the hint corresponding of the selected star. Stop the mouse over the stars to see:

Read Only callback

You can decide if the rating will be readOnly dynamically returning true of false on callback.

No Rated Message

If readOnly is enabled and there is no score, the hint "Not rated yet!" will be shown for all stars. But you can change it. Stop the mouse over the star to see:

Half Show

You can represent a float score as a half star icon.

Half Show Disabled

You can decide if the rating will be readOnly dynamically returning true of false on callback.

Round

We changed the default interval [x.25 .. x.76], now x.26 will round down instead of to be a half star. Remember that the full attribute is used only when halfShow is disabled.

Half

Enables the half star mouseover to be possible vote with half values.

Star Half

Changes the name of the half star.

Click

Callback to handle the score and the click event on click action. You can mension the Raty element (DOM) itself using this.

Hints

Changes the hint for each star by it position on array.

Star Off and Star On

Changes the name of the star on and star off.

Cancel

Add a cancel button on the left side of the stars to cacel the score. Inside the click callback the argument code receives the value null when we click on cancel button.

Cancel Hint

Like the stars, the cancel button have a hint too, and you can change it.

Cancel Place

Changes the cancel button to the right side.

Cancel off and Cancel On

Changes the on and off icon of the cancel button.

Icon Range

It's an array of objects where each one represents a custom icon. The range attribute is until wich position the icon will be displayed.

Size

The size of the icons are controlled by the css property font-size as all icons are text. The plugin tries to calculate the font size automatically, but should that fail, you can provide a size (in pixels) with the size option.

Target

Some place to display the hints or the cancelHint.

Target Type

You have the option hint or score to chosse.

Target Format

You can choose a template to be merged with your hints and displayed on target.

Mouseover

You can handle the action on mouseover.

Mouseout

You can handle the action on mouseout.

2026© Adminox. - Coderthemes.com

彩票联盟极速赛马计划

彩票联盟致力于为广大彩友提供专业的火爆极速赛马稳健倍投计划信息与交流平台。在这里,您可以获取最新的赛马资讯,学习有效的投注技巧,与其他彩友分享经验,共同探讨稳定盈利的方法。无论您是初入彩票的新人还是资深的购彩者,均能在我们的网站找到适合自己的投注方案,提升您的购彩体验,助力您在火热的赛马赛事中实现稳健回报