Jump to content

Dashcode Annoyances


higuy001

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...