Jump to content

Dashcode Annoyances


higuy001
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...