higuy001 Posted August 9, 2009 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 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
Archived
This topic is now archived and is closed to further replies.