Unfortunitly since the Parent and child are from two different domains
it wont give me access to it and gives an error of "Permission denied
to get property Window.nodeType". I should have mentioned that i tried
it in other forms and same result as well. I am not sure if it is even
do-able at this point.
But thanks for the help!
On May 13, 9:23 pm, snorkel <benedect...@googlemail.com> wrote:
> I am pretty new to all this, but here goes.. it seems to me you need
> to have something like
> window.parent.load (javascript)
> you need parent because aniframeis a window
>
> On May 14, 12:08 am, Red <tankgir...@gmail.com> wrote:
>
> > I am stuck with an issue of getting mymodalto pop up and out of the
> >iframeand show on top of the parent page. I am using the jqModal and
> > you seem to have answers for everything but this...
>
> > I have a parent page, that i can not edit, with aniframethat
> > contains the logic for themodal. When the themodalis triggered, it
> > only shows inside of theiframeand i cant seem to get it to pop up
> > over the parent window.
>
> > This is the ultimate objective:
> > OnLoad of the parent page, if something=true to pop up themodalfrom
> > within theiframeto show over the parent.
>
> > I can get it to do everything that i need it to do BUT pop up outside
> > of theiframe. ...idk... i think i am just running in circles at this
> > point....
>
> > SO here is the simplified code that is nested inside of the parent
> >iframe.... it loads themodalonLoad of the page, but its inside the
> >iframe... :-(
>
> > [HTML]
> > <style>
> > .jqmWindow {display: none; position: fixed; top: 17%; left: 50%;
> > width: 510px; margin-left: -300px; background-color: #FFFFFF; color:
> > #333; border: 1px solid black; padding:0px 10px 10px 10px;}
> > .jqmOverlay {background-color: #000;}
> > </style>
> > <script type="text/javascript">
> > $(window).load(function(){
> > $('#dialog').jqm();
> > $('#dialog').jqmShow();});
>
> > </script>
> > <div id="dialog" class="jqmWindow">
> > Content ofModalwould go here.
> > </div>
> > [/HTML]