The Earth is the Lord's,
and the fulness thereof;
Christ.com: Contents
www.Christ.com

Lord of Hosts

Bible Verse of the Day


-------------------------------

Christian Webservants:
Install the Bible Verse of the Day on Your Web Site!

Free: Bible Verse of the Day

Put it on Your Website!





The Bible Verse of the Day is a short verse from the Word of God that we update 7 days a week in the three most popular translations: KJV, NASB, and NIV. Feel free to install the daily verse on your website, and receive automatic verse updates for free! To include the Bible Verse of the Day, just follow the simple instructions below to have a daily Bible verse automatically show up on your website! The Bible Verse of the Day is NOT an email message, but is for those who have actual web sites.

History of the Verse of the Day

When we started in 1996, this short verse was intended to bless our readers with God's Word on a daily basis. It consisted of about 1-5 verses from God's Word. As our site evolved the verse expanded into a daily study, with longer verse selections and study aids such as Greek and Hebrew sources, commentaries, and word studies. The expanded verse now takes a considerable amount of time to prepare (Job's time), and time for our readers to read the material. The "Verse of the Day" with detailed study turned into a weekly/monthly message, and has been renamed "Today's Study in the Word". The original "Verse of the Day" has resurfaced as "Bible Verse of the Day", which allows any webservant (called webmasters in the secular world) to install this daily blessing on their own Christian sites! We pray that the Bible Verse of the Day will be a blessing to other Christian websites, and the visitors to their sites.

Remember, To Use This Service: You Need A Web Site, Not Just E-Mail



Registration: (Optional!)

You are not required to register to install the daily verse! Registration is just a convenience and courtesy. We will keep registered users informed by E-Mail of any major updates or changes to the daily verse before they occur. We occasionally visit the sites that are using the verse and sign their guest book. To register, we need a valid E-Mail address, and the URL (web page address) of the page using the Bible Verse of the Day. Your E-Mail address and URL will be kept private!

E-Mail Address:


Web Page Address (URL): (e.g., www.example.com/~someuser/somefile.html)










Bible Verse of the Day:

Installation Instructions:

It only takes a few minutes to install the Bible Verse of the Day on your site (just a few lines of code and a small graphic image for the basic installation)! After you have installed the daily verse, the visitors to YOUR website will automatically see a new verse each day from God's Word, which will be downloaded from our server at www.Christ.com. The only technical requirement, is that the users must have Java Script enabled on their browser to see the daily verse. The daily message is a very short message, as a rule 1-5 verses at most, and usually 1-2 verses, from any of the three major translations: Feel free to use any of the versions on your site. We have a few suggested formats for including the verse, but you are free to use it with any formatting you feel is appropriate for your site.



HTML Code Requirements for Installation:

Installing the Bible Verse of the Day is extremely easy! It requires a small section of HTML/Javascript code, and a small graphic image. Before launching into a detailed description, you might want to look at the following simple example page: (Be sure to look at the source code for the page)

Example Page for Bible Verse of the Day




HTML Requirements:

A small section of HTML should be placed in the code for your web page to initialize the script, download the verse, and print the verse on your page. This section also determines which of the three major Bible translations will be used for the verse. An example section of code needed for the KJV version is listed below. The code you need to insert is in red. The example places the verse text in a table with yellow background and black text.

Example code:

<HTML>
<HEAD>
<TITLE>.... your title goes hear</TITLE>
other stuff...
</HEAD>
<BODY>
... this is where your main web page HTML goes...
... insert the bible votd code (in red) where you want the verse to show up on your page ...


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="300" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>


The above code is used to load the daily verse from the KJV translation into the browser's memory (it is stored in a variable called "votdtext" if you are curious). We have three major translations available for use (KJV, NIV, NASB). Note that the only difference in code among the Bible translation versions is the name of the JavaScript file name. For example, use votd-kjv.js for the KJV version, and votd-niv.js for the NIV version. Replace the above code with the code below to get other translations:

Required KJV Code:


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="300" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>

Required NASB Code:


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-nas.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="300" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>

Required NIV Code:


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-niv.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="300" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>






Verse Display Options:

In this section, we will give a few suggestions for optional HTML to embed the verse in tables with colored backgrounds and fonts. Feel free to change table colors, or even eliminate the table completely, when placing the code on your own web page.

Note that the code inside the document.write section is ALL ON ONE LINE. This is one of the most common errors in JavaScript. When you copy the code into your page, make sure that there are no carriage returns or line feeds in this "document.write" section. As a convenience, we have put this section of JavaScript inside a text box, to make it easier to copy and paste.

Simple Example Code for Display of Verse Text Only


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write(votdtext);
}
// -->
</script>





Example Code for Verse in Table with Yellow Background, Black Text


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="300" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>







Browser Compatibility:

The Bible verse will work with Netscape version 3.x or later, or Internet Explorer version 4.x or later. In the LANGUAGE option of the script tag, you can insert either "JavaScript1.1" or "JavaScript1.2".

