Unfortunately yes, both jquery and simplemodal are in the iframe b.

On Oct 7, 9:56 am, BaBna <thomas.na...@gmail.com> wrote:
> Are the Simple Modal function and jQuery also in frame B?
> If yes, I am not sure, and that sounds like a bad idea...
> If not, you should be able to do something like this:
> var t = top.window;
> var $d = t.$(document.body);
> $d.find("#myElement").modal();
>
> On Oct 7, 2:36 pm, Yeuker <yeu...@gmail.com> wrote:
>
>
>
> > Hi Everyone,
>
> > I am using Eric Martains Simple Modal dialog box.  Here is my
> > problem.  I have a page, (which we will call page A) that contains an
> > iframe (which we will call page B).  I can modify page B, the iframe,
> > but I can not modify page A, the containing page.
>
> > I would like to display the modal dialog box in page A, but have the
> > code and modal div html in page b.  Is this possible.
>
> > This is a tough problem to describe, but hopefully i have done a
> > decent job.  Any questions, please ask and I will get back to you
> > asap.
>
> > Thanks so much for your help,
>
> > Yeuker- Hide quoted text -
>
> - Show quoted text -

Reply via email to