sebastian
Posts: 0
Joined: Tue Oct 21, 2014 9:46 pm

Animate Grid or HTML DIV

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Animate Grid or HTML DIV

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_...)

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Animate Grid or HTML DIV

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.

Return to “Issues”