D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
home
/
ipuco
/
www
/
superadmin
/
assets
/
pages
/
Filename :
rating-init.js
back
Copy
$(function(){$("input.check").on("change",function(){alert("Rating: "+$(this).val())}),$(".rating-tooltip").rating({extendSymbol:function(t){$(this).tooltip({container:"body",placement:"bottom",title:"Rate "+t})}}),$(".rating-tooltip-manual").rating({extendSymbol:function(){var i;$(this).tooltip({container:"body",placement:"bottom",trigger:"manual",title:function(){return i}}),$(this).on("rating.rateenter",function(t,n){i=n,$(this).tooltip("show")}).on("rating.rateleave",function(){$(this).tooltip("hide")})}}),$(".rating").each(function(){$('<span class="badge badge-info"></span>').text($(this).val()||"").insertAfter(this)}),$(".rating").on("change",function(){$(this).next(".badge").text($(this).val())})});