|
Posted by Mitja Trampus on 03/11/06 01:22
Chris Ianson wrote:
> "Jim Moe" <jmm-list.AXSPAMGN@sohnen-moe.com> wrote in message
> news:0LudnSBOR9T5f4zZRVn-tw@giganews.com...
>> Chris Ianson wrote:
>>> Hi, I'm looking for a simple newbie way to put quotes into HTML code, and
>>> have them randomise each time the page is refreshed. What's the easy
>>> solution?
>>>
>> Client-side: use Javascript. Server-side: use PHP, JSP, perl, etc.
>> Open a file of quotes, use a random number generator to select a line of
>> text, print it.
>
> Sorry, can you show me an example in Java please, with say 2 quotes.
Java and JavaScript are two entirely different things. Java is in fact hidden in the "JSP"
above - Java Server Pages.
> I have
> no idea what any of that means :S
Then no example can help you (enough). The easiest (though shoddiest) way to go is
JavaScript; you can find a script on Google with instruction on how to put it on your
site, requiring no knowledge of what is actually going on.
Navigation:
[Reply to this message]
|