Verse of the Day
Adding a verse of the day to your website is easy. Simply copy the following html code, and paste it on your website wherever you want the verse of the day to appear. No other code is required!
<script lang="JavaScript" type="text/javascript" src="http://online-bibleconcordance.com/js/votd.js">
</script>
The verse of the day is updated every 24 hours, around Midnight, Pacific Standard Time.
Optional: You can change the appearance of the content returned through the use of inline or cascading style-sheets. There are three classes defined for the verse of the day: votdTable, votdCaption, and votdPassage.
To use inline styles, add the following code in the <head>...</head> section of your web page:
<style>
.votdTable {border: 1px solid black;}
.votdCaption {font-weight: bold; font-style: normal; text-decoration: none; font-family: arial, verdana; color: #770000; text-align: left}
.votdPassage {font-weight: normal; font-style: normal; text-decoration: none; font-family: arial, verdana; color: Black; text-align: justify}
</style>
For those not familiar with styles, you can set the above properties as follows:
border: This can be set in three parts: Line width, line style, and line color. Line styles can include: solid, dashed, dotted, double. Line color can be any html color constant (Red, Black, White, etc.) or any html color code (#ff0000, #000000, #ffffff, etc, respectively). Line width needs to be greater than 1 for some effects to be noticeable.
font-weight: Set to either bold for bold text, or normal for regular text.
font-style: Set to either italic for italicized text, or normal for regular text.
text-decoration: Set to either underline for underlined text, or none for regular text.
font-family: Sets the type of font used (i.e. Arial, Times New Roman, Courier New).
color: The color the text will be displayed in. color can be any html color constant (Red, Black, White, etc.) or any html color code (#ff0000, #000000, #ffffff, etc, respectively).
text-align: Use left for left-aligned text, center for center-aligned text, right for right-aligned text, and justify for justified text (aligns to both the right and left margins).
Verse of the Day is free for public use, so long as neither the script or generated code is modified in any way. All verses are taken from the King James Bible, which exists within the public domain.
|