Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-14-2012, 01:44 AM   PM User | #1
Blockis
New Coder

 
Join Date: Sep 2009
Posts: 36
Thanks: 4
Thanked 0 Times in 0 Posts
Blockis is an unknown quantity at this point
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?
Blockis is offline   Reply With Quote
Old 11-14-2012, 02:08 AM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,561
Thanks: 62
Thanked 4,056 Times in 4,025 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:14 PM.


Advertisement
Log in to turn off these ads.