I need to make a banner rotator on the site. That is, the client puts 3 banners in one place and says: 1st - 20%, 2nd - 30%, 3rd - 50%. It is clear that the third banner will most often be displayed. Just how to calculate it correctly? Maybe there is a ready-made plug-in?
If who to do - share reasons where to dig