jQuery Reel Plugin: showing or hiding the reel image dynamically

后端 未结 1 1294
说谎
说谎 2021-01-28 19:38

Excuse my English.

I tried to use the jQuery Reel Plugin and it works perfectly on my html file.

 

        
相关标签:
1条回答
  • 2021-01-28 19:51

    The reel plugin is initializing all images with the class "reel" on document load. If you change the HTML Dom afterwards, you need to initialize the added image. You can do this by the following javascript instead:

    $('#image').reel({
        images: 'fish/DSCN####.JPG|691..702'
    });
    
    0 讨论(0)
提交回复
热议问题