Infowindow Popup Window Controls

865
3
06-18-2011 10:48 AM
ChristopherCouper
New Contributor
How can I control the Window Controls in a popup?  For example I only want the close (X) item and not the maximize item in the window bar?
0 Kudos
3 Replies
BrettLord-Castillo
Occasional Contributor
One very simple way to do this is to set the style on the elements you do not want to appear. You can do this by calling esri.hide() on the main containing div element for that element. I'll see if I can find what that call would be for the minimize button.
0 Kudos
ChristopherCouper
New Contributor
Thank you in advance. Its actually the maximize button that needs to be hidden 🙂
0 Kudos
VernWolfley
New Contributor III
You can control this through the CSS -

.esriPopup .titleButton.maximize {
     display: none;
}


hope that helps