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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

java script for styling for responsiveness of mashup

svisveswaraiya
17-Peridot

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

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. 

View solution in original post

3 REPLIES 3

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. 

slangley
23-Emerald II
(To:zyuan1)

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

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

Top Tags