Permalink
Browse files

Added search box.

  • Loading branch information...
schneidy committed Apr 25, 2012
1 parent 4b176d2 commit c0c83fb1b12404a6bb97396a6a174febf85c6125
Showing with 5 additions and 1 deletion.
  1. +5 −1 OpenStatesHeatMap/OpenStatesHeatMap.html
@@ -16,7 +16,7 @@ <h1>Open States Visualized</h1>
<div id="viz">
</div>
<div id="sideBar">
-<select id="topics" onchange="topicSelection(this.value)">
+ <select id="topics" onchange="topicSelection(this.value)">
<option value="Topic" disabled="disabled" selected="selected">Topic</option>
<option value="Abortion">Abortion</option>
<option value="Agriculture">Agriculture</option>
@@ -69,6 +69,10 @@ <h1>Open States Visualized</h1>
<option value="Welfare">Welfare</option>
<option value="Wildlife">Wildlife</option>
</select>
+ <form>
+ <input type="text" placeholder="Seach a topic" id="searchBar"/>
+ <input type="button" value="Search" onclick="topicSelection(searchBar.value)" id="searchButton" />
+ </form>
</div>
</body>
</html>

0 comments on commit c0c83fb

Please sign in to comment.