Printer-friendly page

Embed an NCpedia search box into any Web site

Search box preview:


To embed an NCpedia search box into your school, library or personal site, copy and paste the code below into the page where you would like it. Search results will open in a new window or tab.

<script type="text/javascript" src=""></script> <div id="NCpediaSearchDiv"></div>

The widget has basic default styling but you are welcome to create new CSS rules on your site's stylesheets to alter its presentation.


If you embed the widget and want to be notified of any updates made to the script or code, please contact us. Just let us know you'd like NCpedia widget updates and we'll add you to our notification list.




why isnt there ANY ask a librarian in the top right-hand corner


Hi Kyla,

Thank you for visiting NCpedia and for sharing this comment.

NCpedia is developing a live chat/ask a librarian feature and will have it back online in a few weeks after the first of the new year.

If you need help in the meantime, please feel free to ask your question here in comments and we will get back to you with a business day.

Best wishes,

Kelly Agan, NC Government & Heritage Library

Add a comment

PLEASE NOTE: NCpedia will not publish personal contact information in comments, questions, or responses. If you would like a reply by email, please note thats some email servers are blocked from accepting messages from outside email servers or domains. These often include student email addresses from public school email accounts. If you prefer not to leave an email address, check back at your NCpedia comment for a reply. Please allow one business day for replies from NCpedia. Complete guidelines are available at