PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → JQuery animate fonction Webdev
JQuery animate fonction Webdev
Iniciado por William, 10,dic. 2019 11:00 - 2 respuestas
Publicado el 10,diciembre 2019 - 11:00
Bonjour,

J'aimerais animer un menu (dans un cellule) avec des fonctions JQuery. Mais la fonction JQuery ne fonctionne pas mais le même code en JS fonctionne :

Code Webdev :
jQuery(CEL_MENU).animate("{width: 55px}", 500)


Code JS :
$('.main_menu').animate({width: '55px'}, 500);


Une idée ?

William
Miembro registrado
950 mensajes
Popularité : +53 (63 votes)
Publicado el 10,diciembre 2019 - 12:15
Bonjour,

Essaye avec ca,

https://doc.pcsoft.fr/fr-FR/?1000021008

Jordan
Publicado el 10,diciembre 2019 - 14:21
Pas mieux avec :
jQueryExecute(CEL_MENU, "effect", "animate", "{width: 55px}", 500)