Support » Fixing WordPress » My slideshow doesn't work!

  • Resolved Bovah



    Im totally new to WordPress and converted my HTML site to WordPress using this guide a couple of days ago. So everything is working but a slideshow doesn’t work.

    The script looks like this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    and it is between the <head> and </head> tags.

    The HTML looks like this:

    <div class="slideshow">
    		<img src="<?php bloginfo('stylesheet_directory'); ?>/images/slide1.jpg"/>
    		<img src="<?php bloginfo('stylesheet_directory'); ?>/images/slide2.jpg"/>

    Now, the problem is that slide2.jpg is placed below slide1.jpg outside the div. But it shouldn’t, the div is supposed to change picture every fifth second from slide1.jpg to slide2.jpg. What should I do to get it work?

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Im sorry, I just now noticed why it was not working.

    <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/">

    This was the problem, it must have gotten wrong when I used find and replace.


Viewing 1 replies (of 1 total)
  • The topic ‘My slideshow doesn't work!’ is closed to new replies.