Closed FredyWenger closed 4 years ago
http://gjunge.github.io/rateit.js/examples/#ex_11 wouldn't this be of help?
Hi Thanks for your feedback. And.. yes… the link helps ☺ I have overseen the tooltip and added it now ( 1 ) [cid:image001.jpg@01D59E09.E0555280] Regarding the text ( 2 ), I have added it my own As the user in my portal also is able to change an existing rating, the text ( 2 ) also has to be applied by load of the view. Therefore, I have created some JS functions. I further hide the input’s with style="visibility: hidden" as else the range input is visible by the load of the page first (what is viewable), before the rateit appears… (Note: I have up to 8 ratings on the view)
So…,I have what I need now ☺ Thanks for your good work!
Greetings from Switzerland Fredy
Von: Gidon [mailto:notifications@github.com] Gesendet: So., 17. November 2019 09:17 An: gjunge/rateit.js rateit.js@noreply.github.com Cc: Fredy Wenger Fredy.Wenger@matso.ch; Author author@noreply.github.com Betreff: Re: [gjunge/rateit.js] Proposal for enhancement (#27)
http://gjunge.github.io/rateit.js/examples/#ex_11 wouldn't this be of help?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gjunge/rateit.js/issues/27?email_source=notifications&email_token=ACAMOWQT3LUVOMNZUZSAP6DQUD4XHA5CNFSM4JMB4XG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIGQ6Q#issuecomment-554723450, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAMOWRJJHPZ3N6JL5LYNCTQUD4XHANCNFSM4JMB4XGQ.
That’s great! I’ve built Rateit with performance (for IE8 😄) in mind, so 8 controls is no problem at all as you’ve noticed.
Hi I work with ansp.net core 2.2 and have looked for rate controls, investigated some and decided for rateit.js as it is lean an clean - especially to pass the parameters over an input is a good idea. So.. first... congrats for your good work. What is missing, is the possibility to show (custom) tool-tips on hoover over the stars and to show a (custom) text, when the user has rated. I have implemented the texte to rated myself, but this is not so nice and a lot of work (I have various rateit's on my view). So... proposal: Add parameters for custom text to the Rating/ the stars, E.g.: ResetOnHooverText (= "Reset your Rating" / German "Setzen Sie Ihre Bewertung zurück) Star1OnHooverText (= "Very Poor" / German: "Sehr schlecht") Star1OnRatedText (= "Very Poor" / German: "Sehr schlecht") Star2OnHooverText (= "Poor" / German: "Schlecht") Star2OnRatedText (= "Poor" / German: "Schlecht") Star3OnHooverText (= "Neutral" / German: "Neutral") Star3OnRatedText (= "Neutral" / German: "Neutral" ) Star4OnHooverText (= "Good" / German: "Gut") Star4OnRatedText (= "Good" / German: "Gut")) Star5OnHooverText (= "Very good" / German: "Sehr gut") Star5OnRatedText (= "Very good" / German: "Sehr gut")) .... further Star.. if used (I think. mostly 4 or 5 stars are used...) NotRatedText (= "Not Rated" / German: "Nicht bewertet")
Show the OnHoover text (as tooltip) if a star or the reset symbol is hoovered. Show the RatedText on the right of the control Define a further input for these parameters