the error could be the end of line at the end of the word "required"...
I try the example before send it...
2008/10/24 realure <[EMAIL PROTECTED]>:
>
> I use your method,but it says"unterminated string literal" at"<button
> onclick="window.parent.Huy('This si the required
> dialog');">Click me...</button>"
>
> On 9月19日, 上午6时29分, "Jaime Ochoa Malagón" <[EMAIL PROTECTED]> wrote:
>> If I understand correctly your question you could do this...
>>
>> ---------------------------------------------------- lolo.html
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" >
>> <head>
>> <title>Untitled Page</title>
>> <script type="text/javascript" src="jquery-1.2.6.js"></script>
>> <script type="text/javascript" src="ui/jquery.ui.all.js"></script>
>> <link href="themes/flora/flora.all.css" rel="stylesheet" type="text/css"
>> />
>> </head>
>> <body>
>> <iframe src="lola.html"
>> style="position:absolute;top:150px;left:150px"></iframe>
>> <div id="putMeOver"></div>
>> <script type="text/javascript">
>> function Huy(msg){
>> $("#putMeOver")
>> .html(msg)
>> .dialog({
>> modal:true,
>> iframe:true,
>> height:768,
>> width:1024
>> });}
>>
>> </script>
>> </body>
>> </html>
>> -------------------------------------------------------lola.html
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" >
>> <head>
>> <title>Untitled Page</title>
>> </head>
>> <body>
>> <button onclick="window.parent.Huy('This si the required
>> dialog');">Click me...</button>
>> </body>
>> </html>
>> --------------------------------------------------
>> I probe it and this work on IE6 with jquery-ui-1.6rc1 hope this help...
>>
>>
>>
>> On Thu, Sep 18, 2008 at 9:21 AM, rics <[EMAIL PROTECTED]> wrote:
>>
>> > Not yet Finesse.
>>
>> > :(
>>
>> > But I'm still trying to find a way. I'm sure it can be done, but I'm
>> > not exactly a great javascript developer... LOL
>>
>> > On Sep 17, 10:04 am, Finesse <[EMAIL PROTECTED]> wrote:
>> >> Rics... Did you ever get this to work? I tried but it didn't work. I
>> >> am not exactly sure if I am performing the right steps.
>>
>> >> On Sep 12, 2:24 pm, rics <[EMAIL PROTECTED]> wrote:
>>
>> >> > Well, I don't think I get it 100%, but I'll try to implement what you
>> >> > told me.
>> >> > Thanks.
>>
>> >> > On Sep 10, 8:45 pm, "Jaime Ochoa Malagón" <[EMAIL PROTECTED]> wrote:
>>
>> >> > > the ifram knows the parent an with that you could call (I usually do
>> >> > > this with a reference inside the iframe (in my case another window)
>> >> > > like iframe.parent_variable=window in the parent) and in the child...
>>
>> >> > > parent_variable.some_function() to do the job in the parent...
>>
>> --
>> Perhaps the depth of love can be calibrated by the number of different
>> selves that are actively involved in a given relationship.
>>
>> Carl Sagan (Contact)
>>
>> Jaime Ochoa Malagón
>> Arquitecto de Soluciones
>> Cel: +52 (55) 1021 0774
>
> >
>
--
Perhaps the depth of love can be calibrated by the number of different
selves that are actively involved in a given relationship.
Carl Sagan (Contact)
Jaime Ochoa Malagón
Arquitecto de Soluciones
Cel: +52 (55) 1021 0774
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---