This project is archived and is in readonly mode.

#1134 ✓duplicate
Levis Florian

$('myElement').morph('.class1'); doesn't work

Reported by Levis Florian | January 10th, 2011 @ 08:38 PM

Hi,

$('myElement').morph('.class1'); (like in doc) seems doesn't work with "core without compatibility". With, it's works.

Error : Element.Styles.each is not a function (ligne 4257)(with uncompressed)

But's it's defined ... I have no skill to help you to debug =/

Note : i apply .morph on generated elements (i don't know if it can influence) :

for(i=0; i < $('slideshow-wrapper').getElements('.page').length; i++) {

navs[i] = new Element('li', {'html': i+1});

}

navs[0].morph('.class1'); // navs[0] exist ...

Thanks

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages