我收到此错误:对象有没有方法“淡出”
Uncaught TypeError: Object [object Object] has no method 'fadeout'
这里是我的代码:
// Fade out the Silhouette and fade in the picture
// when the <h3> Who am I text is clicked
$('div#mysteryPanel > h3').click(function(){
$('#silhouette').fadeout(5000);
});
当在<h3>
标签中的文字被点击图像是假设淡出另一个则是在延迟后淡入。有人可以向我解释我有什么问题,以便我可以解决这个错误?
这是班级作业的一部分,所以对我做错了什么的解释是首选。
什么是错误? –
你读过这个问题的第一行了吗? – sachleen
发布您的HTML代码以及 – Swarne27