Was die Leudde sagen

'; } // Build HTML for rating stars dynamically matching active settings var ratingHtml = ''; if (rating && rating > 0) { var activeRatingStyle = "star"; var activeRatingColor = "#FFD700"; var activeDefaultColor = "#E0E0E0"; var activeGap = "2"; var iconsList = { 'star': { 'filled': 'fa-star', 'empty': 'fa-star-o' }, 'heart': { 'filled': 'fa-heart', 'empty': 'fa-heart' }, 'thumbs-up': { 'filled': 'fa-thumbs-up', 'empty': 'fa-thumbs-o-up' }, 'smile': { 'filled': 'fa-smile-o', 'empty': 'fa-smile-o' }, 'diamond': { 'filled': 'fa-diamond', 'empty': 'fa-diamond' }, 'badge': { 'filled': 'fa-certificate', 'empty': 'fa-certificate' }, 'trophy': { 'filled': 'fa-trophy', 'empty': 'fa-trophy' }, 'bell': { 'filled': 'fa-bell', 'empty': 'fa-bell-o' } }; var filledIcon = (iconsList[activeRatingStyle] ? iconsList[activeRatingStyle]['filled'] : 'fa-star'); var emptyIcon = (iconsList[activeRatingStyle] ? iconsList[activeRatingStyle]['empty'] : 'fa-star-o'); ratingHtml = '
'; for (var i = 1; i <= 5; i++) { var iconClass = (i <= rating) ? filledIcon : emptyIcon; var iconColor = (i <= rating) ? activeRatingColor : activeDefaultColor; var opacity = (i > rating && activeRatingStyle === filledIcon) ? '0.3' : '1'; ratingHtml += ''; } ratingHtml += '
'; } // Build HTML for designation var designationHtml = ''; if (designation) { designationHtml = '

' + designation + '

'; } // Build HTML for website link var websiteHtml = ''; if (website) { websiteHtml = '
' + ' Visit Website' + '
'; } var modalHtml = '
' + '
' + '×' + imageHtml + '

' + title + '

' + designationHtml + ratingHtml + '
' + text + '
' + websiteHtml + '
'; $('body').append(modalHtml); }); $(document).off('click.tmlCloseModal').on('click.tmlCloseModal', '.tml-close-modal, #tml-modal', function (e) { if (e.target !== this && !$(e.target).hasClass('tml-close-modal')) return; $('#tml-modal').remove(); }); // Video logic excised for lightweight free-only version });