AgentChronon
07-08-2006, 01:25 AM
Do you know how to make it so when you refresh it displays a random thing? Example: here (http://www.suta-raito.com/Oekakin.shtml) if you refresh a different picture appears every time. How do you do that? I want to do it with text a little more than image if it matters
amyaurora
07-08-2006, 01:29 AM
I've used this following javascript in the past: http://www.javascriptkit.com/script/cut118.shtml
There are others here: http://www.javascriptkit.com/script/cutindex4.shtml
AgentChronon
07-08-2006, 01:40 AM
Sorry, but I can't get it to work for text, just images... I'll try again.
amyaurora
07-08-2006, 03:06 AM
From random text you can try a quote script such as: http://www.codelifter.com/main/javascript/randomquote.shtml
AgentChronon
07-08-2006, 12:40 PM
Nevermind, I found it out.
AgentChronon
07-08-2006, 01:18 PM
Nevermind, I found it out.
EDIT: I didn't... I can only do it with two of them, which is kinda lame.
AgentChronon
07-08-2006, 01:56 PM
EDIT: I didn't... I can only do it with two of them, which is kinda lame.
EDIT: Okay, now I have this but it's not working. Help me please.
<li><b>Stupid Random Fact</b><ul>
<li><script language="JavaScript">
// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================
var Quotation=new Array() // do not change this!
Quotation[0] = "PIE IS GOOD YES IT IS YA YA YA!!!.";
Quotation[1] = "Megapokeplushieland is kool.";
Quotation[2] = "Singe likes pie even more than AgentChronon. If that is possible.";
Quotation[3] = "Megapokeplushieland was made 6-19-2006. The old bad site Mega Hunters was made 12-21-2005.";
Quotation[4] = "PokeMega's first version will probably be called Sun and Moon because those are winning in the polls.";
Quotation[5] = "OMG CLICK <a href= "http://kevan.org/brain.cgi?AgentChronon.">HERE</a>!!!!";
Quotation[6] = "Imagination is more important than knowledge- Albert Einstien. This is AgentChronon and Singe's unianimous decision for best quote of all time.";
Quotation[7] = "Spam spam spam. You can spam as much as you want <a href= "http://s13.invisionfree.com/tailsisapie">here.</a>:;
Quotation[8] = "Sometime I hope I can put a style-switcher on the site.";
Quotation[9] = "Hi.";
// ======================================
// Do not change anything below this line
// ======================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}
showQuotation();
</script></