Slideshows in iRev
briany at qldlearning.com
Sun Dec 20 01:29:46 EST 2009
simple as this:
<body onLoad="setTimeout('window.location.href = \'http://http://
resources/lexicon/images/backgrounds/¤t_slide=13\' '), 5000)">
This would go to the next slide in 5 seconds after the current page is
this one-liner should work. It just creates a 5 second timer, and then
changes the URL of the current page.
> while waiting for the plug-in to settle down ( I can't deploy
> revlets until the update function is working)
> I've been playing with iRev engine.
> Here's a slide show that uses an iRev template in an iFrame.
> this code is generated by iRev functions to set up links behind the
> previous and next buttons, where the buttons post the next slide and
> previous slide numbers and path to the irev page which then returns
> the slide with a new set of update buttons. I'm not really worried
> about the round trip to the server because the html here is so
> small, the CSS (not shown) is cached and you have to fetch the
> photos anyway, a little more html text is hardly an issue.
> Now, I'm wondering if there is a way to make this thing drive
> itself, so the user does not have to click the next button, using
> iRev code.
> I suspect I can't really do that with iRev but will need some
> <div id="slideShowStage">
> <div id="storyTitle">
> Word of the Day Background Contributions </div>
> <div id="slide">
> <img src="http://www.himalayanacademy.com//resources/lexicon/images/backgrounds/100_0967.jpg
> " alt="" height="420" width="700" />
> <div id="caption">
> <div id="slideNav">
> <a href="http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/¤t_slide=11
> <div class="buttonPrevious"> </div></a>
> <a href="http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/¤t_slide=13
> " target="slides-stage">
> <div class="buttonNext"> </div>
More information about the Use-livecode