Solved! Go to Solution.
require([ //layout x 'dojox/layout/FloatingPane', 'dojox/layout/Dock', //dojo 'dojo/dom-construct', 'dojo/_base/window', ], function ( //layout x FloatingPane, Dock, //dojo domConstruct, win ) { var dock = new Dock({ style: 'position:absolute;bottom:0;right:0;height:0px;width:0px display:none;z-index:0;' }, domConstruct.create('div', null, win.body())); //measure floating pane var measurefp = new FloatingPane({ id: 'measure-floating-pane', title: 'Measure', resizable: false, resizeAxis: null, closable: false, dockable: true, dockTo: dock, style: 'position:absolute;top:80px;left:320px;width:220px;height:200px;visibility:hidden;overflow:hidden;', href: 'html/measure.html', preventCache: true, preload: false }, domConstruct.create('div', null, win.body())); measurefp.startup(); measurefp.on('focus', function () { measurefp.bringToTop(); }); measurefp.on('show', function () { measurefp.bringToTop(); }); });
ok - old thread and the Git example is long gone, and I've got everything "working" but I do get this error on "closing" the pane (really hiding it)
TypeError: Cannot read property 'addNode' of undefined
at Object._dock (js.arcgis.com/3.23/dojox/layout/FloatingPane.js:10)
at js.arcgis.com/3.23/init.js:63
at Object.<anonymous> (js.arcgis.com/3.23/dojox/layout/FloatingPane.js:8)
at d.Animation.onEnd (js.arcgis.com/3.23/init.js:63)
at d.Animation._fire (js.arcgis.com/3.23/init.js:248)
at d.Animation._cycle (js.arcgis.com/3.23/init.js:251)
at Object.<anonymous> (js.arcgis.com/3.23/init.js:63)
at Object.c [as run] (js.arcgis.com/3.23/init.js:119)
at js.arcgis.com/3.23/init.js:63
But many thanks for the earlier post.