Custom Table of Contents with Ease In/Out Effect
Hi All,
I'm having trouble with a custom table of contents that I created. I followed Paul Wilson's directions on how to create a pop-out table of contents, because I'm looking to maximize my viewing area at all possible times. However, I didn't really like the way the table of contents just sort of appeared and disappeared like a light switch.
What I would like to achieve is to have an ease-in, or equivalent effect applied when you open the menu, and then have the menu ease out when you close it.
I've tried to do this a bunch of different ways, but nothing seems to work. What keeps happening instead, is that the first time, it works beautifully, but on subsequent toggles, the menu moves further and further towards the edge of the screen, until...it just never comes back.
I'm wondering how I can get the menu to stay in place when applying this effect, because it seems to just be picking up where the last effect ended.
Does that make sense to anyone?
Thanks in advance!
-Martin
