Hi there, I have what I think will probably be a simple issue. I have installed a news ticker for a website I am designing.
I follow the instructions and have this in my html file
But the console gives me the following errors:
breakingNews.js:5 Uncaught TypeError: Cannot read property 'fn' of undefined
>(anonymous function) @ breakingNews.js:5
>(anonymous function) @ breakingNews.js:218
index.php:640 Uncaught TypeError: $ is not a function
>(anonymous function) @ index.php:640
I guess this is an issue with a Jquery conflict. Can anybody offer some assistance? Hopefully I have provided enough information!
Andy
I follow the instructions and have this in my html file
Code:
<script>
$(window).load(function(e) {
$("#bn1").breakingNews({
effect :"slide-h",
autoplay :true,
timer :3000,
color :"red"
});
});
</script>
But the console gives me the following errors:
breakingNews.js:5 Uncaught TypeError: Cannot read property 'fn' of undefined
>(anonymous function) @ breakingNews.js:5
>(anonymous function) @ breakingNews.js:218
Code:
Line 5:
$.fn.breakingNews = function(params){
Code:
Line 218:
})(jQuery);
index.php:640 Uncaught TypeError: $ is not a function
>(anonymous function) @ index.php:640
Code:
Line 640:
$(window).load(function(e) {
I guess this is an issue with a Jquery conflict. Can anybody offer some assistance? Hopefully I have provided enough information!
Andy