Moving to InDesign EPUB forum
Thanks. Unfortunately, I don't really think it's an ePub question. I wish it were because I think the fix would be simple. Maybe it's is more of a multi-state object or button/scripting question? I could be wrong (because I'm new to the ePub world), but I don't believe that my answer lies in the creation of the ePub. It's more about the setting up of the InDesign document, I believe.
OK, I'll move the question back. I mis-read your question.
It most certainly is an EPUB question but AFAIK, there is no way to accomplish this with one click.
Staring down the barrel of a 1,200 page task, I would consider 200 clicks a success. Maybe if I rephrase the question...
Is there a way to create mult-state objects (based on layers) automatically on each page of a document to mimic the layer turning on and off as an interactive element to the user?
The scripting guys might be up for the challenge.
Would the manual process go like this.
Create an MSO.
Select all items on a layer and add to the MSO, repeat for each layer.
Remove the blank ( first two ) from the MSO.
Lots of potential to go wrong.
Pretty much. There are a few differences. My overlay pricing layer is actually a flowing text box...
Duplicate the pricing layer and rename "Pricing Off" (this is the top layer so the default state will be off)
Select everything inside of the text box on Pricing Off and delete
All of the layers (except "pricing" and "duplicate pricing") are locked
Select All (page 1)
So that is how they would be created, but making the buttons for the user could get tricky, I would think. Of course, this is just me thinking through the process, but maybe there is another option out there that I'm missing. I've thought about animations, making the layer a button itself, creating 2 books, one with the pricing on and one with the pricing off? I just can't seem to come up with a reasonable solution with the smallest margin for error. I'm using EasyCatalog and it's almost entirely automated, which makes the manual interactivity of the pricing layer for individual pages that much more frustrating.
Truly appreciate your feedback!
It would be nice if you could show and hide ordinary page items with a button.
How about some thing like this.
for each page
select all page items on that page in the prices layer
make the selection a group.
make the group into a MSO.
make the empty MSO item the active item.
create a button to go to next on the MSO.