XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
DynamicEffect Slide https://www.bbs.xwidget.com/viewtopic.php?f=8&t=7082 |
Page 1 of 1 |
Author: | Rom [ October 10th, 2019, 7:19 am ] |
Post subject: | DynamicEffect Slide |
Hi ! I try to change DynamicEffect of one slidepanel but my code not work, can you help me ? Code: function menuitem16OnClick(Sender) { Btn01Slide.AnimateChange.Duration = 0.50; Btn01Slide.AnimateChange.DynamicEffect = 0; SaveIni(); SetIniValue(widgetpath+"Config.ini","Boutons","Slide",Btn01Slide.AnimateChange.DynamicEffect); } Ty ![]() |
Author: | Jimking [ October 10th, 2019, 1:40 pm ] |
Post subject: | Re: DynamicEffect Slide |
Hey Rom, I don't know if this can partly help you, but check this one if you can take an idea from it https://www.deviantart.com/jimking/art/ ... -481753042 As I understand that you want to overwrite the editor build-in settings and do it all through js, but using the above example you will use not only the code but play with the "Switch Animation" duration and effect of the Editor. @yereverluvinuncleber creates widgets using only js code but I don't remember which of his widgets use the slide function.. |
Author: | DanDaBear [ October 10th, 2019, 3:27 pm ] |
Post subject: | Re: DynamicEffect Slide |
Hi Rom Try using: animation.duration=".5" and animation.dynamicEffect="0" These are the two value names I got from "main.xml" |
Author: | Rom [ October 10th, 2019, 9:34 pm ] |
Post subject: | Re: DynamicEffect Slide |
Hi ! I will try you'r widget but i can't find the code i need. I have try Code: Try using: animation.duration=".5" animation.dynamicEffect="0" But not work.... I will try to explain to you what I would like to do. I created a menu with a slide effect on the buttons, by default in "exponential", But I wish I could create an options to be able to change the effect of the slide in Linear, Quadratic, Cubic Etc ..... Gif of my slide effect https://gyazo.com/502adef06890bad8aa51763c76dfc963 thx. ![]() |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |