WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] My slideshow doesn't work! (2 posts)

  1. Bovah
    Member
    Posted 2 years ago #

    Hey!

    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"/>
    	</div>

    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

  2. Bovah
    Member
    Posted 2 years ago #

    Im sorry, I just now noticed why it was not working.

    <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js">

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

    Solved!

Topic Closed

This topic has been closed to new replies.

About this Topic