-
Using jquery us map to Create a Map of States That Can Be Toggled
The us-map plugin was already in use elsewhere and I wanted to create a clickable map that would display an anchor state and allow for configuration of related states. Also in use is the gon gem to allow passing of data directly into Javascript, included in a Rails 4.1 project. Controller code: # assume @state is […]