Hi
I am French too :)
You have a function: changeClassName()
If you want to do it on a mouseout you can do something like this
onmouseout="Windows.getWindow('your_id').changeClassName
('your_class_name')" or use Event.observe it's better
But you need to set an if to your window :
var win = new Window({id: 'your_id', className: "alphacube", title:
"", width:250, height:150, top:0, left: 1, parent:$('container')});
Seb
On Mar 30, 2007, at 4:15 PM, Thomas Gambier wrote:
Hi,
I'm french and i've just discovered your script which seems to be
fabulous!!
You did a great job!
I just wanted to know how can I make changes on a window already
created?
For example:
I make a window with this function:
function win1(idbox)
{
var win = new Window({className: "alphacube", title: "", width:
250, height:150, top:0, left: 1, parent:$('container')});
win.getContent().innerHTML = "<div contentEditable='true'
id='"+idbox+"'>ici votre texte ou vos images</div>";
win.setDestroyOnClose();
win.show();
win.setConstraint(true, {left:5, right:5})
win.toFront();
}
No problem, but for example, if i want to change the className of
this existing window, how can i do?
I dont know how to interact with an existing window...
In fact I want to change the className of a window on a mouseon and
change again this className on a mouseout...
I really hope you can help me.
Thanks by advance.
Bye
_______________________________________________
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