example not working

Recommend this page to a friend!

      jQuery Background Loader Slideshow  >  All threads  >  example not working  >  (Un) Subscribe thread alerts  
Subject:example not working
Summary:example not working
Messages:2
Author:Stefan Drugda
Date:2014-09-03 12:49:57
 

  1. example not working   Reply   Report abuse  
Picture of Stefan Drugda Stefan Drugda - 2014-09-03 12:49:57
I'm a beginner:
create images ... 1.jpg, 2.jpg...

What next?
thank you

  2. Re: example not working   Reply   Report abuse  
Picture of John Diaz John Diaz - 2014-09-03 13:52:48 - In reply to message 1 from Stefan Drugda
Hi, you need to download the jQuery UI, from here: http://jqueryui.com/download/ and include it in the head of the page. If you intend to use the plugin as a full page background rotator use:

$("body").slideShow({
imagePath: "plugins/p1011_background_changer/images/",
useAsBackground: true,
images: ['.implode(',',$images).']
});

if you want to use it for a container use:

<div id="containerId"></div>

$("#containerId").slideShow({
imagePath: "plugins/p1011_background_changer/images/",
useAsBackground: true,
images: ['.implode(',',$images).']
});

You can see it in action here:
ahorasi.com.co/