[
SOLVED]
Hi Nandynho!
Quick question: In your HTML Plugin, I have a div with the style property "width: 100%;". At a given moment, I want to change its width from 100% to 15% with an animation, so I added "transition: width 1s;" to the div's style properties. Now comes my question: how do I actually change the width property, without using the "Set HTML" action? If I use this action, the transition doesn't trigger, as the div is re-created with the initial property "width: 15%;".
What I want to achieve is the same as hitting F12 in Chrome and manually changing the div's width, which triggers the transition.
Thank you for your help, keep the good work
EDIT: I tried with:
Browser -> Execute Javascript -> "var str = document.getElementById(""myID""); str.outerHTML = str.outerHTML.replace(""width: 100%;"",""width: 15%;"");"[/code:38wldy5s] but the transition doen't trigger either (the width changes from 100% to 15% but without any transition)
[i]EDIT 2:[/i] Solved. The transition triggers when the class is changed [code:38wldy5s]"document.getElementById(""myID"").className = ""newClass"";"[/code:38wldy5s]