BillHoney

Attribution Dijit - change default behaviour ?

Discussion created by BillHoney on Apr 1, 2013
Latest reply on Apr 15, 2013 by BillHoney
Does anyone know of a way of making the attribution dijit "open" by default.

When you click on the widget it opens up.  I'd like the map to start up with the dijit already open.

I've tried forcing it open like like below,  but nothing seems to work
        
var attribution = map.attribution;
// try & force the digit open - none of these work 
attribution.declaredClass = "esriAttribution esriAttributionOpen";
attribution.domNode.className = "esriAttribution esriAttributionOpen";
attribution.domNode.click(); 


Any ideas ?  Bill

Outcomes