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

How to adjust Height on Sample "EmbeddedWebAppSampleGadget-2.0"

Gerry O'Rourke
Rising star
Rising star

Hi,

I have downloaded the latest Sample Finesse Gadgets.

I have made various attempts to change the height of the Sample embedded Web App, to no avail.

Can anyone assist?

Regards,

Gerry

1 ACCEPTED SOLUTION

Accepted Solutions

dekwan
Cisco Employee
Cisco Employee

Hi,

You would need to explicitly add the width and height parameters to the iframe tag.

     var html = '<iframe src="' + _urlToLoad + '" id="displayFrame" width="100%" height="650"></iframe>';

If you want the width to be the width of the browser page, set it to 100%, then change the height to whatever height you want.

Thanx,

Denise

View solution in original post

1 REPLY 1

dekwan
Cisco Employee
Cisco Employee

Hi,

You would need to explicitly add the width and height parameters to the iframe tag.

     var html = '<iframe src="' + _urlToLoad + '" id="displayFrame" width="100%" height="650"></iframe>';

If you want the width to be the width of the browser page, set it to 100%, then change the height to whatever height you want.

Thanx,

Denise

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: