IE order error

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
seeker1977
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Oct 2008, 06:51

IE order error

Post 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...
seeker1977
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Oct 2008, 06:51

Re: IE order error

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: IE order error

Post by Jan »

Great to hear it, Jan
If you find Phoca extensions useful, please support the project
Post Reply