I've just tried with effects.js 1.7 and still doesn't work.

With
window.js 1.00
effects.js 1.7.0
prototype.js 1.5.0
result: doesn't do anything (and no js error)

It works with:
window.js 0.99 or 1.00
effects.js 1.6.4
prototype 1.5.0rc1
result: works

Here's part of my code:
<script>
var windowParam={}
windowParam.resizable =  false;
windowParam.effectOptions =  {duration: 0.3};
windowParam.minimizable = false;
windowParam.maximizable = false;
windowParam.closable = true;
windowParam.className = "alphacube";
windowParam.width=540;

var winAjax = new Window("ajaxTest", windowParam);

function callAjax(url,options)
{
   options.onSuccess = handlerFunc;
   options.onFailure = errFunc;

   new Ajax.Updater(winAjax.getContent(), url, options);
}

function handlerFunc(originalRequest)
{
   if(!winAjax.isVisible())winAjax.showCenter(true);
}

function errFunc(t)
{
   < some code >
   if(!winAjax.isVisible())winAjax.showCenter(true);
}

function functionToBeCalledByOnClick()
{
   callAjax(url, {method: 'post',
evalScripts:true,postBody:'some_get_var=1});
}
</script>


On 1/21/07, Sébastien Gruhier <[EMAIL PROTECTED]> wrote:

I have just updated with 1.5.0 and script.aculo.us 1.7 and it works
fine for me.
Did you upgrade both?

I will post a new release with them
Seb

On Jan 21, 2007, at 1:49 PM, Joel Alexandre wrote:

> Hi,
>
> i've updated prototype  to the latest 1.5.0 and the windows stoped
> working.
> I'm using Prototype Windows 1.00
>
> There is are no javascript error.
>
> Regards,
> Joel Alexandre
>
> _______________________________________________
> 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

Reply via email to