Hi again.

digging into the source code I see the following (and reading the 
documentation):
if I pass a string, a DIV is surrounded and the window is created.
if I pass a hash map, the content is fetched via XMLHTTPRequest in 
_runAjaxRequest

this is done in 0.99 on alert, confirm, etc.

no chance to get an IFRAME...

this is the reason, why I have problems with javascript included in my page, 
that is loaded in the alert window. I am out of the standard javascript
context scope.

is this just old, or the way things should run?

best wishes and a happy new year

Hinnack


>forward of message:
>date: 27.12.2006 16:32:02
>from: "Henrik Genssen" <[EMAIL PROTECTED]>
>to: [email protected]
>subject: RE: Re: [Javawin] alert wnd behavior
>
>Hi,
>
>I ran into this, because I can not use javascript in an alert window, loded 
>via a URL, but
>I can do this, construction a "normal" window, displaying it by 
>showCenter(true);
>
>Hinnack
>
>>reply to message:
>>date: 27.12.2006 16:10:26
>>from: "Felix Shnir" <[EMAIL PROTECTED]>
>>to: [email protected]
>>subject: Re: [Javawin] alert wnd behavior
>>
>>Umm, if you pass in a URL into PWC constructor, and iframe is constructed
>>and used...  What is the issue you are referring to?
>>
>>Felix,
>>
>>
>>On 12/27/06, Henrik Genssen <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> using a alert/info window with an URL, the content seems not to be
>>> constructed with an
>>> IFRAME, but equal to the function setAjaxContent, the content is pulled
>>> via Ajax and piped
>>> into a DIV.
>>> Is there a reason for this? Or am I just using it not in a right manner?
>>>
>>> best
>>>
>>> Hinnack
>>>
>>> _______________________________________________
>>> Javawin mailing list
>>> [email protected]
>>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>>
>>
>>
>>
>>-- 
>>Felix
>>-------------------------
>>God put me on earth to accomplish a certain number of things.  Right now,
>>I'm so far behind, I will never die...
>>

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to