Page 1 of 1

IE order error

Posted: 17 Oct 2008, 06:57
by seeker1977
Hi, i've just registered today 'cause i'm desperate...

Phoca Gallery is an excellent component, i love funcionalities provided and it's really easy to use.

I tried installing phoca slideshow plugin as i want to have slideshow into content. It works great in Firefox but it shows pictures always randomly on Internet Explorer. I want to show up a sequence of pictures illustrating a movement but there's no way Internet Explorer can show it the same order Firefox does.

You can see it here: http://www.preparacionalparto.net/jooml ... acion.html

I have 4 pictures (Fig. 28, 29, 30 and 31) and Firefox makes it ok, while I.E. makes... what Microsoft wants it to make :D:D

Please help me, i have to show the project tomorrow to my customer and he DOES USE Internet Explorer :(

P.S. I launch the gallery with normal {pgslideshow} parameters, Large image size selected...

Re: IE order error

Posted: 17 Oct 2008, 09:35
by seeker1977
I solved it...

I commented lines 40 and 41 in phocagalleryslideshow.js:
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)

And it works now. It's not a very good fix but it solves my problem as I don't want to randomize slideshows

Re: IE order error

Posted: 17 Oct 2008, 23:41
by Jan
Great to hear it, Jan