I am trying to implement JQuery vTicker on my website. I am loading the Jquery in header :
<script src="assets/js/jquery.vticker.js" type="text/javascript" ></script>
also have put this script tag in header :
<script type="text/javascript">{literal}$(function() {$("#myclass").vTicker({
speed: 500,pause: 3000,animation: 'fade',mousePause: false,showItems: 3});});{/literal</script>
However I am getting following error :
$("#myclass").vTicker is not a function
showItems: 3
Any help/tip would be highly appreciated. link to the site :
http://67.20.122.201/boikeno/home.php
The site uses Smarty and PHP
You also need to include the full jquery library, the vticker file is just a plugin.
Edit:
Took a closer look at your page. You’ve got all sorts of craziness going on… you’ve defined two DOCTYPEs, two <head> blocks, and you include vticker before you include jquery. All of that should be cleaned up, but the main thing getting in your way here appears to be that you need to include jquery before you include vticker.