[SOLVED] Javascript call in page not working?
Posted: Sun Aug 30, 2009 5:42 pm
Hi all,
I've had a lot of success with cms made simple in the past and really enjoy the tool.
I am having issues with a javascript call that I'm making on a single page (gallery):
http://pointgrace.server292.com/gallery/
I have other javascript events going on, but this one seems to be kicking the bucket. Script is the following:
http://www.leigeber.com/2008/12/javascript-slideshow/
The code renders correctly:
Cheers
I've had a lot of success with cms made simple in the past and really enjoy the tool.
I am having issues with a javascript call that I'm making on a single page (gallery):
http://pointgrace.server292.com/gallery/
I have other javascript events going on, but this one seems to be kicking the bucket. Script is the following:
http://www.leigeber.com/2008/12/javascript-slideshow/
The code renders correctly:
I already had a wrapper CSS, so I just changed this one to have an extra p, not a typo. Does anyone know what's going on? The answer is bugging me, so $10 via paypal to anyone who can solve it...
Image One
pgimages/gallery/large/1.jpg
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut urna. Mauris nulla. Donec nec mauris. Proin nulla dolor, bibendum et, dapibus in, euismod ut, felis.
Image Two
pgimages/gallery/large/2.jpg
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut urna. Mauris nulla. Donec nec mauris. Proin nulla dolor, bibendum et, dapibus in, euismod ut, felis.
$('slideshow').style.display='none';
$('wrapper').style.display='block';
var slideshow=new TINY.slideshow("slideshow");
window.onload=function(){
slideshow.auto=true;
slideshow.speed=5;
slideshow.link="linkhover";
slideshow.info="information";
slideshow.thumbs="slider";
slideshow.left="slideleft";
slideshow.right="slideright";
slideshow.scrollSpeed=4;
slideshow.spacing=5;
slideshow.active="#fff";
slideshow.init("slideshow","image","imgprev","imgnext","imglink");
}
Cheers