Problem with a class attr


hello,

 

i'm trying execute command…

 

sym.$("cible").attr({class:"pancarte"});

 

… nothing happens.

 

of course, i've tried apply pancarte class in html document (to <p>) , works.

i tried addclass() method, nothinh happened.

 

i'm not able apply class element in edge animate

 

david

bonjour david et bienvenue sur le forum. vous pouvez ajouter les classes dans edge directement ou bien vous pouvez utiliser addclass() (voir ci-dessous).

is element cycle created or put on stage? if put on stage can give classname @ design. should find class button on left side of screen.

2013-08-14 07_29_06-index.html - edge animate cc.png

if want add class after creation can use addclass.

sym.$('cycle').addclass('pancarte');

 

then have elements class or changed example:

sym.$('.pancarte').css({'left': 100});



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands