Hi,
I have a page that contains a simple animation (zooming in on an image) and it works as expected. The same page has lots of other stuff. I’d like to remove the container that holds the animation once it’s done playing.
I’m attaching a Javascript to a keyframe I’ve placed on the last frame of the animation. The script calls hypeDocument.getElementById(id), and for the ID, I’ve put in the name of the container. The line (which doesn’t work) is this:
hypeDocument.getElementById(‘keatsc1zoom_hype_container’).remove;
I’d appreciate any suggestions for removing “keatsc1zoom_hype_container”. I’d prefer that to setting its visibilty to hidden.
I like this forum
I am trying to combine the “Starting an animation by scrolling to it with Jquery Waypoints” and to disable the effect after it has been played. I did try
I found a way, that is probably not the most elegant one, but it works; I just create another trigger that removes the first one. Of course, the box trigger2 must be below box trigger1