I'm using the onBefore() function to check for the tagName of the next
element/slide. (If it's a jpg, png, flv, etc.)
But it looks like the onBefore() function is not run on the first slide,
because the function does not start on the first slide, but it does start
properly when the slideshow
Apparently, yes.
I tried to put a setTimeout around the if-part, and it seems to work.
setTimeout(function() {
if(player (tag == 'object' || tag == 'embed')) {
player.sendEvent('PLAY', true);
}
}, 1500);
--
View this message in context:
http://www.3ddesign.no/tjenester/film.aspx
Here is the onBefore function:
function onBefore(curr, next, opts) {
var tag = next.tagName.toLowerCase();
if(player (tag == 'object' || tag == 'embed')) {
player.sendEvent('PLAY', true);
}
This works, but it does not start playing if the first slide is a flash
object.
Any idea of how to fix this?
Regards,
Ove Andersen
malsup wrote:
function onBefore(curr, next, opts) {
// next is the element that is about
// to be transitioned in
var tag =
Is it possible to configure the cycle plugin so that it only shows a maximum
of 10 numbers in the pager + prev and next?
Or is it best to use a plugin like scrollTo for this purpose?
--
View this message in context:
I have a mixture of images and flash movies (using JW Media Player) in my
slideshow.
The flash movies are set to autostart, which works good in every browser
except IE, because instead of starting the movie when the slide is visible
like the other browsers, it starts it when the page loads.
So
I am trying to change the source of an image when the page loads to
include some code in front, and after the url.
Like this:
Original src:
http://www.teamviewer.com/images/teamviewer.png
How I want it to look like:
/umbraco/ImageGen.aspx?image= + (original-src) + amp;width= +
width +
7 matches
Mail list logo