Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2009
    Thanked 0 Times in 0 Posts

    setInterval to add message?

    So basically what I'm trying to do here is use javascript and setinterval to create a facebook message with messages created in an array in the javascript so it's just a matter of iterating over the array and outputting each 'message' in the array. I want to also increase the height of the message box as well, so it stays within the light gray border.

    I've tried a different setInterval methods, but it just isn't working for me...

    Here's what I've got; http://blockis.com/jq/

    Here's jsfiddle to see the code and mess with it: http://jsfiddle.net/gPfbU/ (For some reason, the avatar and the border aren't showing up on the jsfiddle :/)

    Can anyone figure it out?

  2. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 Posts
    Ummm...neither on your page nor in the jsFiddle code do you have *ANY* JavaScript that even *ATTEMPTS* to do what you claimed you are after.

    I don't see setInterval( ) (just for example) in either spot.
    Be yourself. No one else is as qualified.


Posting Permissions

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