Login Register

dojox.layout.FloatingPane center page

Firing onDndDrop for dropping a floatingpane

Is it possible to create a dndsource, dndtarget that allows me to fire drag and drop actions when I drag and drop a Floating Pane? I have tried creating a dnd.source based from the floatingpane.domNode and creating a div as the dnd.target, but I can't get the events to fire.

I should probably mention that I am very new to the dnd stuff.

Float my boat

Resize Handle

Is there any way to have dojox.layout.ResizeHandle work with dojo.Dialog?

Open FloatingPane on center of page

Hi,

I am trying open floatingpane in the center of the page, but does not work. It seems that the origin of coordinates (0.0) starts after the last element on the page(IE7 and Firefox).

Look: http://webmap.sytes.net/test_floatingpane4.html

Code:
############################################

function NewFloater(){

node = document.createElement('div');
node.id = 'floater2';
dojo.body().appendChild(node);
tmp = new dojox.layout.FloatingPane({title:'FloatingTest #', dockable:true,maxable:false,closable:true,resizable:true}, node);

Syndicate content