I am trying to convert my webiste to wordpress theme. I'v followed some tutorial on the web. They are good but basic.
The header of my website is dynamic slideshow of some images. The slideshow is made able using javascript and jQuery(found it here "http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm"). It works perfectly on my website. I tryed to add this dynamic slideshow to my wordpress theme but there seems to be a problem by finding the images, well I think this is the problem. l think I'v tried everything to solve this issue but with no luck.
this is how I include thejquery file:
<?php wp_enqueue_script('jquery'); ?>
and after wp_head() I include the follwoing javascript files
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/fadeslideshow.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/slideShow.js"></script>
in the slideShow.js the images are referenced ass follow:
imagearray: [
["/img/banner_2.jpg"],
["/img/banner_animation1.jpg"],
["/img/banner_animation2.jpg"],
["/img/banner_animation3.jpg"]
]
Please help.
Thank you