why dont change this system to a forum.

i think it will be better for traking and making a better comunity.

let me know, i can setit up on phpbb


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, December 13, 2006 3:27 AM
Subject: Javawin Digest, Vol 9, Issue 18


> 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. Re: opening popup 2nd time can't close (Loony2nz)
>   2. Re: Hiding resize image for non-resizable windows
>      (Michael Robertson)
>   3. Re: Really working LoginBox example, please!
>      (Humaneasy Consulting)
>   4. Re: Windows Class and nifty corners (Van)
>   5. Re: is it possible to add an icon to the title bar in front
>      of the title? (one eighty-three)
>   6. Re: is it possible to add an icon to the title bar in front
>      of the title? (S?bastien Gruhier)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Dec 2006 10:44:24 -0800 (PST)
> From: Loony2nz <[EMAIL PROTECTED]>
> Subject: Re: [Javawin] opening popup 2nd time can't close
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> yes i am using the latest version.
> But, I failed to mention that I'm loading a few script libraries before 
> the windows.js file.
>
> <script type="text/javascript" src="includes/engine.js"></script>
> <script type="text/javascript" src="includes/skypeCheck.js"></script>
> <script type="text/javascript" 
> src="includes/scriptaculous/prototype.js"></script>
> <script type="text/javascript" 
> src="includes/scriptaculous/scriptaculous.js"></script>
> <script type="text/javascript" 
> src="includes/windows_js_0.99/javascripts/window.js"></script>
>
> The first one is my JSMX ajax library for database updates.
>
> Hope this doesn't throw things outta whack.  I need that library.
>
> S?bastien Gruhier <[EMAIL PROTECTED]> wrote: Hi
>
> Delegate is not for that, it won't resolve your problem.
> I have tryied your code and it works great for me
> are you using the latest version?
>
> Seb
> On Dec 12, 2006, at 2:03 PM, Greg Miller wrote:
>
>> You probably need to also use setDelegate().
>> Basically:
>>
>> var winDel = {
>>         function canClose() {
>>             return (true)
>>         }
>> }
>>
>> And then when you open your window, add:
>> win.setDelegate(winDel)
>>
>>
>> At 8:21 PM on Monday, 11 December 2006, Loony2nz wrote:
>>> Here's my code for opening/closing a popup:
>>>
>>> function openEditor(){
>>>            var Application =  {
>>>                getNewId: function() {
>>>                return "window_id_#hash(now())#";
>>>                 }
>>>            }
>>>            if (FCK !=null) {FCK.destroy();}
>>>            var FCK = new Window(Application.getNewId(),
>>> {className: "theme1",
>>> title: "Personal Stuff Editor", width:800, height:325, resizable:
>>> true, url:
>>> "SFFCKeditor.cfm?username=#url.username#",
>>> showEffect:Effect.BlindDown,
>>> hideEffect: Effect.SwitchOff ,showEffectOptions: {duration:.5}});
>>>            FCK.setDestroyOnClose();
>>>            FCK.showCenter(true);
>>>        }
>>>
>>> This works for the first time the popup shows.  When I close it, I
>>> get an
>>> error message opening it again that the window ID is already in
>>> the DOM.  I am
>>> using setDestroyOnClose(); but it's not working and the window
>>> won't close
>>> until i refresh the page.
>>>
>>> any ideas?
>>>
>>> Thanks!
>>> Chris
>>>
>>>
>>> ---------------------------------
>>> Have a burning question? Go to Yahoo! Answers and get answers from
>>> real people
>>> who know.
>>>
>>>
>>> _______________________________________________
>>> Javawin mailing list
>>> [email protected]
>>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
>
> _______________________________________________
> Javawin mailing list
> [email protected]
> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
>
>
> ---------------------------------
> Have a burning question? Go to Yahoo! Answers and get answers from real 
> people who know.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> /pipermail/javawin_xilinus.com/attachments/20061212/0591accf/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Tue, 12 Dec 2006 13:32:22 -0800
> From: "Michael Robertson" <[EMAIL PROTECTED]>
> Subject: Re: [Javawin] Hiding resize image for non-resizable windows
> To: <[email protected]>
> Message-ID:
> <[EMAIL PROTECTED]>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Seb,
>
> Van and I just figured out the issue. I created our css theme from the 
> alphacube theme which uses the same 'resizable' image for both the SE 
> corner and resizer styles. It would seem that this theme was only intended 
> to be used for windows that would be resizable. This might trip others up 
> as well.
>
> Might be worth adding a comment above the relevant style block from 
> alphacube.css
>
> /* To support non-resizable windows, use separate images for the following 
> two classes*/
> .alphacube_se, .alphacube_sizer  {
>  background: transparent url(alphacube/bottom-right-c.gif) no-repeat 0 0;
>  width:7px;
>  height:7px;
> }
>
> ::M
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of S?bastien Gruhier
> Sent: Tuesday, December 12, 2006 6:46 AM
> To: [email protected]
> Subject: Re: [Javawin] Hiding resize image for non-resizable windows
>
> It works without your workaround.
>
> One more time do you have a sample?
> Seb
>
> On Dec 12, 2006, at 2:55 AM, Michael Robertson wrote:
>
>> Group,
>>
>> I've noticed that even though we specify in the window parameters that
>> a window is not resizable, the resize button image* still appears in
>> the lower right corner of such a window. We will have occasion to
>> implement resizable and non-resizable windows, so I can't just
>> eliminate the image or statically set it to display:none in our theme
>> css.
>>
>> We could dynamically set the image to display:none via some new
>> script, but I hope there's a mechanism in the toolkit I've missed that
>> will make this work seamlessly with the "resizable" window parameter.
>>
>> Any ideas would be greatly appreciated
>>
>> ::Michael
>>
>>
>>
>> /* Resize button */
>> .THEME_NAME_sizer {
>>   width:7px;
>>   height:7px;
>>   background: transparent url(THEME_NAME/RESIZE_IMAGE.gif) no-repeat 0
>> 0;
>>   cursor:se-resize;
>> }
>>
>>
>>
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
>
> _______________________________________________
> Javawin mailing list
> [email protected]
> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 13 Dec 2006 03:47:08 +0000
> From: "Humaneasy Consulting" <[EMAIL PROTECTED]>
> Subject: Re: [Javawin] Really working LoginBox example, please!
> To: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Felix
>
> Help :)
>
> Lopo
>
> 2006/12/9, Humaneasy Consulting <[EMAIL PROTECTED]>:
>>
>> @ Felix
>>
>> I found the login javascript at
>> http://sinkmyship.com/battleship/js/login.js but I didn't understood 
>> where
>> I put the call to my script in it :(
>>
>> Sorry for my ignorance. I'm a PHP and PERL coder but not very good in 
>> what
>> concerns Javascript :D
>>
>> Thanks in advance.
>> Lopo
>>
>>
>>
>> Date: Fri, 8 Dec 2006 14:02:17 -0500
>> From: "Felix Shnir" < [EMAIL PROTECTED]>
>> Subject: Re: [Javawin] Really working LoginBox example, please!
>> To: [email protected]
>> Message-ID:
>>         <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> If you need generic implementation/sample, either look at sanebull.com or
>> sinkmyship.com/battleship/main.html
>>
>> Felix.
>>
>>
>> On 12/8/06, Humaneasy Consulting <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> >
>> > Does anyone has a working example that shows the login form really
>> > working?
>> >
>> > With this I mean something that really passes via Ajax the login form
>> > information and returns back the reply from an external script to
>> process it
>> > (in PHP or not).
>> >
>> > Hope that this is not to out of topic.
>> >
>> > Thanks a lot in advance.
>> >
>> > With my best regards.
>> > Lopo
>> >
>> >
>> > _______________________________________________
>> > Javawin mailing list
>> > [email protected]
>> > http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> /pipermail/javawin_xilinus.com/attachments/20061213/40d01cbd/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Mon, 11 Dec 2006 11:07:44 -0800
> From: Van <[EMAIL PROTECTED]>
> Subject: Re: [Javawin] Windows Class and nifty corners
> To: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 12/11/06, Van <[EMAIL PROTECTED]> wrote:
>> On 12/11/06, Van <[EMAIL PROTECTED]> wrote:
>> > On 12/11/06, Felix Shnir <[EMAIL PROTECTED]> wrote:
>> > > I'm not sure why you guys find this such a tough issue?  The content 
>> > > of the
>> > > Ajax call is populated into the content of the PWC.  That content it
>> > > requested from the server via an ajax call.  Once the data gets 
>> > > loaded
>> > > through an XHR, you can evaluate scripts.  Once scripts are 
>> > > downloaded and
>> > > XHR switches to status 4, prototype evals and executes scripts (if 
>> > > any are
>> > > set to execute).
>> >
>> > What do you mean by "if any are set to execute?"  I admit that I am
>> > relatively new to using PWC and there is probably something I need to
>> > do that will seem obvious once I understand it.
>>
>> I think I found what you are referring to via windows.js code
>> inspection. Here is function executed for AJAX content requests:
>>
>>     _runAjaxRequest: function(message, parameters, callFunc) {
>>         if (message.options == null)
>>             message.options ={}
>>         Dialog.onCompleteFunc = message.options.onComplete;
>>         Dialog.parameters = parameters;
>>         Dialog.callFunc = callFunc;
>>
>>         message.options.onComplete = Dialog._getAjaxContent;
>>         new Ajax.Request(message.url, message.options);
>>     },
>>
>> The docs say that you can pass options for an AJAX content request (I
>> suspect this is inherited behavior for Prototype Ajax object and I'll
>> find the documentation for it there, did I mention I'm fairly new to
>> Prototype and AJAX in general :-)), but, I didn't see any
>> documentation on what those options could be. It may be there and I
>> missed it. In any case, it looks like I can pass an onComplete
>> function of my own as one of the options.
>>
>> I'm going to give this a try and report back.
>
> Now that I found the Prototype Ajax object documentation, I'm thinking
> that in this particular case the simplest solution would be to make
> the request a synchronous one. I know this is typically not
> recommended. Our usage though is for a feedback form which loads
> quickly and the user wouldn't expect or need to interact further with
> the page while waiting for it to load. If I do it as a synchronous
> request (one of the documented options for Ajax.request()), I can
> simply put the NiftyLoad() call right after the Dialog.confirm() call
> in my code DIV that gets evaluated to load the dialog already.
>
> I'm going to try both ways just for the learning experience and report
> back the results.
>
> -Van
> -- 
> - Mike "Van" Riper
>  [EMAIL PROTECTED]
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 13 Dec 2006 14:44:44 +0800
> From: "one eighty-three" <[EMAIL PROTECTED]>
> Subject: Re: [Javawin] is it possible to add an icon to the title bar
> in front of the title?
> To: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi seb,
>
> thanks! it works... but a better way and more dynamic way is to add it 
> when
> creating the Window instance.
>
> cheers,
> janice
>
>
> On 12/12/06, S?bastien Gruhier <[EMAIL PROTECTED]> wrote:
>>
>> Yes it is Just add HTML code in your title in PWC constructor like this
>>
>>
>> title:"<img src='/images/feed.png'/>your title"
>>
>>
>> Seb
>>
>>
>> On Dec 12, 2006, at 2:47 AM, one eighty-three wrote:
>>
>>  hi,
>>
>> is it possible to add an image icon to the title bar? i tried inserting 
>> an
>> <img> tag on the window.js just before the title.
>> but i have not been successful. any ideas?
>>
>> thanks
>> janice
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>
>>
>>
>>
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> /pipermail/javawin_xilinus.com/attachments/20061213/6c13622f/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Wed, 13 Dec 2006 10:27:23 +0100
> From: S?bastien Gruhier <[EMAIL PROTECTED]>
> Subject: Re: [Javawin] is it possible to add an icon to the title bar
> in front of the title?
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> there is setTitle, you can change it when you want
> Seb
>
> On Dec 13, 2006, at 7:44 AM, one eighty-three wrote:
>
>> hi seb,
>>
>> thanks! it works... but a better way and more dynamic way is to add
>> it when creating the Window instance.
>>
>> cheers,
>> janice
>>
>>
>> On 12/12/06, S?bastien Gruhier <[EMAIL PROTECTED]> wrote:
>> Yes it is
>> Just add HTML code in your title in PWC constructor like this
>>
>>
>> title:"<img src='/images/feed.png'/>your title"
>>
>>
>> Seb
>>
>>
>> On Dec 12, 2006, at 2:47 AM, one eighty-three wrote:
>>
>>> hi,
>>>
>>> is it possible to add an image icon to the title bar? i tried
>>> inserting an <img> tag on the window.js just before the title.
>>> but i have not been successful. any ideas?
>>>
>>> thanks
>>> janice
>>> _______________________________________________
>>> Javawin mailing list
>>> [email protected]
>>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>
>>
>>
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>
>>
>>
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> /pipermail/javawin_xilinus.com/attachments/20061213/6d1165ba/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Javawin mailing list
> [email protected]
> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>
>
> End of Javawin Digest, Vol 9, Issue 18
> **************************************
> 


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

Reply via email to