| Issue 96: | $.nyroModalManual({ type: 'iframe' ... }) not showing in an Iframe | |
| 5 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. <input
type="submit"
name="btn1"
value="Test Button"
onclick="javascript:jQuery.nyroModalManual({ url: '/blah.aspx', modal:
true, type: 'iframe', minWidth: 500}); event.preventDefault; return false;"
id="btn1" />
What is the expected output? What do you see instead?
I expect blah.aspx to appear in an iframe; instead it is added to the div
as inline content.
What version of the product are you using? On what operating system?
v1.2.8, FF3/IE7, WinXP Pro SP3
Please provide any additional information below.
Trying to show in an iframe because inline content alters the ASP.NET
form's event validation system.
Oct 16, 2008
Project Member
#1
nyro...@gmail.com
Status:
Accepted
Oct 22, 2008
In the new release 1.3.0, you should write:
<input
type="submit"
name="btn1"
value="Test Button"
onclick="javascript:jQuery.nyroModalManual({ url: '/blah.aspx', modal:
true, forceType: 'iframe', width: 500}); event.preventDefault; return false;"
id="btn1" />
Status:
Fixed
Nov 5, 2008
What is the difference between type and forceType? Is type effectively readonly?
Nov 5, 2008
type will be overwite by nyroModal internally. if forceType is set up, the function which defining type won't be called and forcetype will be used instead. forcetype was designed to be used only with the manual call. |