eddysilvamendes / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

Hiding the cancel button ? #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I was wondering if there's any ways of not showing the cancel button ? I
don't need it.

Thanks

Original issue reported on code.google.com by graphic...@gmail.com on 6 Aug 2009 at 4:16

GoogleCodeExporter commented 8 years ago
add to css 

    div.rating-cancel,
    div.rating-cancel a
    {
    display:none; width:0;height:0;overflow:hidden;
    }  

Original comment by TauAlexa...@gmail.com on 17 Aug 2009 at 7:32

GoogleCodeExporter commented 8 years ago
also adding the required: 'hide' option does the same thing:

$('.vote').rating({
        required: 'hide',
    });

Original comment by tasoula....@gmail.com on 4 Nov 2009 at 4:11

GoogleCodeExporter commented 8 years ago
You could also overwrite the settings by doing this:

$.fn.rating.options.required = true;

Original comment by susanamc...@gmail.com on 11 Mar 2010 at 5:42

GoogleCodeExporter commented 8 years ago

Original comment by diego.a...@gmail.com on 23 Feb 2013 at 5:12