-
Notifications
You must be signed in to change notification settings - Fork 4
Home
premasagar edited this page Sep 13, 2010
·
33 revisions
See the project home page for basic usage.
Returns an iframe element, wrapped inside a standard jQuery collection – i.e. $('<iframe></iframe>') – that has been extended with some additional methods (for details on these, see below). This extended collection object is referred to here as an “AppleOfMyIframe” or “Aomi” object.
All arguments are optional:
-
headContents(string):
An HTML string to be appended to the iframe document’s<head>element, once the iframe loads. -
bodyContents(string):
An HTML string to be appended to the iframe document’s<body>element, once the iframe loads. -
options(object):
An object of different options to use when initialising the iframe. See Options. -
callback(function):
A function that will be called when the iframe is ready. This fires after the Aomi object’s ‘ready’ event and before its ‘load’ event. See Events.