• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes

Hi:

I got a document whit a single page that contains three MSO animated whit FlipCard and works fine.

The same page into a document whit three pages does not work.

https://drive.google.com/drive/folders/1J2e0FEs1vROhS0F12wOfRaX-hMhA-W4_?usp=sharing

Any solution, please

Thanks.

 

Iñaki Martínez

asked in bugs by (290 points)
    
Thanks for the file. I'm looking into it now.
Thanks again, Justin. Now works fine.
Bye.
Glad to hear it. :-)

1 Answer

0 votes
 
Best answer

The problem lies within the custom Reset MSO javascript.

This will be automatically be fixed within the in5.config.js file in the next update, but you can fix it sooner by modifying the Reset MSO script to the following (new code highlighted):

$(document).on('newPage', function(e,data){
if(nav.previousPageIndex !== undefined) {
    $('.page').eq(nav.previousPageIndex).find('.mso').each(function(i,el){ toFirstState(el); $(el).filter('[.flipcard-side,.flipcard-up').children('.state').attr('style',''); });
    $('.page').eq(data.index).find('.mso').each(function(i,el){ toFirstState(el); $(el).filter('.flipcard-side,.flipcard-up').children('.state').attr('style',''); });
}    
});

Update: this is now automatically fixed in v3.1.9.

 

 

 

answered by (147k points)
edited by