RaNdOm WoRds hTml HeLp!?!

-Hey, I need this really cool html, but can't find it<br />
I looked some ones html and it did not work, its like.<br />
you enter <br />
[1] the man says... (html) I like food (<-- is what he says)<br />
an example would be on this site<br />
<br />
<!-- m --><a class="postlink" href="http://www.squeakyzoneproductions.com/yasssc/index2.htm">http://www.squeakyzoneproductions.com/yasssc/index2.htm</a><!-- m --><br />
<br />
on the bottom of page next to affiliates its "chibby shadow" he says up fo 101 things or more at random, can any one help me with this html? thanks if you can<!--content-->That's done with JavaScript.<br />
Search Google for "random quote JavaScript"; there are plenty of free ones.<!--content-->Are you a 100% on that? Coz, on geocities I have used it in page builder, but it doesent want to work in frontpage<!--content-->Yep, I'm 100% sure it's JavaScript; I took a peek at the source code of the example you posted. :P <br />
<br />
It can't be done with just HTML. Just search Google for a script... it's as simple as copying and pasting it. :)<!--content-->err, nvm I see now, I was thinking of that Weird java game type stuff.<!--content-->here is the code from that site, you can either make it an external javascript file or not, its up to you.<br />
<br />
<br />
<script language="JavaScript"><!--<br />
// The Array Function <br />
<br />
function makeArray(len) {<br />
for (var i = 0; i < len; i++) this = null;<br />
this.length = len;<br />
}<br />
<br />
// This is where the array of text/images/sounds is created.<br />
<br />
ideas = new makeArray(10);<br />
ideas[0] = "Random Quote number 1 ";<br />
ideas[1] = "Random Quote number 2 "<br />
ideas[2] = "Random Quote number 3 "<br />
ideas[3] = "Random Quote number 4 "<br />
ideas[4] = "Random Quote number 5 "<br />
ideas[5] = "Random Quote number 6 "<br />
ideas[6] = "Random Quote number 7 "<br />
ideas[7] = "Random Quote number 8 "<br />
ideas[8] = "Random Quote number 9 "<br />
ideas[9] = "Random Quote number 10 "<br />
// The random number generator.<br />
<br />
function rand(n) {<br />
seed = (0x015a4e35 * seed) % 0x7fffffff;<br />
return (seed >> 16) % n;<br />
}<br />
<br />
var now = new Date()<br />
var seed = now.getTime() % 0xffffffff<br />
// --><br />
</script><br />
<br />
<br />
^^^^^^^^^^^^^<br />
This is where you put the quotes, remember, if you ad, always add the amount of them in the array amount.<br />
<br />
<br />
<script language="JavaScript"><br />
<!--<br />
// Where you place this is where the random object will be displayed.<br />
document.write(quoterand(quote.length)])<br />
// --><br />
</script><br />
<br />
^^^^^^^^^^^^^<br />
This is where you want to randomness to occur :)<br />
<br />
hope this helps,<br />
emby.<!--content-->yes, much. Um, I also want to know about the same thing with pics? How does that work? like, do O use the pic or does that have to do with a random page? err, I'm lost my self. any one know that ither?<!--content-->
 
Back
Top