cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

java script for styling for responsiveness of mashup

SOLVED
Highlighted

java script for styling for responsiveness of mashup

Hi,

The ThingWorx mashup is not responsive when viewed in ipad or mobile even after changing the resolution.

Is it possible to write and give java script with the resolution that we need the mashup to be in as input and make it responsive?

Thanks,

Shalini V.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: java script for styling for responsiveness of mashup

The mashup can for sure be responsive in mobile device, the problem is only in how you design the mashup.

 

If you use FormLogin to load the mashup, the ipad usually triggers the HomeMashup, and Mobile will open the Mobile Mashup.  If your mashup is responsive with only 1 responsive map or Grid, you will always see that the size matching with your resolution. But when the mashup is complex, the non-responsive widgets on the edge will make your mashup not responsive in smaller devices. Such as buttons. 

3 REPLIES 3

Re: java script for styling for responsiveness of mashup

The mashup can for sure be responsive in mobile device, the problem is only in how you design the mashup.

 

If you use FormLogin to load the mashup, the ipad usually triggers the HomeMashup, and Mobile will open the Mobile Mashup.  If your mashup is responsive with only 1 responsive map or Grid, you will always see that the size matching with your resolution. But when the mashup is complex, the non-responsive widgets on the edge will make your mashup not responsive in smaller devices. Such as buttons. 

Re: java script for styling for responsiveness of mashup

Hi @svisveswaraiya- 

 

If the response provided by @zyuan1 answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Re: java script for styling for responsiveness of mashup

We cannot set resolution in JS code, it's auto-detected.