Giter Club home page Giter Club logo

Comments (9)

yairEO avatar yairEO commented on June 6, 2024

do you have s demo page where I can see this?

from photobox.

zack9433 avatar zack9433 commented on June 6, 2024

http://plnkr.co/edit/zE4iIMNg880OIGUZYkJO?p=preview

from photobox.

yairEO avatar yairEO commented on June 6, 2024

I don't really know what you did there, but this DOES work, 100%. I just tested it, and also it's on some major websites, in production code, and it works.

look in this test page:
http://jsbin.com/uhozot/2/edit

from photobox.

zack9433 avatar zack9433 commented on June 6, 2024

Hi

I just want to present dynamically append behavior in playing gallery mode.

If i get images using async way in playing mode, the gallery does not add new item in thumbnails

Is there any way to do that?

from photobox.

yairEO avatar yairEO commented on June 6, 2024

I'm sorry I don't understand. what do you mean by async? what is "playing mode"?

from photobox.

zack9433 avatar zack9433 commented on June 6, 2024

This is what i mean for playing mode
https://dl.dropboxusercontent.com/u/16706203/%E5%9C%96%E7%89%87%203.png

If i request my server to get new images and append to DOM when playing mode is running,

the gallery does not show new images in thumbnails.

I must cancel photobox and start photobox again.

from photobox.

yairEO avatar yairEO commented on June 6, 2024

Fixed, try now

from photobox.

zack9433 avatar zack9433 commented on June 6, 2024

Cool~

This is really awesome

Works great

from photobox.

zack9433 avatar zack9433 commented on June 6, 2024

There is an error which you dynamically append DOM and not in playing mode

This is error message:
https://dl.dropboxusercontent.com/u/16706203/error.png

This is because there is no activeIndex(value is -1) and call updateIndexes will be wrong.

from photobox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.