Hi,
Suddenly the java script to adjust image based on screen size stopped working. This has happenned after upgrade. Pls suggest.
Regds
Hi,
Suddenly the java script to adjust image based on screen size stopped working. This has happenned after upgrade. Pls suggest.
Regds
Hello! Could you post code which doesn't work and tell us where you use it?
Hi,
I use the below code to adjust the iamge size too 100% of container size. I am using this on splash screen of my application:
Appery('mobileimage_47').width('100%').height('100%');
Hi,
Any update on the issue please
Not yet, sorry. Working on it.
Hi Prashant,
The Dimension set for the Image component has a higher priority. Try the following: preAppery('mobileimage_6').attr("style", "width: 100% !important; height: 100% !important;");/pre
Thanks...It worked
I have the same problem since last update, the "important" key word didn't work for me, this is my code:
code
Appery('img_wait').show();
Code: Select all
Appery('img_wait').css('position','absolute');
Appery('img_wait').css('width','100% !important');
Appery('img_wait').css('height','100% !important');
Appery('img_wait').css('margin', 'auto');
Appery('img_wait').css('align', 'center');
Appery('img_wait').css('top', '-20px');
Appery('img_wait').css('left', '-2px');
Appery('img_wait').css('z-index','99999');
Appery('img_wait').refresh();
$(".ui-page").triggerHandler('updatelayout'); /code
pls advice,
Thx much in advance!!
Best,
R.
Hi Ram, we'll check what may cause it, for now you can use workaround that Katya suggested.
Dear Alena,
thank you for your reply.
i tried Katya's workaround and that too didnt work...