Page 1 of 1

Animate Grid or HTML DIV

Posted: Tue Aug 27, 2019 5:08 pm
by sebastian

Hi,

I can't get the grids or html div to animate. I know the code is good bc I can move a mobile button. Can you please tell me how I can animate grids?

$("[dsid=MainGrid]").animate({ "left": "+=50px" }, "slow" );
$("[dsid=html_11]").parent().animate({ "left": "+=50px" }, "slow" );

Those don't seem to work but it works on animating the button


Animate Grid or HTML DIV

Posted: Thu Aug 29, 2019 6:07 am
by Serhii Kulibaba

Hello,

Unfortunately, any help (and/or debugging) with your custom app code or logic as well as 3rd party Apache Cordova/PhoneGap plugins are not covered by our Support policy (https://docs.appery.io/docs/general-s...).
To get such help, you will need to consider purchasing Advisory Pack: (https://appery.io/services/#Advisory_...)


Animate Grid or HTML DIV

Posted: Thu Sep 05, 2019 8:24 am
by Evgene Karachevtsev

Hello,

Your code does not work because of the static positioning of the table, so left changes will not have any effect. Please read more here https://developer.mozilla.org/en-US/d...
Set Class Name for this table, such as relative-pos, for example; add a description of this class to the CSS file, like
pre.relative-pos{
position: relative;
}/pre
and your code will work for the table.