On firefox I use observe('load', func) but in IE there was a problems
(as always) :
{
loadImage: function (img) // part for IE hack
{
this.timer = new PeriodicalExecuter(function(img)
{
$('notice').innerHTML = '<img src="' + img.src + '" />';
if (img.complete)
{
this.timer.stop();
this.timer = null;
this.eventLoad();
}
}.bind(this, img), .40);
},
eventLoad: funcion()
{
// some action apear effect maybe
}
}
// strange but it was working some how
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---