problems using javascrip/jqueryt in wordpress

  • Author
    Posts
  • #510427

    wpish
    Member

    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

    #510564

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

The topic ‘problems using javascrip/jqueryt in wordpress’ is closed to new replies.