jsymonkj / pwi

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

multiple pwi #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-> thank you for this awesome plugin

What steps will reproduce the problem?
Problem A:
1. create 2 pwi for 2 albums of the same username (fancybox viewer)
2. open the first picture of the second album in fancybox
3. we can go backward (in the last picture of the first album)

What is the expected output? What do you see instead?
pwi must be independant (or not)
the 'rel' attribute is only based on $relUsername. so multiple albums from the 
same username were merged.

Problem B:
how i can get the id of the pwi your create (timestamp) ?
$('div').pwi(settings)  -> settings.id is undefined
can you return a pwi object or something like that ?

What version of the product are you using? On what browser and version and
operating system?
Windows Seven 64bits
Chrome 18.0.1025.162
pwi 2.0.0

Link to site showing the described behaviour:
http://

Please provide any additional information below.

Original issue reported on code.google.com by olivier....@gmail.com on 21 Apr 2012 at 12:09

GoogleCodeExporter commented 9 years ago
Did you look at demo 8, there are a number of PWI instances with different view 
on the same albums (using date filtering). You need to create multiple 
instances of PWI, all linked to different divs.

If this does not solve the problem, could you please post the HTML code you are 
using (or a link to a site where I can observe the problem)?

Original comment by borkh...@gmail.com on 25 Jun 2012 at 12:09

GoogleCodeExporter commented 9 years ago
I did have closer look at the issue (and your description). This is indeed an 
issue. To reproduce:
- Open Demo8
- Open 2 albums in different years
- Click on the last picture in the first album
- Click on next, you will go to the first photo in the second album.

Original comment by borkh...@gmail.com on 27 Jun 2012 at 2:25

GoogleCodeExporter commented 9 years ago
Fixed in SVN version 297. See 
http://pwi.googlecode.com/svn/trunk/jquery.pwi/demo8.html

Original comment by borkh...@gmail.com on 27 Jun 2012 at 2:32