"JavaScript1.1" Option:
If you use "JavaScript1.1", then the Bible verse will not be loaded into Netscape 2.x or Explorer 3.x versions (or earlier versions). The old Netscape 3.x browser is a bit buggy, but will run with the "JavaScript1.1" option. On very complex pages, with lots of tables and/or other JavaScript code, you may have problems. Try it with the Netscape 3.x browser, and if it works (be sure to reload, dump your cache, etc...) then "JavaScript1.1" is fine for your page. If you have problems, use "JavaScript1.2". Less than 5% of the browsers visiting Christ.com use Netscape 3.x (and that number is falling rapidly!), so using "JavaScript1.2" will work for over 95% of your visitors. If you use "JavaScript1.2", then the bible verse will be invisible to the remaining 5% of viewers using very old browsers.

"JavaScript1.2" Option:
If you use "JavaScript1.2", then the Bible verse will not be loaded into Netscape 3.x or Explorer 3.x browser versions (or earlier versions). As mentioned above, if you have complex pages, then you might have to use the "JavaScript1.2" option. Note that we use "JavaScript1.2" on the main page of Christ.com (www.Christ.com) and on the contents page (www.Christ.com/lohcontents.shtml), and use "JavaScript1.1" on this page (the page you are reading). The reason is that this page is fairly straightforward (so "JavaScript1.1" is ok), whereas the two other pages are quite complex, using server side includes, lots of tables, and other JavaScript code (so "JavaScript1.2" is appropriate).

Confused???:
OK, if you find all of that confusing, just use the "JavaScript1.2" option when you setup the verse code! It will work with most browsers (over 95%). The remaining browsers will simply not load the Bible Verse of the Day.

Feel free to experiment with the "JavaScript1.1" option. On very complex pages, with lots of tables and/or other JavaScript code, you may have problems. Try it with the Netscape 3.x browser, and if it works (be sure to reload, dump your cache, etc...) then "JavaScript1.1" is fine for your page. If you have problems, use "JavaScript1.2".

Graphic Image Requirements for Installation:

To complete the installation, you will need to transfer one of the images at the bottom of this page to your website, and name the image "biblevotd.gif". This image file must be in the same directory on your server that you use for your web page (the page containing the Bible Verse of the Day). Basically, the image should look like the one below, with perhaps minor differences in font color or background color (Feel free to change colors).






Example Code Using Tables:

Feel free to use any background and color scheme that fits with your current web page. Below, we have included a few examples using tables, along with the code needed to generate the example table. This example code can be used in the <BODY> section of your web page.

Below are two examples of the daily verse, with two table formats. The first version has a light yellow background with a bold brown text color, and a table border. The second version has a gray background with a black text color, and no border. The HTML code for each example follows immediately after the example (Notice that we are using the "JavaScript1.1" option in this example):




Table Example: Yellow Background, Bold Brown Verse Font, Border



The HTML code for the above example is listed below:


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.1">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="250" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#993300">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>







Table Example: Gray Background, Black Verse Font, No Border



The HTML code for the above example is listed below:


<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.1">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="250" cellpadding="3"><tr><td BGCOLOR="#CCCCCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>







Changing the Table Cell Background Color:

<td BGCOLOR="#CCCCCC">
Set background table cell color to gray
<td BGCOLOR="#FFFFCC">
Set background table cell color to light yellow (like at the top of this page).


Changing the Verse Text Font Color:

<font color="#000000">
Set the text color to black (good for white or light background color web pages)
<font color="#FFFFFF">
Set the text color to white (good for black or dark background color web pages)


Changing the Table Width and Border Options:

<table BORDER WIDTH="250" cellpadding="3">
The BORDER option creates a table with a small border.
<table BORDER="0" WIDTH="250" cellpadding="3">
The BORDER="0" option creates a table without borders.
<table BORDER WIDTH="500" cellpadding="3">
The WIDTH="500" creates a table that is 500 pixels wide. Pick a table size that looks nice on your web page.





Graphics Options:

Below we have a collection of different colored images for the Bible Verse of the Day. Feel free to copy any image that fits with your webpage. Once you copy the image, be sure it is named biblevotd.gif on your web server, even though it has a different name below!


Transparent Background:

Note: The second and third images in the first row (transparent background with white or yellow letters) are shown in black table cells so the white and yellow letters can be seen. The transparent background images, including the ones with white and yellow letters, can be used with any background, including gif image backgrounds.

   


Black Background:

 


White Background:

 


Maroon Background:



Gray Background:

   


Cascading Style Sheet Options:

While the text size and color can be easily changed using standard HTML tags and style sheets, the image of the Bible has a special Class name associated with it to allow sizing. The image has an embedded class name of "christcombiblevotdimg". The default image size in pixels is height=65 width=200. You can resize this using a <STYLE> section in your header section. In the section below, we give a style section that will reduce the size by 25%:



Example code:

<HTML>
<HEAD>

<STYLE>
img.christcombiblevotdimg {height: 48px; width: 150px}
</STYLE>

<TITLE>.... your title goes hear</TITLE>
other stuff...
</HEAD>
<BODY>
... this is where your main web page HTML goes...
... insert the bible votd code (in red) where you want the verse to show up on your page ...
<script Language="JavaScript1.2">
<!--
var votdtext;
votdtext = null;
// -->
</script>
<script Language="JavaScript1.2" src="http://votd.Christ.com/biblevotd/votd-kjv.js">
</script>

<script Language="JavaScript1.2">
<!--
if (votdtext != null) {
document.write('<center><table BORDER WIDTH="300" cellpadding="3"><tr><td BGCOLOR="#FFFFCC"><font color="#000000">' + votdtext + '</font></td></tr></table></center>');
}
// -->
</script>

God bless you,
Job.