The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. Bovah
    Posted 4 years ago #


    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

  2. Bovah
    Posted 4 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.


Topic Closed

This topic has been closed to new replies.

About this Topic