Forums / General Questions / Trying to add JS slideshow

Trying to add JS slideshow

Results 1 to 8 of 8
15 Sep 2015, 02:43
#1
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Posts:
427
Plugin Contributions:
0

Trying to add JS slideshow

I found a script for a slideshow. There's HTML, which I've put on the page, with a link to the script in the root folder of the site. There is also CSS which I've added to the template stylesheet.

The images show but the script isn't working.
http://www.consciouslightproductions.com/store/index.php?main_page=index&cPath=10

Can anyone see why?
15 Sep 2015, 04:29
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Trying to add JS slideshow

jenpen:

I found a script for a slideshow. There's HTML, which I've put on the page, with a link to the script in the root folder of the site. There is also CSS which I've added to the template stylesheet.

The images show but the script isn't working.
http://www.consciouslightproductions.com/store/index.php?main_page=index&cPath=10

Can anyone see why?


The link to the script appears to be invalid

<script src=\"http://www.consciouslightproductions.com/store/breathslider.js\" type=\"text/javascript\"></script></div>


Try it without escaping the quotes:
<script src="http://www.consciouslightproductions.com/store/breathslider.js" type="text/javascript"></script></div>


Cheers
RodG
15 Sep 2015, 05:25
#3
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Posts:
427
Plugin Contributions:
0

Re: Trying to add JS slideshow

Thanks RodG. Getting there. Why would it be showing two at a time now?
15 Sep 2015, 07:01
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Trying to add JS slideshow

jenpen:

Thanks RodG. Getting there. Why would it be showing two at a time now?


It looks like it's coded that way????
15 Sep 2015, 07:32
#5
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Posts:
427
Plugin Contributions:
0

Re: Trying to add JS slideshow

RodG:

It looks like it's coded that way????


??? Looks crap! Would it be easy to recode?
16 Sep 2015, 00:26
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Posts:
6,263
Plugin Contributions:
3

Re: Trying to add JS slideshow

jenpen:

??? Looks crap! Would it be easy to recode?


Try adding this to your stylesheet



.images{ position: relative;}.images img{ display: none; position: absolute;}
17 Sep 2015, 00:21
#8
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Posts:
427
Plugin Contributions:
0

Re: Trying to add JS slideshow

Thanks RodG but the css didn't work. I'm spending far too much time on this (more than the client will ever pay) so I've just put up a table of images for now.