diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-22 20:17:50 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-22 20:17:50 -0400 |
commit | fede678430be34f854bcf7e39c29d5e5ecea929b (patch) | |
tree | 953b9424e953e3d96de82e3a89302b2959f3ee6d /app/views/search/go.html.erb | |
parent | c13ca3ca2c167158ca0f6ff8a20f2b4943f3e04d (diff) |
advanced search visuals are there
Diffstat (limited to 'app/views/search/go.html.erb')
-rw-r--r-- | app/views/search/go.html.erb | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/app/views/search/go.html.erb b/app/views/search/go.html.erb index 0f689d5..6e48b07 100644 --- a/app/views/search/go.html.erb +++ b/app/views/search/go.html.erb @@ -1,3 +1,7 @@ +<h5 id="search-down">▲ Advanced Search ▲</h5> +<div id="advanced-search"> + <p> This is where the search will go </p> +</div> <%# Show search results if a query was not nill %> <% if !@query.empty? %> @@ -21,4 +25,16 @@ <% end %> <% end %> -<% end %>
\ No newline at end of file +<% end %> + +<script type="text/javascript" language="javascript"> + + $(document).ready(function() { + + $("#search-down").click(function(){ + $("#search-down").text("▼ Advanced Search ▼").html(); + $("#advanced-search").slideDown( 'slow'); + }); + + }); +</script>
\ No newline at end of file |