Al Sparber - PVII wrote:
> "danilocelic AdobeCommunityExpert"
<danilo@shimmerphase.com> wrote in
> message news:goq7e5$e0e$1@forums.macromedia.com...
>> Sorry, have never looked at that extension. The
timing wouldn't be in
>> the CSS, it would be in some JavaScript. Perhaps you
can post a link
>> to a page so that someone can take a look to see how
to modify the code.
>
> whatsamatta with you - there is a sample link from the
exchange page :-)
>
>
http://www.electricprism.com/aeron/slideshow/
Well thanks, Al. I suppose that I should visit the exchange
more often, as I don't remember being any sample pages posted for
extensions.
It looks like there is are a couple of options that may
determine determines how long images are displayed. From this
sample page which say is is the Ken Burns example:
http://www.electricprism.com/aeron/slideshow/example4.html
There is this in the code:
window.addEvent('domready', function(){
var data = {
'1.jpg': { caption: 'Volcano Asención in Ometepe,
Nicaragua.' },
'2.jpg': { caption: 'A Ceibu tree.' },
'3.jpg': { caption: 'The view from Volcano Maderas.' },
'4.jpg': { caption: 'Beer and ice cream.' }
};
var myShow = new Slideshow.KenBurns('show', data, {
captions: true, controller: true, delay: 4000, duration: 1000,
height: 300, hu: 'examples/', width: 400 });
});
In particular this line:
var myShow = new Slideshow.KenBurns('show', data, { captions:
true, controller: true, delay: 4000, duration: 1000, height: 300,
hu: 'examples/', width: 400 });
See "delay: 4000" and "duration: 1000" ? It seems that delay
may be how long an image is shown and duration is the amount of
time to do the fade between images. The times are in milliseconds
(I assume), so 4000 equals 4 seconds. I'd suggest varying the
values for those two parameters until you get something you like.
As the code is minified, its fairly difficult to know fully
what all is going on in the code beyond what is documented, so, for
future questions, you might want to contact the developer, or of
course, dig in an learn JavaScript as if you're going to use the
web widget extensions, you'll need to know how to dig around to do
more with them.
--
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert