Jump to content

Lae.

Members
  • Posts

    5
  • Joined

  • Last visited

Lae.'s Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. hmmm No one has anything to offer?
  2. Ok, so I am not waiting a week to sit and thisk on this one. Here's the snippet, and here's the full deal My n00b script Q1 - why does the setTimeout function take it's first argument as a string? And should it actually be this.timer() since it's object specific even if it's calling it's self? This whole method is built really... clumsy, even for me. I was having issues. Q2 - That issue being document.getElementById(this.id).src keeps ending up with no properties. (NaN) I got it so the first loop works.. but I can't get the 2nd loop functioning. So my guess is it doesn't know what this object is? I dunno. Let me know what you guys think. Thanks, Lae.
  3. What do you mean by "...keep them in as little topics as possible."? Lae.
  4. Thanks Chocolate. your dilly there works. Is there an API I can look at for javascript? Or a decent refference somewhere? I want to ask about an IDE too.. I mean most people laugh at the idea... but I type like a like I am drunk. So auto completes, and highlighting un-instantiated variables (AKA mispelled) and such is a big bonus. (o:Also do you guys look at scripts and critique them? Or is this not the place for that?lol sorry guys, I spent years tapping out HTML in notepad! I've had enough of that pain. Anyway, Thanks for n00b orientation 101 here. (o:Lae.
  5. Ok, this is the first javascript I have ever written. I took one course in java and then read for a couple hours on javascript. Here is the problem fuction: So if I set document.slotOne.src = "sourceName" as document.slotOne.src = "pic2.jpg" or whatever it works. If I use the variable, which I have tested with 'typeof' and is a string it doesn't work. What's up with this?The sourceGenerator(anInt) function works. I tested it. It returns a string of the proper description. ie. "picSomeRandomNumber.jpg"Seriously I have sat on this for days thinking and reading. lol This is hurt'n. Why can't I use a string variable, but I can use a string?I am by no means an ace, I did one java course a year ago and that's it for my programing experience. Currently the script excutes with no errors, if you want to see the whole thing or know what it actually does just ask. Thanks a bunchLae.
×
×
  • Create New...