animation.firstElement.style.opacity = animation.now;
}
function limit_3 (a, b, c)
{
return a < b ? b : (a > c ? c : a);
}
function computeNextFloat (from, to, ease)
{
return from + (to - from) * ease;
}
function enterflip(event)
{
document.getElementById('fliprollie').style.display = 'block';
}
function exitflip(event)
{
document.getElementById('fliprollie').style.display = 'none';
}
// Perform the flip from front to back.
function showPrefs()
{
var front = document.getElementById('front');
var back = document.getElementById('back');
if (window.widget)
widget.prepareForTransition('ToBack'); // freezes the
widget so that you can change it without the user noticing
front.style.display='none'; // hide the front
back.style.display='block'; // show the back
if (window.widget)
setTimeout ('widget.performTransition();', 0); // and
flip the widget over
}
// Perform the flip from back to front, refresh content under the
assumption
// that the configuration has changed.
function hidePrefs()
{
var front = document.getElementById('front');
var back = document.getElementById('back');
var flipcircle = document.getElementById('fliprollie');
if (window.widget)
widget.prepareForTransition('ToFront'); // freezes
the widget and prepares it for the flip back to the front
flipcircle.style.display='none';
back.style.display='none'; // hide the back
front.style.display='block'; // show the front
if (window.widget)
setTimeout ('widget.performTransition();', 0); // and
flip the widget back to the front
getUser();
}
a little long winded, but basically ive narrowed it down to something
happening when the getSearch function is called.
Thanks
Andy
On 11-May-05, at 11:42 AM, John Louch wrote:
You would need to sample the widget for us to tell what is happening.
Thanks,
jl
i have a widget that displays some xml data from a website.
everything works
fine, until i leave the widget using widget.openURL . when you
return to the
widget it seems to lose all javascript functionality that used the
widget.
object.
widget.openURL no longer works, the flip transitions no longer
work, and my
preference keys are gone. basically all functions that use
widget.anything no
longer work.
anyone have any idea what is happening?
andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
This email sent to email@hidden
--------------------------------------------------
John Louch Internet #: email@hidden
(805) 541 2965
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden