Preamble Something that I noticed with Captivate’s built in effects is that you cannot (or at least it is challenging) animate buttons. In other words, a user clicks on a button, that button animates, and at the end of the animation, it fires off a function or advanced action. There might (or might not be) ways of doing this with invisible buttons, objects, and effects but this is one method. Please note that if you are very uncomfortable using javascript, […]
Learn JQuery Rotate, Also some basic javascript programming, embedding external javascript libraries into your projects, and more! Here are the basic steps to creating the ‘seesaw – type’ object: 1. Create the object and give it an id name ‘bar’ 2. Create two variables ‘sRot’, and ‘eRot’. Give both a value of 0 3. Create two buttons that execute javascript. (unclick advance project ) Javascript code for right button is: sRot = eRot; eRot = eRot + 7; […]
I wanted a ‘next’ button to appear AFTER an event video finished playing. There might be a way of achieving this with the timeline, but I thought this method worked better. 1. Create a ‘next’ button and ID name it ‘nextBtn’. 2. Hide the button (press the eyeball) 3. Import your event video onto the frame (name does not matter) 4. Execute Javascript on the frame 5. Enter in the following code: document.getElementsByTagName(“video”)[0].addEventListener(‘ended’,yourFunction,false); function yourFunction(e) { cp.show(“nextBtn”); } 6. Watch and […]