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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Mashup resolution - popup resolution

Ju
10-Marble
10-Marble

Mashup resolution - popup resolution

Hello,

 

I have a navigation widget on my mashup (responsive) which open a modal popup.

My problem is that depending on the resolution of the screen, the size of the popup is more or less correct.

(For example, on 27' screen with big resolution, the popup is too small.)

 

I see we can bind the popup size on the navigation wigdet (FixedPopupWidth and FixedPopupHeight).

Is it possible to get main mashup size so that I can set via a service the popup size to 75% (for example) of the main mashup ?

 

Thanks.

Best regards

 

Julien

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ju
10-Marble
10-Marble
(To:Ju)

I have find a solution with the expression widget.

One expression widget with "Expression" = screen.width, the Output give me the width.

One expression widget with "Expression" = screen.height, the Output give me the height.

(We can also use screen.availWidth and screen.availHeight for more precision).

 

Hope it can help.

View solution in original post

1 REPLY 1
Ju
10-Marble
10-Marble
(To:Ju)

I have find a solution with the expression widget.

One expression widget with "Expression" = screen.width, the Output give me the width.

One expression widget with "Expression" = screen.height, the Output give me the height.

(We can also use screen.availWidth and screen.availHeight for more precision).

 

Hope it can help.

Top Tags