I'm using the script in subject I wrote, from the page:
https://coursesweb.net/php-mysql/rating- ... jax-php_s2
I'ts only possible to rate 4 stars? What I made wrong?
gunzenhauser.net/momplin/index.php
Thank you for help.
Using rating script with 7 stars
-
- Posts:1
Using rating script with 7 stars
Admin
Posts:805
Hello,
You use the version for 7 stars (it can be used with 5, 7 or 10 Stars).
I noticed in the page you posted that only the first 6 stars can be clicked.
Try make this changes in ratings.css.
- for "srtgs", set the width to 160px:
- for ".stars", change the respectively code with this:
- Also, you can make other changes in ratings.css to adapt the style of the script to your pages.
You use the version for 7 stars (it can be used with 5, 7 or 10 Stars).
I noticed in the page you posted that only the first 6 stars can be clicked.
Try make this changes in ratings.css.
- for "srtgs", set the width to 160px:
Code: Select all
.srtgs {
position: relative;
width: 160px;
margin: 0;
/*...*/
}
Code: Select all
.srtgs .stars, .srtgs .d_rtg, .srtgs .totalrate {
width: 157px;
}