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

Guidelines to resize every element of app

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

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Guidelines to resize every element of app

doesn't work at all.

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Guidelines to resize every element of app

is there any working and tested solution ? thanks.

TheMac

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Guidelines to resize every element of app

Hi,

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

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Guidelines to resize every element of app

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Guidelines to resize every element of app

Hi,

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

themac
Posts: 0
Joined: Fri Mar 08, 2013 9:36 pm

Guidelines to resize every element of app

Ok, great solution. Thanks !

TheMac

Return to “Issues”