www.webdeveloper.com

Search:

Type: Posts; User: Declan1991

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. jQuery That's probably a CSS problem. If you look at the...

    That's probably a CSS problem. If you look at the generated source of the page (View -> Page Source), you'll probably spot the difference between the two lists quickly.
  2. Thread: define var

    by Declan1991
    Replies
    4
    Views
    541

    You are probably calling that before the element...

    You are probably calling that before the element is made. Either call it in a function on page load or just put the JavaScript after the element.
  3. Replies
    2
    Views
    539

    And what doesn't it do?

    And what doesn't it do?
  4. Replies
    1
    Views
    386

    Because you are printing it out after the loop...

    Because you are printing it out after the loop terminates, it actually goes from 0 to 20 and then exits, and then prints out.
  5. Replies
    8
    Views
    778

    Well, if you are repeating that a lot, it's not...

    Well, if you are repeating that a lot, it's not good to be calling document.getElementById so much. Storing a reference would probably be better. Short code doesn't necessarily mean it's faster.
  6. Replies
    23
    Views
    1,483

    The World's Most Misunderstood Programming...

    The World's Most Misunderstood Programming Language. Particularly look at the Lisp in C's clothing bit!
  7. Replies
    9
    Views
    1,043

    Agree fully. Interesting. The IT people I know...

    Agree fully.

    Interesting. The IT people I know working in those sorts of programming are generally doing technical support and some programming, but I do know I've a very limited knowledge of the...
  8. Replies
    9
    Views
    1,043

    Isn't that more engineering? And these days, to...

    Isn't that more engineering? And these days, to work in electronic engineering, you are most certainly better off with a degree than without it. Certainly, in the past, you could get away with...
  9. Thread: Web 2.0?

    by Declan1991
    Replies
    2
    Views
    925

    But beware, that it's just a catchphrase, it...

    But beware, that it's just a catchphrase, it doesn't actually mean anything, or at least won't consistently mean anything. Actual advances in technology that you could look at are HTML5 (including...
  10. Replies
    1
    Views
    496

    Is this a JavaScript forum? Yes. Is this a forum...

    Is this a JavaScript forum? Yes.
    Is this a forum for the JavaScriptMVC library? No, but there's nothing to stop you asking!
  11. Replies
    6
    Views
    1,009

    Poll: What's your question? As mrhoo said, it's still...

    What's your question? As mrhoo said, it's still allowed occasionally for backwards compatibility, other than that, it's entirely wrong and you should never use it. Nothing to be learned.
  12. You want the parent node's id of this script tag?...

    You want the parent node's id of this script tag?
    var els = document.getElementsByTagName("script"),
    data = els[els.length-1].parentNode.id;
  13. Learn one first and then the other, probably PHP...

    Learn one first and then the other, probably PHP first (because that runs on the server, so you'll have less browser inconsistencies. So, I think the best approach is to learn the basics, then start...
  14. Well, in my opinion, the hard bit is the design....

    Well, in my opinion, the hard bit is the design. I don't think you would have much difficulty getting the necessary tools in a year. The most important thing, in my opinion, is to simply practice the...
  15. Most of them aren't really languages at all....

    Most of them aren't really languages at all.
    From the start, XML and HTML are virtually the same thing, HTML can be learned in about half an hour. CSS and HTML go hand in hand, but you'd know the...
  16. Replies
    4
    Views
    706

    Therein lies your problem. JavaScript doesn't...

    Therein lies your problem. JavaScript doesn't have classical inheritance, it has prototypical inheritance, so if you are expecting things to work like Java or C++, you will be disappointed. Even the...
  17. Well, it depends on the type of functions. For...

    Well, it depends on the type of functions. For example, I normally wouldn't apply a function to an li, but rather to the containing ul:
    var...
  18. Replies
    13
    Views
    1,836

    Vim personally, I have an Apache server locally,...

    Vim personally, I have an Apache server locally, and set up a virtual host for each project and that's about it. Git to keep track of revision, and I'll try out Continuous Integration from Eriwen in...
  19. Replies
    2
    Views
    386

    What Padonak said, but also: if (a.length >= 6...

    What Padonak said, but also:
    if (a.length >= 6 && a.length <= 10)Is a little more managable!
  20. Because it only updates the canvas onmousemove,...

    Because it only updates the canvas onmousemove, it's not designed for such animation. You can either read through the library source and work out how to manually update it, or contact the developers...
  21. Replies
    2
    Views
    487

    modal.addEventListener('click', function (event)...

    modal.addEventListener('click', function (event) {placeDiv(event, 'orange');} );That should work, but I prefer to explicitly write it as something like:
    modal.addEventListener('click', function (e)...
  22. Yup, you need the brackets as I indicated for...

    Yup, you need the brackets as I indicated for both if statements, works fine for me.
  23. It would be better if you didn't simply repost...

    It would be better if you didn't simply repost your original post a few weeks later after not replying to any post on your first one!

    Best of luck!
  24. Paper.js is JavaScript, it's "ported" to...

    Paper.js is JavaScript, it's "ported" to JavaScript, in other words, it's written in JavaScript.
  25. You might mean: if ( (car == "I" || car == "J")...

    You might mean:
    if ( (car == "I" || car == "J") && agec < 25)But you didn't tell us exactly what it's supposed to do!
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles