Re: AjaxModalDialog in iframe
"Jérémy DE ROYER [INGENCYS]" <[email protected]> Wed, 21 Sep 2011 16:07:16 +0200
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1733640073== Content-Type: multipart/alternative; boundary=Apple-Mail-2--995579847 --Apple-Mail-2--995579847 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Why not setting the ajaxmodaldialog in the top page (not in the frame) = and using a javascript to dynamically change the href of the modal with = a unique id (document.getElementById(myModalDialogId).href =3D = [myFinalHref] ) I've made it once to avoid setting multiple ajaxmodaldialog in a page = but I've never done that with iframe, I don't know if it work, just an = idea... J=E9r=E9my Le 21 sept. 2011 =E0 14:50, Pierre Gilquin a =E9crit : > Hi, > =20 > I use an AjaxModalDialog in an iframe. When started the dialog is = restricted with the size of the iframe. Is there a mean to launch it = from the parent content ? > something similar to target=3D_top ? > =20 > Thanks in advance > =20 > _______________________________________________ > WebObjects-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-dev --Apple-Mail-2--995579847 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 <html><head><base href=3D"x-msg://14/"></head><body style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; ">Why not setting the ajaxmodaldialog in the top page = (not in the frame) and using a javascript to dynamically change the href = of the modal with a unique id = (document.getElementById(myModalDialogId).href =3D [myFinalHref] = )<div><br></div><div>I've made it once to avoid setting multiple = ajaxmodaldialog in a page but I've never done that with iframe, I don't = know if it work, just an = idea...</div><div><br></div><div>J=E9r=E9my<div><br><div><div>Le 21 = sept. 2011 =E0 14:50, Pierre Gilquin a =E9crit :</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; = font-family: Helvetica; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: = none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div = bgcolor=3D"#ffffff"><div><div><font face=3D"Arial" = size=3D"2">Hi,</font></div><div><font face=3D"Arial" = size=3D"2"></font> </div><div><font face=3D"Arial" size=3D"2">I use = an AjaxModalDialog in an iframe. When started the dialog is = restricted with the size of the iframe. Is there a mean to launch = it from the parent content ?</font></div><div><font face=3D"Arial" = size=3D"2">something similar to target=3D_top ?</font></div><div><font = face=3D"Arial" size=3D"2"></font> </div><div><font face=3D"Arial" = size=3D"2">Thanks in advance</font></div><div><font face=3D"Arial" = size=3D"2"></font> </div></div>______________________________________= _________<br>WebObjects-dev mailing list<br><a = href=3D"mailto:[email protected]">[email protected]<= /a><br><a = href=3D"http://www.omnigroup.com/mailman/listinfo/webobjects-dev">http://w= ww.omnigroup.com/mailman/listinfo/webobjects-dev</a><br></div></span></blo= ckquote></div><br></div></div></body></html>= --Apple-Mail-2--995579847-- --===============1733640073== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev --===============1733640073==--