[mapguide-users] Re: "Close task Bar" Button

Arthur Liu arthur.liu at autodesk.com
Tue Mar 9 04:08:46 EST 2010


Hi SriRam007,

I am not sure why you have to hide the button.
If your requirement is to hide the button, you can just need to update the viewerfiles/taskbar.templ

<span class="btn" id="btnClose" style="position: absolute; left: 5px;" onmouseover="HoverButton('btnClose', '')" onmouseout="LeaveButton('btnClose', '')" onclick="CloseTaskPane()">

to 

<span class="btn" id="btnClose" style="position: absolute; left: 5px; visibility: hidden;" onmouseover="HoverButton('btnClose', '')" onmouseout="LeaveButton('btnClose', '')" onclick="CloseTaskPane()">

And you may also need to re-align the rest icons.

If the reason you want to hide this button is that user cannot re-open the taskbar, I would suggest you to refer to the ticket https://trac.osgeo.org/mapguide/ticket/1288, in which I added a open button to re-open the taskpane.

Regards,
Arthur

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Tuesday, March 09, 2010 3:02 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Re: "Close task Bar" Button


Hi,

Changing code inside the viewerfiles/taskbar.templ file we can do but is
this the correct way???. 
I have never done like this. I m trying to do this using C# and Javascript.
I dont know weather it is possible or not.
Suppose i uninstalled the MGOS and again installing then i need to remove
the code again.

through code (using C# or Javascript)  is it possible ???
please tell me if u have any other idea.

thanks

-- 
View this message in context: http://n2.nabble.com/Close-task-Bar-Button-tp4693506p4700614.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
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