| | Random text on a website
|
|
I have a file of quotes (an HTML Table) that I want to use on one of my webpages. However, I want only one quote to display randomly when a page is accessed. Anyone have a Java or other applet for this they could share? (26 years ago, 17-May-99, to lugnet.publish, lugnet.off-topic.geek)
|
|
| | Re: Random text on a website
|
|
(...) What about using SSI[1] or something like that to include a file with the quote, and then update the file one an hour with a cron job? You could also let the cron job put together the actual page people download if you don't want to use SSI. (...) (26 years ago, 17-May-99, to lugnet.publish, lugnet.off-topic.geek)
|
|
| | Re: Random text on a website
|
|
My guess is this won't work for Ed as he uses AOL. Not to mention the fact that many places won't let you submit cron jobs. (...) (26 years ago, 17-May-99, to lugnet.publish, lugnet.off-topic.geek)
|
|
| | Re: Random text on a website
|
|
(...) Actually, I do use AOL, but not for my websites. Those are on Geocities, whihc does not support crons. :( But thanks for the info (26 years ago, 17-May-99, to lugnet.publish, lugnet.off-topic.geek)
|
|
| | Re: Random text on a website
|
|
If you don't mind using javascript here are a few random text generators that I found. Each page includes an example, has the script, and how to install it. Hope this helps. This one pops up a random text in the form of a javascript alert when the (...) (26 years ago, 18-May-99, to lugnet.publish, lugnet.off-topic.geek)
|
|
| | Re: Random text on a website
|
|
(...) Thanks, that's exactly what I was looking for!!! (26 years ago, 19-May-99, to lugnet.publish, lugnet.off-topic.geek)
|