How to change defaulted search feature in Parks Finder App?

621
1
03-19-2014 10:47 AM
CraigMcDade
Occasional Contributor III
I have a request to rearrange the search functions in the Parks Finder application. Currently it is set up in tabs (search by location, search by park name, search by park activity).

I've switched it to be Park Name, Park Activity, Location

However, the tab for search by location is selected by default. I haven't found anywhere this is set in the html or css. Does anybody know where I can switch this in the code?
0 Kudos
1 Reply
NathanSommers
New Contributor III
Good Morning,

Based on this post you should add the ShowFeatureSearchView(); to line 108 in the default.htm.

<img alt="Settings" src="images/locate.png" class="imgOptions" title="Search" onclick="ShowLocateContainer(); ShowFeatureSearchView();" />


If you want to have the search tool open by default add the ShowLocateContainer(); and ShowFeatureSearchView(); to line 71 in the default.htm

<div class="customButton splashOkButton" onclick="HideSplashScreenMessage(); ShowLocateContainer(); ShowFeatureSearchView(); ">


Hope this works for you
0 Kudos