Results 1 to 2 of 2

Thread: Random Text

  1. #1
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Text

    Hi im looking for a simple html code and im not sure whether or not to do it in html

    how can i made like a sentance generator like it randomly says something ive put it in for example u see banners do it, you visit a site and u see an ad and refresh the page and it is a different ad how can i do that but with text?

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Nothing random is possible in HTML alone. You need some kind of programming language. HTML is just a markup language. Javascript is probably the simplest, but server-side languages may also be available to you and have the advantage of working for all users while javascript is just for those who have enabled it (most do).

    Take a look here:

    http://search.freefind.com/find.html...0&query=random

    Some of the scripts listed may be what you are looking for.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •