Random Bible Verse


/ Published in: JavaScript
Save to your folder(s)

Displays a random bible verse each time the page loads.


Copy this code and paste it in your HTML
  1. <script>
  2.  
  3. //Copyright 2009 by JD Simpkins at www.parkersburg1stnazarene.com
  4. //You may use this anywhere as long as credits stay in place
  5. //You can email me at [email protected]
  6.  
  7. var randomverse=new Array()
  8.  
  9. var versetitle=' <font size="4"><b>Random Bible Verse </b><br /></font>'
  10.  
  11. //You can change or add verses here as you see fit
  12.  
  13. randomverse[1]='Set your affection on things above, not on things on the earth.<br/><b>Colossians 3:2</b>'
  14. randomverse[2]='For all have sinned and come short of the glory of God<br/><b>Romans 3:23</b>'
  15. randomverse[3]='Come unto me, all ye that labor and are heavy laden, and I will give you rest.<br/><b>Matthew 11:28</b>'
  16. randomverse[4]='Not everyone that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my father which is in heaven.<br/><b>Matthew 7:21</b>'
  17. randomverse[5]='For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.<br/><b>John 3:16</b>'
  18. randomverse[6]='For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord<br/><b>Romans 6:23</b>'
  19. randomverse[7]='Let the word of Christ dwell in you richly in all wisdom; teaching and admonishing one another in psalms and hymns and spiritual songs, singing with grace in your hearts to the Lord.<br/><b>Colossians 3:16</b>'
  20. randomverse[8]='My brethren count it all joy when you fall into diverse temptations<br/><b>James 1:2</b>'
  21. randomverse[9]='A double minded man is unstable in all his ways<br/><b>James 1:8</br>'
  22. randomverse[10]='And Jesus said unto them, Because of your unbelief: for verily I say unto you, If ye have faith as a grain of mustard seed, ye shall say into this mountain, Remove hence to yonder place; and it shall remove; and nothing shall be impossible unto you.<br/> <b>Matthew 17:20</b>'
  23. randomverse[11]='How much more shall the blood of Christ, who through the eternal Spirit offered himself without spot to God, purge your conscience from dead works to serve the living God?<br/><b>Hebrews 9:14</b>'
  24. randomverse[12]='Be not deceived; God is not mocked: for whatsoever a man soweth, that shall he also reap.<br/><b>Galatians 6:7</b>'
  25. randomverse[13]='Trust in the Lord with all thine heart and lean not unto thine own understanding.<br/><b>Proverbs 3:5</b>'
  26. randomverse[14]='To everything there is a season, and a time to every purpose under the heaven.<br/><b>Ecclesiastes 3:1</b>'
  27. randomverse[15]='For what shall it profit a man if he shall gain the whole world and lose his own soul?<br/><b>Mark 8:36</b>'
  28. randomverse[16]='Trust not in oppression, and become not vain in robbery: if riches increase, set not your heart upon them. <br/><b>Psalm 62:10</b>'
  29. randomverse[17]='Jesus saith unto him, I am the way, the truth, and the light: no man cometh unto the father, but by me.<br/><John 14:6</b>'
  30. randomverse[18]='Let not your heart be troubled: ye believe in God, believe also in me.<br/><b>John 14:1</b>'
  31. randomverse[19]='Now faith is the substance of things hoped for, the evidence of things not seen.<br/><b>Hebrews 11:1</b>'
  32. randomverse[20]='For whosoever shall call upon the name of the Lord shall be saved. <br/><b>Romans 10:13</b>'
  33. randomverse[21]='And ye shall know the truth, and the truth shall make you free. <br/><b>John 8:32</b>'
  34. randomverse[22]='If ye love me, keep my commandments. <br/><b>John 14:15</b>'
  35. randomverse[23]='I can do all things through Christ which strengthen me. <br/><b>Philippians 4:13</b>'
  36. randomverse[24]='Blessed are they that do this commandments, that they may have right to the tree of life, and may enter in through the gates into the city.<br/><b>Revelation 22:14</b>'
  37. randomverse[25]='Blessed are the meek for they shall inherit the earth.<br/><b>Matthew 5:5</b>'
  38. randomverse[26]='Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you.<br/><b>Matthew 7:7</b>'
  39. randomverse[27]='Judge not, that ye be not judged. <br/><b>Matthew 7:1</b>'
  40. randomverse[28]='But I say unto you which hear, love your enemies, do good to them which hate you.<br/><b>Luke 6:27</b>'
  41. randomverse[29]='This is my commandment that ye love one another, as I have loved you.<br/><b>John 15:12</b>'
  42. randomverse[30]='Then said Jesus, Father, forgive them; for they know not what they do.<br/><b>Luke 23:34</b>'
  43.  
  44.  
  45. //No editing beyond this point
  46.  
  47. document.write(versetitle)
  48. document.write(randomverse[Math.floor(Math.random()*randomverse.length)])
  49.  
  50. </script>
  51. <br/>
  52. <small>Provided by <a href="http://parkersburg1stnazarene.com" target="_blank">Parkersburg First Church of the Nazarene</a></small>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.