Reply to Re: How do I put random quotes on my web site?

Your name:

Reply:


Posted by Chris Ianson on 03/11/06 03:27

"Mitja Trampus" <nun@example.com> wrote in message
news:aTnQf.794$oj5.294378@news.siol.net...
> 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.

Yes, I have found some JaveScripts, but even though I copy and paste them
exactly I still get script errors in IE6.

Perhaps someone can post a working example here with 2 quotes?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация