Yes I am Using IE only. But some of the machines it is working fine. If I
access application from completely new machine, then it is giving problem.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 12:23 PM
To: [email protected]
Subject: Javawin Digest, Vol 13, Issue 4

Send Javawin mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javawin digest..."


Today's Topics:

   1. height 100% in body and html breaks the window (Pepe)
   2. Fwd: height 100% in body and html breaks the window (Pepe)
   3. Loading problem (Srinivasa Rama Kiran Y)
   4. Re: Loading problem (S?bastien Gruhier)
   5. Re: Sending to some parent DIV (S?bastien Gruhier)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 Apr 2007 03:06:57 +0200
From: Pepe <[EMAIL PROTECTED]>
Subject: [Javawin] height 100% in body and html breaks the window
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Does any1 know some way to fix it?

Regards.



------------------------------

Message: 2
Date: Wed, 4 Apr 2007 03:14:05 +0200
From: Pepe <[EMAIL PROTECTED]>
Subject: [Javawin] Fwd: height 100% in body and html breaks the window
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Sorry, I made a mistake!

---------- Forwarded message ----------
From: Pepe <[EMAIL PROTECTED]>
Date: Apr 4, 2007 3:06 AM
Subject: height 100% in body and html breaks the window
To: [email protected]


Does any1 know some way to fix it?

Regards.



------------------------------

Message: 3
Date: Wed, 4 Apr 2007 11:45:25 +0530
From: "Srinivasa Rama Kiran Y" <[EMAIL PROTECTED]>
Subject: [Javawin] Loading problem
To: <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

Hello All,

I am using Prototype component for client side validations.
I am forming a table of data in javascript with all error messages and
displaying in prototype window (mac_os_x style window).

Now my main problem is when ever I get any error, form should load this
window but on some of the machines, it is taking hell lot of time and
finally browser getting freezed up. Can any one help me in getting the
solution for this problem?

Regards,
Srini

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 9:30 PM
To: [email protected]
Subject: Javawin Digest, Vol 13, Issue 3

Send Javawin mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javawin digest..."


Today's Topics:

   1. Close all Windows (Patrick Klein)
   2. Re: Close all Windows (Abel Braaksma)
   3. Re: Close all Windows (Patrick Klein)
   4. Re: Close all Windows (Abel Braaksma)
   5. Re: Close all Windows (Alexander Deruwe)


----------------------------------------------------------------------

Message: 1
Date: Tue, 03 Apr 2007 15:08:02 +0200
From: Patrick Klein <[EMAIL PROTECTED]>
Subject: [Javawin] Close all Windows
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi Folks,

I?m new here.
I`m Patrick from germany. Hi ;-)

Now, I?ve got my first question:
This is my source:

<html>
<head>

<link href="./gui/style/blue/default.css" rel="stylesheet" type="text/css"/>
<link href="./gui/style/blue/alphacube.css" rel="stylesheet" 
type="text/css"/>
<link href="./gui/style/blue/spread.css" rel="stylesheet" type="text/css"/>

<script type="text/javascript" src="./includes/js/prototype.js"> </script>
<script type="text/javascript" src="./includes/js/window.js"> </script>
<script type="text/javascript" src="./includes/js/effects.js"> </script>
<script type="text/javascript" src="./includes/js/window_effects.js"> 
</script>
<script type="text/javascript" src="./includes/js/debug.js"> </script>

<script type="text/javascript">


function win2()
{
var win = new Window({className: "spread", title: "Sample", width:200, 
height:150});
win.getContent().innerHTML = "<h1>Constraint inside page 
!!</h1>constraint: {top: 30, bottom:10}";

win.setDestroyOnClose();
win.showCenter();
win.setConstraint(true, {left:10, right:10, top: 10, bottom:10})
win.toFront();
}

function win3()
{
var win = new Window({className: "alphacube", title: "Sample", 
width:250, height:150, wiredDrag: true});
win.getContent().innerHTML = "<h1>No Constraint</h1>Wired mode";
win.setDestroyOnClose();
win.setLocation(10, 500);
win.show();
win.toFront();
}

</script>

</head>
<body>



<script>
win2();
win3();
</script>
</body></html>


Now, the question. Is it possible, to close all the open windows with on 
click?

Thank you
Patrick







------------------------------

Message: 2
Date: Tue, 03 Apr 2007 15:19:36 +0200
From: Abel Braaksma <[EMAIL PROTECTED]>
Subject: Re: [Javawin] Close all Windows
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Patrick Klein wrote:
> Hi Folks,
>
> I?m new here.
>   

Welcome ;)

>
> Now, the question. Is it possible, to close all the open windows with on 
> click?
>   

On the documentation page you can see the function closeAll(), which 
does what you want: 
http://prototype-window.xilinus.com/documentation.html#closeAll

-- Abel



------------------------------

Message: 3
Date: Tue, 03 Apr 2007 15:49:21 +0200
From: Patrick Klein <[EMAIL PROTECTED]>
Subject: Re: [Javawin] Close all Windows
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Abel,

thank you. BUT!
I know this function. Sorry.
I mean, that I can close all windows, not only closeable.
Sorry for this mistake.

Bye
Patrick

Abel Braaksma schrieb:
> Patrick Klein wrote:
>   
>> Hi Folks,
>>
>> I?m new here.
>>   
>>     
>
> Welcome ;)
>
>   
>> Now, the question. Is it possible, to close all the open windows with on 
>> click?
>>   
>>     
>
> On the documentation page you can see the function closeAll(), which 
> does what you want: 
> http://prototype-window.xilinus.com/documentation.html#closeAll
>
> -- Abel
>
> _______________________________________________
> Javawin mailing list
> [email protected]
> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mail.xilinus.com/pipermail/javawin_xilinus.com/attachments/20070403/3
ee26bfb/attachment-0001.html 

------------------------------

Message: 4
Date: Tue, 03 Apr 2007 15:57:21 +0200
From: Abel Braaksma <[EMAIL PROTECTED]>
Subject: Re: [Javawin] Close all Windows
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Patrick Klein wrote:
>
> I know this function. Sorry.
> I mean, that I can close all windows, not only closeable.
> Sorry for this mistake.
>

Well, then you either make them closeable, or if that is not an option, 
destroy them. You'll have to loop through them yourself though.

Note that in your example, all windows are closeable.

-- Abel



------------------------------

Message: 5
Date: Tue, 3 Apr 2007 16:10:24 +0200
From: Alexander Deruwe <[EMAIL PROTECTED]>
Subject: Re: [Javawin] Close all Windows
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On 03 Apr 2007, at 15:57, Abel Braaksma wrote:
> Patrick Klein wrote:
>>
>> I know this function. Sorry.
>> I mean, that I can close all windows, not only closeable.
>> Sorry for this mistake.
>>
>
> Well, then you either make them closeable, or if that is not an  
> option,
> destroy them. You'll have to loop through them yourself though.
>
> Note that in your example, all windows are closeable.

Hey there,

I, too, am new here. :)  Looping through open windows, or getting at  
a previously opened window, how can one do that exactly?
Having a similar problem, in the sense that I open a new window as such:

     var destinationEditWindow = new Window({url: 'script.php', ...);
     destinationEditWindow.showCenter(true);

Then from within the form in 'script.php' I want to add a button to  
close the current window.
Is this possible?

Thanks!


Alexander




------------------------------

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


End of Javawin Digest, Vol 13, Issue 3
**************************************







------------------------------

Message: 4
Date: Wed, 4 Apr 2007 08:45:40 +0200
From: S?bastien Gruhier <[EMAIL PROTECTED]>
Subject: Re: [Javawin] Loading problem
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Which OS/Browser (I guess IE, I don't know why:))
Try to pre-load images to see if it's better

Seb
On Apr 4, 2007, at 8:15 AM, Srinivasa Rama Kiran Y wrote:

> Hello All,
>
> I am using Prototype component for client side validations.
> I am forming a table of data in javascript with all error messages and
> displaying in prototype window (mac_os_x style window).
>
> Now my main problem is when ever I get any error, form should load  
> this
> window but on some of the machines, it is taking hell lot of time and
> finally browser getting freezed up. Can any one help me in getting the
> solution for this problem?
>
> Regards,
> Srini
>




------------------------------

Message: 5
Date: Wed, 4 Apr 2007 08:53:03 +0200
From: S?bastien Gruhier <[EMAIL PROTECTED]>
Subject: Re: [Javawin] Sending to some parent DIV
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

You should use onSuccess: callback on your ajax call to do whatever  
you need to do when you Ajax request is done.
Seb

On Apr 2, 2007, at 11:15 AM, Feliu Quetglas wrote:

> Hi all!!
>
> First i want to thanks your speedy help on my last problem. Now I  
> have another question. I have one window with nice wizard, i create  
> it by the following code:
>
> function openAjaxPopup(link,title,width,height) {
>         var win = new Window({
>           id:                "pacientes",
>           className:         "alphacube",
>           showProgress:         true,
>           parent:            document.body,
>           title:             title,
>           url:               link,
>           width:             width,
>           height:            height,
>           resizable:         false,
>           closable:          true,
>           minimizable:       false,
>           maximizable:       false,
>           draggable:         false,
>           userData:          null,
>           showEffect:        (Window.hasEffectLib ? Effect.Appear :  
> Element.show),
>           hideEffect:        (Window.hasEffectLib ? Effect.Fade :  
> Element.hide),
>           showEffectOptions: {},
>           hideEffectOptions: {},
>           effectOptions:     null,
>           parent:             $('placeholder'),
>           onload:            Prototype.emptyFunction,
>           opacity:           1,
>           recenterAuto:      true,
>           wiredDrag:         false,
>           closeCallback:     null,
>           destroyOnClose:    false,
>           gridX:             1,
>           gridY:             1,
>             })
>         win.showCenter(true);
>
>       }
>
> When the wizard finishes i create a button that calls this funcion:
>
>           function closeAjaxPopup() {
>                 parent.Windows.getFocusedWindow().close()
>               return true;
>           }
>
> My problem is that i need to call some AJAX function (coded below),  
> that sends some info to div in document BODY, and i dont know how  
> to refer it, here is the ajax funtcion i need to call:
>
> function asignarPaciente(){
> var url = '../include/busqueda_conditions.php';
> var pars = Form.serialize('nuevo_paciente');
>     var myAjax = new Ajax.Updater(
>             {success: 'placeholder'},
>             url,
>             {
>                 method: 'post',
>                 parameters: pars,
>                 evalScripts: true,
>                 onFailure: reportError
>             });}
>
> The form serialize is the form appears in prototype window, my idea  
> is make a button that calls first asignarPaciente() function and  
> later closeAjaxPopup(), then the window will be closed and the  
> DOCUMENT BODY, DIV will be refreshed.
>
>
> Hope you can help me,
> Thanks a lot!!
>
>
> -- 
> Feliu Quetglas Canals
> Balear de Chequeos S.L.
> Telf.: 971 76 75 75 - Mov.: 669 25 27 43
> email: [EMAIL PROTECTED]
> _______________________________________________
> Javawin mailing list
> [email protected]
> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mail.xilinus.com/pipermail/javawin_xilinus.com/attachments/20070404/e
d8fe8a4/attachment.html 

------------------------------

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


End of Javawin Digest, Vol 13, Issue 4
**************************************





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

Reply via email to