[mapguide-users] How On/Off Right Side Panel

ajid1980 ah_jid at yahoo.com
Tue Dec 9 20:12:31 EST 2008


My Situation.
How i Wanna On/Off the "Meastro - Right Side" panel - content-task list??
Pls tell me how d script-invoke script function?"Infodiv"

-------------------------------------------
Maestro : Left Side
How To Invoke Script to On/Off Legend
Status:OK
-------------------------------------------
if(parent.frames[1].document.getElementById("InfoBand").style.width == 
'0px') 
{ 
parent.frames[1].minInfoWidth=20; 
parent.frames[1].ResizeTo(200); 
parent.frames[1].InitialMapView(); 
} 
    else 
{ 
parent.frames[1].minInfoWidth=0; 
parent.frames[1].ResizeTo(0); 
parent.frames[1].document.getElementById("LayerCaption").style.width = 0; 
parent.frames[1].document.getElementById("LegendCtrl").style.width = 0; 
parent.frames[1].document.getElementById("PropertyCaption").style.width = 0; 
parent.frames[1].document.getElementById("PropertyCtrl").style.width = 0; 
parent.frames[1].InitialMapView(); 
}

-- 
View this message in context: http://www.nabble.com/How-On-Off-Right-Side-Panel-tp20927177p20927177.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list