$().ReyX(function() { $(this).open("Hi man (or woman)"); });
I try an little look in the source (about 2 min. : ) ) and from line 314 from 339 find: /*--------------------------------------------------------*/ /* ### Default Settings ### eg.: You can override default control like this: $.fn.rating.options.cancel = 'Clear'; */ $.fn.rating.options = { //$.extend($.fn.rating, { options: { cancel: 'Cancel Rating', // advisory title for the 'cancel' link cancelValue: '', // value to submit when user click the 'cancel' link split: 0, // split the star into how many parts? // Width of star image in case the plugin can't work it out. This can happen if // the jQuery.dimensions plugin is not available OR the image is hidden at installation starWidth: 16//, //NB.: These don't need to be pre-defined (can be undefined/null) so let's save some code! //half: false, // just a shortcut to control.split = 2 //required: false, // disables the 'cancel' button so user can only select one of the specified values //readOnly: false, // disable rating plugin interaction/ values cannot be changed //focus: function(){}, // executed when stars are focused //blur: function(){}, // executed when stars are focused //callback: function(){}, // executed when a star is clicked }; //} }); /*--------------------------------------------------------*/ So, you need define in your page: $(document).ready(function() { $('your star class e.g. .star').rating({required: true}); }); Hope it helps, $().ReyX(function() { $(this).close(); }); 2009/10/13 Cell <christianbell1...@googlemail.com> > > anyone? please please =[ > > On Oct 12, 4:22 pm, Cell <christianbell1...@googlemail.com> wrote: > > Hey guys, > > > > i want to get rid of the "cancel rating" button that appears next to > > the 5 stars when enabled. I need to force the users to enter a rating, > > so i need to take the cancel rating button off (makes value = 0). > > > > I can't find how to change this! > > > > please help > > thanks > -- Sabino, Regis S. ReyX Technology Solutions Programmer - Web Designer - Full .NET Platform (55) 11 8545-9314 / (55) 11 2456-7901