Embed a NCpedia.org search box into any Web site
Search box preview:
To embed a NCpedia.org search box into your school, library or personal Web site, simply copy and paste the code below into the page where you would like it. Search results will open in a new window or tab.
If you embed the widget and want to be notified of any updates made to the script or code, please send an email to the requesting "NCpedia Widget Updates."
Optional custom styling instructions
The widget comes with basic default styling, but you are welcome to customize it to match your current site. To do so:
- Save a copy of the NCpedia widget CSS template, and add it to your site's CSS. Edit this to fit your site needs.
- Save a copy of the widget script on your server, updating the link to the stylesheet in the code (i.e., in the code, change "http://ncpedia.org/widgets/ncpedia_widget_style.css" to the location of your site's CSS).
- Update the code snippet to reference your locally-hosted script instead of the version at ncpedia.org.
16 November 2010