SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Dec 2001
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Will Javascript do this???

    I looking for a javascript or java applet that will
    place a random number between 1000 and 2000 that changes
    each day. For example, 1,768 on Monday, 1,994 on Tuesday,
    1,034 on Wednesday and so on.
    It would also be nice to be able to change the font and size of the number.
    Can anyone come up with something like this?

    Thanks

    Ideaguy

  2. #2
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does the number need to be different for the day a week from the current day, or can it be the same? Here's an example: can the number for today (7/14) be 1,001 and then the number for a week from today (7/21) also be 1,001?

  3. #3
    SitePoint Member
    Join Date
    Dec 2001
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    It needs to be random

    It needs to be random, although it would possible that what
    your example showed COULD happen.

  4. #4
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And the number, even though it is random, needs to remain the same number for that entire day?

  5. #5
    SitePoint Member
    Join Date
    Dec 2001
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Yes

    Yes


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
  •