Adding A Search to Your Site > Using the NYU Search Results Style SheetUsing the NYU Search Results Style SheetTo use the default NYU search results style, you will need to add the following code into the HTML file where you want the search box to be displayed. You will need to specify the site URL to search. For this example, we will use the NYU Webguide URL, www.nyu.edu/webguide, as the site to search.
To ensure that your site is properly searched, make sure that the sitesearch variable (the Web address without the The code above will produce the following search box: Type a word in the search box above (for example, email) and click the "Search" button to view the results page. The search results style sheet used is the default NYU style. You do not need to create any additional files to use this style sheet. |
