Is there such code.

  • RedBMedia
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 01, 2007
  • Posts: 315
  • Status: Offline

Post March 3rd, 2009, 11:23 am

I have run my own web servers in the past and for me it wasn't worth it! its a major pain in the butt, and on top of that, you can't flow a lot of traffic through it on a regular broadband connection that your ISP hands out. That's why I just go through a hosting company, its easier and more reliable.
Joe Hall
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 3rd, 2009, 11:23 am

  • WTF-AComputer
  • Student
  • Student
  • No Avatar
  • Joined: Feb 12, 2008
  • Posts: 97
  • Loc: Canada
  • Status: Offline

Post March 3rd, 2009, 3:42 pm

I rewrote it again. And this is what I got but it still does not work at all.

<SCRIPT LANGUAGE="JavaScript">
//store the quotations in arrays
quotes = new Array(6);
authors = new Array(6);
quotes[0] = "Give, and it shall be given to you. For whatever measure you deal out to others, it will be dealt to you in return.";
authors[0] = ".";
quotes[1] = "Praying always with all prayer and supplication in the Spirit, and watching thereunto with all perseverance and supplication for all saints.";
authors[1] = "Ephesians 6:18";
quotes[2] = "Work hard and become a leader; be lazy and never succeed.";
authors[2] = "Proverbs 12:24";
quotes[3] = "I know the plans I have for you, declares the Lord, plans to prosper you and not to harm you, plans to give you hope and a future.";
authors[3] = "Jeremiah 29:11";
quotes[4] = "Therefore, do not worry about tomorrow, for tomorrow will worry about itself. Each day has enough trouble of its own.";
authors[4] = Matthew 6:34;
quotes[5] = "Above all, love each other deeply, because love covers over a multitude of sins. Offer hospitality to one another without grumbling ";
authors[5] = "1 Peter 4:8-9";


//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[index] + "\"\n");
document.write("<DD>" + "-- " + authors[index] + "\n");
document.write("</DL>\n");

//done
</SCRIPT>
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post March 3rd, 2009, 4:22 pm

My computer wouldn't be able to carry all that... but that sounds cool.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 18 posts
  • Users browsing this forum: No registered users and 78 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.