joeblack9988 / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

Ken burns pan doesn't work anymore #167

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the 199 version of Slideshow 
2. Change the source :
- add this line in the head :
    <script type="text/javascript" src="js/slideshow.kenburns.js"></script>

- change
        var myShow = new Slideshow('show', data, {
to
        var myShow = new Slideshow.KenBurns('show', data, {

- add the two ken burns options as follow: {...,pan:100, zoom:0}

3. See changes : no zoom (normal) and no pan (not normal).

What is the expected output? What do you see instead?
A pan effect. No pan is visible (the image doesn't move even from 1 pixel).

What version of the product are you using? On what operating system and
browser?
Version 199, 145. Firefox 3.6, Safari 5.03 (seems to be on all browers).

Others slideshow versions seems work :
http://www.electricprism.com/aeron/slideshow/example4.html
http://www.electricprism.com/aeron/slideshow/index.html (first example when 
page is shown)

Please provide any additional information below.
When I put the previous working examples files (mootools.js and slideshow.js), 
the no working example starts to work again.

In the attached files, I have put 2 kenburns slideshows :
- One not working (modified 199 example file for kenburns extension)
- One working (exactly the same as the first one, but mootools.js and 
slideshow.js have been replaced by these ones :
http://www.electricprism.com/aeron/slideshow/js/slideshow.js
http://www.electricprism.com/aeron/slideshow/js/mootools.js

Thanks

Original issue reported on code.google.com by jbaptpe...@gmail.com on 12 Mar 2011 at 9:45

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by aeron.gl...@gmail.com on 17 Mar 2011 at 8:51

GoogleCodeExporter commented 8 years ago
The problem roots back to at least as far as the function _resize() in 
"slideshow.js". Replacing the function body of version 199 with the function 
body of 147 seems to eliminate the problem of the missing pan effect with Ken 
Burns.

Original comment by huny...@gmail.com on 20 Mar 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Use the version of KenBurns bundled with the latest download.

Original comment by aeron.gl...@gmail.com on 11 Apr 2011 at 3:00

GoogleCodeExporter commented 8 years ago
Thanks.
On the new lasted download example (index.html), the Kenburns pan effect works 
fine on IE9, Safari 5.0.3, Firefox 3.6, but NOT in Firefox 4.
To test it, add "zoom:0, pan:100" options to Kenburns slideshow.
Is this issue already known ?

Original comment by jbaptpe...@gmail.com on 11 Apr 2011 at 5:10