Page Count For Other Chapters
June 27, 2007 12:00 AM
Not readily available as far as I know.If you have a small number of chapters and you don't want to do it manually (hard coding), then you will have to visit one page in each chapter. Here is the workaround. Your first page sets a variable (say X) to 1. Then opens a small popup window to the first page in chapter 2. That page has an on show action that saves the number of pages in that chapter. Then another action that goes to the first page in chapter 3 if X = 1. Repeat for chapter 3, etc. On the last chapter set X=0 so when you really get to the chapters it does not automatically go to the next chapter. Also, on the last chapter, close the popup window if X=1.Not a pretty sight but it will do the job.You might even be able to do this in a hidden I-frame. If my first solution is not acceptable, contact me and I we can talk about the I-frame solution.
Discussions have been disabled for this post