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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Mashup resolution - popup resolution

Ju
12-Amethyst
12-Amethyst

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

 

ACCEPTED SOLUTION

Accepted Solutions
Ju
12-Amethyst
12-Amethyst
(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
12-Amethyst
12-Amethyst
(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.

Announcements


Top Tags