CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript programming (http://www.codingforums.com/forumdisplay.php?f=2)
-   -   setInterval to add message? (http://www.codingforums.com/showthread.php?t=282133)

Blockis 11-14-2012 01:44 AM

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?

Old Pedant 11-14-2012 02:08 AM

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.


All times are GMT +1. The time now is 06:23 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.