www.webdeveloper.com

Search:

Type: Posts; User: Kor

Page 1 of 20 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    15
    Views
    4,080

    You need, also, a challenge. A real project,...

    You need, also, a challenge. A real project, something which can push you ahead, beyond the barriers of the theory. You will learn much by your own try-error-solve circles than by studying obscure...
  2. Replies
    2
    Views
    1,298

    You should check first if the cookie exists.

    You should check first if the cookie exists.
  3. Replies
    3
    Views
    615

    Maybe you might use the Push technology:...

    Maybe you might use the Push technology:
    http://en.wikipedia.org/wiki/Push_technology
  4. Replies
    11
    Views
    3,344

    No. XHTML is not the "standard" by all means....

    No. XHTML is not the "standard" by all means. HTML 4.01 is as good as XHTML. All the browsers run whichever HTML or XHTML version, according to the DOCTYPE used. It is true that some of the HTML5 new...
  5. Thread: ParseFloat issue

    by Kor
    Replies
    3
    Views
    945

    As Jeff said, that happens because your values...

    As Jeff said, that happens because your values are primitives of type String, not Number. And that is due to the fact that the method toFixed() transforms again a Number into a String.

    Anyway,...
  6. Replies
    2
    Views
    902

    Exactly. But IE does that only when you run the...

    Exactly. But IE does that only when you run the site locally. When your site will be uploaded on a server, IE will run it without any block alert, so don't worry.
  7. Replies
    12
    Views
    937

    Nonsense. Why should they use the token this by...

    Nonsense. Why should they use the token this by all means? The OP wants to call a method of an object from within another method of the same object. There are more ways to do that. All I did was to...
  8. Replies
    12
    Views
    937

    A simple test: function myClass(){...

    A simple test:


    function myClass(){
    this.method2=function(arg){
    arg++;
    method1(arg);
    }
    this.method1=function(arg){
    alert(arg)
  9. Replies
    12
    Views
    937

    No, it is not global as long as it is defined...

    No, it is not global as long as it is defined inside the constructor. have you noticed?


    function MyClass()
    {
    var setPanStyleByNode=this.setPanStyleByNode;
    }

    Probably I should have avoided...
  10. Same problem as here:...

    Same problem as here:
    http://www.webdeveloper.com/forum/showthread.php?t=260458

    By short, try something like this:


    var device = function(pos_X,pos_Y,serial){
    //...
    this.draw = function() {...
  11. Replies
    12
    Views
    937

    You judge JavaScript as it would be a class based...

    You judge JavaScript as it would be a class based language, which is not.

    You have there is a constructor, not a class. That makes the inner functions to be the methods of the object, not the...
  12. Replies
    9
    Views
    3,097

    AJAX You may name them "x1", "x2" and remove the x...

    You may name them "x1", "x2" and remove the x character either before request, or at the serverside level. Or you may create a custom attribute for the HTML tag:

    <img class="btn" customid="1"...
  13. Thread: DOM level 2

    by Kor
    Replies
    7
    Views
    1,241

    Could be. Who cares, after all? Are you writing...

    Could be. Who cares, after all? Are you writing the history of DOM, or what? :)
  14. Replies
    4
    Views
    1,010

    Or: #myform, #product { .... } ...

    Or:


    #myform, #product {
    ....
    }
    ...
    <form id="product">

    An HTML element can not have the same attribute twice (or more), thus it can not bear two id tokens.
  15. Replies
    10
    Views
    95,227

    Not a bright idea to style the checkboxes and...

    Not a bright idea to style the checkboxes and radio buttons. After all, they are strictly functional elements, and there is no serious reason to style them. To style what? A very small square? An...
  16. Replies
    3
    Views
    1,009

    The wrong behavior is not confirmed. Tested in...

    The wrong behavior is not confirmed. Tested in IE7, IE8, IE9 / Win 7.
  17. On the other hand, the CSS properties top, left,...

    On the other hand, the CSS properties top, left, right and bottom have no meaning if the element has no definite position. You case: relative.
  18. Replies
    9
    Views
    3,097

    AJAX Maybe it is not related with the issue, but the...

    Maybe it is not related with the issue, but the id's value can not start with a digit, according to the W3C specifications, thus id="1", id="2", etc is not legal in HTML/JavaScript.
  19. Replies
    2
    Views
    754

    Are you warned that the code used is JQuery...

    Are you warned that the code used is JQuery Framework, not native JavaScript? Do you know what a JavaScript Framework is? Do you know JavaScript, after all?
  20. Replies
    11
    Views
    3,344

    HTML5 accepts mostly both XHTML (strict) and...

    HTML5 accepts mostly both XHTML (strict) and HTML4 (strict) ways of coding, so you should not be worry. In other words, HTML5 is almost fully back compatible with the strict versions of HTML4 and...
  21. Thread: DOM level 2

    by Kor
    Replies
    7
    Views
    1,241

    DOM means a model of referring and interacting...

    DOM means a model of referring and interacting with the HTML (and XML) Elements. Therefor, the DOM levels are versions of an interacting model. not versions of the HTML language. You will not find...
  22. Replies
    2
    Views
    526

    It depends on what you want: to set the...

    It depends on what you want: to set the position/size or to get the position/size?

    Note: the offset left and top properties return the relative position (relative to the first parent node), not...
  23. Replies
    2
    Views
    651

    Objects are instances. Instances of a class. ...

    Objects are instances. Instances of a class.

    If you consider a class as being the blue print of a standard apartment in the block where I live, my apartment is an instance, my neighbor's...
  24. Replies
    2
    Views
    721

    Usually XML and JSON are used to transfer data...

    Usually XML and JSON are used to transfer data not to store it, thus a server side solution (like PHP/MySQL) - along with AJAX - is more robust. Don't mention the security.
  25. Replies
    10
    Views
    2,213

    I'll put a dime on HTML5.

    I'll put a dime on HTML5.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles