Jquery and wordpress
-
I have added stylesheets and javascript files into my html template before using the <?php bloginfo(‘template_url’);?> but for some reason this time my scripts wont work.
I have implemented this jquery newsticker: http://www.jquerynewsticker.com/
I have added the scripts to my header.php file as follows:
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/newsticker/styles/ticker-style.css" media="screen" />
<script src="<?php bloginfo('template_url'); ?>/newsticker/includes/jquery.ticker.js" type="text/javascript"></script>
But my ticker doesnt show up? when i remove the display:none style from the .js-hidden css tag in the javascript file. my list items show up as bullet points but no animation or anything.
All my other scripts work fine, including other jquery and css files.
Thanks in advance
- The topic ‘Jquery and wordpress’ is closed to new replies.