Topic: Multiple Rating Plugin
Byron Cross asked 6 years ago
I have 9 cards on one page but when I add the rating plugin to all nine it only allows for one card to be rated. What can I do to make all nine cards rate differently? Thanks.
MDBootstrap staff pro premium priority answered 6 years ago
Hi Byron Cross,
Our MDB rating.js addon is a simple way of implementing rating to your page. It does not support by default rating multiple elements on site because of its basic implementation. However, we are currently working on improving this addon in the future. For now, You can try to change the code in rating.js to serve your needs. My quick workaround for your problem requires you to initialize code for rating 9 times with different classes and ids. We will try to make it reusable on a single page in the future but for now, try to implement it yourself using our code as a base.
Best Regards, Piotr
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.2
- Device: Mac
- Browser: Chrome
- OS: Mojave
- Provided sample code: No
- Provided link: No