Re: [mapguide-users] Task Pane hidden but still available?

2012-10-06 Thread Liglio
To have the task pane initially hiden, you have to programatically do this.
You can do this using javascript on the load event of the page that contains
the ajaxviewer frame.

function GetMap() {
var frame;

frame = document.getElementById(FrameMap)
if (frame == null) {
frame = parent.document.getElementById(FrameMap)
if (frame == null) {
frame = parent.parent.document.getElementById(FrameMap)
}
}

if (navigator.appName == Netscape) {
return frame.contentWindow.document;
}
else
{ return frame.contentWindow; }
}

window.onload = function () {

var map = GetMap();
var mapFrame = map.mapFrame;

// Close the tak pane
map.taskBar.CloseTaskPane();

}



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Task-Pane-hidden-but-still-available-tp4183755p5006840.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Task Pane hidden but still available?

2012-10-04 Thread Steve G
I am finding the same limitation in MGOS 2.4 RC1 using Maestro 5.0b2.  I want
to initially have the task pane hidden, but have a button available on the
toolbar to then open the task pane.  I am finding that the only way to have
the open/close toggle feature is to have the task pane initially visible. 
Am I missing something or has someone figured out a work around?  

Thanks,

Steve




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Task-Pane-hidden-but-still-available-tp4183755p5006500.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users