cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
0
Helpful
1
Replies
Contributor

How to adjust Height on Sample "EmbeddedWebAppSampleGadget-2.0"

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

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: How to adjust Height on Sample "EmbeddedWebAppSampleGadget-2.0"

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
Highlighted
Cisco Employee

Re: How to adjust Height on Sample "EmbeddedWebAppSampleGadget-2.0"

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

CreatePlease to create content
This widget could not be displayed.