I have in window.onload the following
Event.observe('image', 'click', function(){ new ImageLoad($('image').id) })
In the ImageLoad class i clone $('image') with
var clone = $('image').cloneNode(true);
and then insert it somewhere else
$('oldimage').appendChild(clone);
In IE7 (and maybe other IEs) the 'click' Event is still active on the
clone. Even with changed ID, changed size, everything ...
I tried to stopObserve with the same parameters, aswell as using the
clone-variable, before and after clone modification, but nothing seems
to work.
What can i do?
--
Regards, Kjell
www.m3nt0r.de
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---