I have tried to search the archives but can't find a definitive answer. Can
you use scriptaculous draggable inside a dialog module?
If so anyone have a working example of a using a scriptaculous draggable inside
of a Dialog module ? I can get it to work withing a window, but not a Dialog
module? All i need is a simple test case to work off of.
thanks,
-jw
here is my simple test case I am working with :
<a href="#" onclick="foo()">Open</a>
<div id="foo" style="display:none;">
<ul>
<li id="drag1">Drag Me 1</li>
<li id="drag2">Drag Me 2</li>
</ul>
</div>
<ul>
<li id="drag3">Drag Me 3</li>
<li id="drag4">Drag Me 4</li>
</ul>
<script type="text/javascript">
new Draggable('drag1');
new Draggable('drag2');
new Draggable('drag3');
new Draggable('drag4');
function foo(){
Dialog.confirm($('foo').innerHTML,
{windowParameters: {className:"alphacube", width:700},
okLabel: "Save",
cancelLabel: "Cancel",
ok:function(win){
return false;}});
}
</script>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com _______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com