higuy001 Posted August 9, 2009 Report Share Posted August 9, 2009 Hi. I have a dashcode project with 3 sides.Does anyone know how to make a "ToSide3" (or something like that) event? I tried copying the original code... function showInstruct(event){ var front = document.getElementById("back"); var back = document.getElementById("instruct"); if (window.widget) { widget.prepareForTransition("ToFront"); } front.style.display="block"; back.style.display="none"; if (window.widget) { setTimeout('widget.performTransition();', 0); }} But that doesn't work.Anyone know how? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 10, 2009 Report Share Posted August 10, 2009 I don't know what a dashcode is or what your widget object is, but you'll probably need to look in the source for the widget object, especially the prepareForTransition and performTransition methods, to see how they handle the existing parts and extend them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now