[mapguide-users] Show/Hide Layers and propertiespane
programmatically
Willem Schwarte
willem at giskit.nl
Mon Mar 19 05:01:56 EDT 2007
Hi Maciek,
Did you happen to solve this problem of hiding/showing the legend pane?
Willem
-----Oorspronkelijk bericht-----
Van: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] Namens Maciej Skorczewski
Verzonden: donderdag 15 maart 2007 13:54
Aan: MapGuide Users Mail List
Onderwerp: Re: [mapguide-users] Show/Hide Layers and propertiespane programmatically
> Sorry for the trouble again!! :-)
> Do we have to define the code for getIFrameDocument()? Or is it an existing
> method? I keep getting an error for that method. Also, is ifrMap the name of
> ur frame in the main page like ajaxtiledviewersample.js in the
> javaviewersample aplication?
this i my function.
function getIFrameDocument(aID){
var rv = null;
// if contentDocument exists, W3C compliant (Mozilla)
if (top.document.getElementById(aID).contentDocument){
rv = top.document.getElementById(aID).contentDocument;
} else {
// IE
rv = top.document.frames[aID].document;
}
maciek.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list