Website plugin version 1.1
One script for your own website: it links the scripture references in your pages and shows each passage to your visitors in a tooltip.
Getting started
- What the plugin doesOne script that links the references in your pages and shows each passage in a tooltip, and a search you can add.
- Adding the plugin to your siteThe two lines to add to your pages, and how to choose the part of the page to link.
Search
- Adding a searchA search field with its results on your page, with no setup: one element.
- The field and the results apartPut the field in one place and the results in another, in markup or in JavaScript.
- The readerWhat a picked passage opens: the chapter bar, book and translation pickers, and context links.
- What picking a result doesRead the passage in place, or take over with your own callback.
- All the search optionsEvery option search() takes, theming and what it sends.
- Live demosWorking searches on this page: no setup, apart, and with a callback.
For your visitors
- The passage tooltipWhat your visitors see: the passage, a translation menu, a pin and Read more.
- Live demos of the tooltipWorking references on this page: translation menu, pin, notes, ignoring, your own links and text added later.
Setting it up
- What is linked, and leaving parts outWhich text is scanned, what is always left alone, and how to exclude more.
- The translation passages open inSet your site's translation, and how it gives way to your author's and your visitor's choices.
- Where links goLinks open the ScriptureTips reader, or any Bible site you give an address pattern for.
- Matching your site's lookSet the tooltip's colors, corners and font with CSS variables.
- All the optionsEvery option run() takes, in one table.
For developers
- The JavaScript APIrun, rescan, setPreferences and the events a page can listen for.
- Drawing the links yourselfGive your own links a passage tooltip without having the page scanned.
Privacy
- What the plugin sends and keepsNo cookies; only passage requests, and each visitor's choices stay in their browser.