Results 1 to 2 of 2

Thread: Random Image or Text

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Random Image or Text

    Hello,
    what I am trying to do is have chosen text and/or images fade into a specific DIV only. position of fade-in coordinates randomized within the DIV, text/images displayed in random order, interval of 5 secs. Is this possible?
    thanks in advance
    erobey

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Check out jQuery. Its made to make javascript a lot easier. You'd have to use the $("#div").fadeIn() and $("#div").fadeOut(). If you can't find out a way to do this with jquery, after using the Math.ceil, and Math.random functions. Post in this thread, and I'll try to help you. No guarantee that it will turn out how you wanted. But I'll try.
    Jeremy | jfein.net

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
  •