Hi!
You need to make the show() true like:
win.showCenter(true);
OR
win.show(true);
Please do not use both show() or showCenter().
- Jacques
2007/3/23, Feliu Quetglas <[EMAIL PROTECTED]>:
Hi All,
I'm using prototype to maje a window popup/wizard in ajax, thats my code:
<script type="text/javascript"> type="text/javascript">
function openAjaxPopup(link,title,width,height) {
var win = new Window({
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: document.body,
onload: Prototype.emptyFunction ,
opacity: 1,
recenterAuto: true,
wiredDrag: false,
closeCallback: null,
destroyOnClose: false,
gridX: 1,
gridY: 1,
})
win.showCenter();
win.show();
}
</script>
My problem is that i need the dialog or alert windows effect that blocks
the parent window and fill it on a blue color. How can I apply this effect
on a Window class, and not dialog or alert?
Thanks at all!
Congrats for that list!
_______________________________________________
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