Issue 265: Cant set height/width of an iFrame modal
Status:  WontFix
Owner: ----
Closed:  Jul 2009
Reported by adri...@formative.ca, Jun 10, 2009
What steps will reproduce the problem?

1. Now, first and foremost my modals are triggered by flash which calls
javascript which is responsible for instantiating a modal. The javascript
I'm using to show an iFrame is as follows:

$.fn.nyroModalManual({
     bgColor: '#000000',
     type: "iframe",         
     url: url,    
     width: 100,
     height: 190
});

For the url property, I pass it a url variable that points to a page on the
same domain. 

2.
3.

What is the expected output? What do you see instead?

Now the window comes up as normal (in terms of how it does when im using
inline content,) but it does so with the default witdth/height dimensions.
I've spent a few hours trying different javascript in order to get it to
work to no avail. There are like 3 different ways to get the exact same
result with no methods rendering the iframe properly. I must be missing
something then, could someone please help?

Please use labels and text to provide additional information.


Jun 11, 2009
#1 adri...@formative.ca
Never mind I figured it out myself. Inside the .js file for nyroModal are minWidth
and minHeight variabled. They were set higher than the dimensions I was going for
(100x190). Changing these values to 20 and 20 allowed my iframe to assume the correct
dimensions. I hope this helps others....
Jul 9, 2009
Project Member #2 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix