AnsweredAssumed Answered

hide and close DIV

Question asked by jay.kapalczynski on Jan 4, 2018
Latest reply on Jan 4, 2018 by jay.kapalczynski

I am looking at this example:  ArcGIS API for JavaScript Sandbox 

 

  1. How could you modify this so the chart div is hidden on load...sure you can just set that property in HTML style.
    1. or on map load dijit.byId("profilecontainer").domNode.style.visibility = 'hidden';
  2. BUT when the user hits the polyline button it then opens the chart to say 40%
  3. BUT i also need to close the chart window...maybe a button below the miles selector.
    1. It would need to close the chart window and then expand the map to the full area.

 

So I guess I am asking how to control two containers.

When one opens it sizes to 40% height and 100% width

When it closes the map window resizes to 100% 

Outcomes