Advertisement

Vertical slideshow not working within AJAX page

Moderators: Calcifer, slothy

Vertical slideshow not working within AJAX page

Postby richLund » Mon Mar 10, 2008 8:21 pm

I have tried to implement the vertical slideshow within an ajax page (slideshow called from external page to appear in div) and it doesn't slide on mouseover. I have a feeling there is a conflict with the 'window onload' function.

There is another sequential slideshow active on the first page that loads. Here is the code that appears in the head for the first slideshow function:

<script type="text/javascript">

window.onload = function() { myShow = new Slideshow('my_slideshow', {type: 'zoom', duration: [4000, 7000], hu: 'img/', images: ['1.jpg','2.jpg','3.jpg','4.jpg','5.jpg','6.jpg','7.jpg',]}); }

</script>

Is it actually possible to use the vertical slideshow in this manner, i.e calling both functions even though one has not loaded yet.

Can anybody advise me of the correct syntax to call both functions. I am quite a novice to javascript.
richLund
 
Posts: 1
Joined: Mon Mar 10, 2008 8:05 pm
Location: shropshire


Return to Gallery script questions

Who is online

Users browsing this forum: No registered users and 4 guests

cron