JS初学者在这里。我一直在尝试在我的网站上制作slabtext,但出现错误。不知道如何解决它。
$(window).load(function() {
Uncaught TypeError: Property '$' of object [object Object] is not a function
slabTextHeadlines();
});
// Function to slabtext the hero panel
function slabTextHeadlines() {
$('html:not(.ie8)').find('.slab').slabText({
// Don't slabtext the headers if the viewport is under 380px
"viewportBreakpoint":380
});
};
有任何想法吗?巴勃罗。