Page 2 of 2

Guidelines to resize every element of app

Posted: Fri Jun 06, 2014 4:53 pm
by Evgene Karachevtsev

Hello,

Please add this castome css code:

code[name=mobilecontainer1]{
overflow: hidden;
} /code

And this code on event page show:

code$(".dwsc").find("table").each(function(){
$(this).width($(".dwwr").width() - 10);
});/code


Guidelines to resize every element of app

Posted: Mon Jun 09, 2014 5:33 pm
by themac

doesn't work at all.


Guidelines to resize every element of app

Posted: Mon Jun 09, 2014 5:34 pm
by themac

is there any working and tested solution ? thanks.

TheMac


Guidelines to resize every element of app

Posted: Tue Jun 10, 2014 1:17 pm
by Kateryna Grynko

Hi,

Try the following code please:presetTimeout(
function(){
$(".dwsc").find("table").each(function() {
$(this).width($(".dwwr").width() - 10);
});
}
,1000);/pre


Guidelines to resize every element of app

Posted: Wed Jun 11, 2014 11:44 am
by themac

thanks katya, that works perfectly !

Is there a similar solution for height ?

Adding " $(this).width($(".dwwr").height() - 10); " doesn't seem to work

Thanks !

TheMac


Guidelines to resize every element of app

Posted: Thu Jun 12, 2014 6:41 am
by Kateryna Grynko

Hi,

What height would you like to set? Use the following code:
pre$(".dww").height("80");/pre


Guidelines to resize every element of app

Posted: Fri Jun 13, 2014 8:18 am
by themac

Ok, great solution. Thanks !

TheMac