Dj-Corps / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

how to transfer a function or var to iframe loaded #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
SimpleModal or SimpleModal Contact Form (SMCF)?
SimpleModal
Version of SimpleModal of SMCF (indicate Demo or WordPress plugin)?
SimpleModal 1.3

Version of jQuery?
jQuery 1.3

Browser/OS you are experiencing the problem with?
both firefox and ie,any version.

If applicable, please provide a code snippet or link to a website
demonstrating the problem.

i want to transfer function 'callback' and 'unloadme' to the iframe list as
filebrowse.html,but failed.

If applicable, please list the other code/libraries/plugins you are trying
to integrate with.
no others.

Original issue reported on code.google.com by xur...@gmail.com on 21 Aug 2009 at 7:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
solved,thx.
onShow: function (dialog) {
                $("iframe", dialog.data)[0].contentWindow.callback=callback;
                $("iframe", dialog.data)[0].contentWindow.unloadme=unloadme;
            },

Original comment by xur...@gmail.com on 21 Aug 2009 at 8:17

GoogleCodeExporter commented 8 years ago

Original comment by emartin24 on 21 Aug 2009 at 4:10