www.webdeveloper.com

Search:

Type: Posts; User: AlexAtNet

Search: Search took 0.01 seconds.

  1. BTW, if you are learning JavaScript this article...

    BTW, if you are learning JavaScript this article can be useful: http://alexatnet.com/articles/model-view-controller-mvc-javascript
  2. currentPage is 0 if it is on the first item in...

    currentPage is 0 if it is on the first item in the history so the back is not possible.



    isFowardPossible should return true if currentPage < page.length - 1. page.length - 1 should be maximum...
  3. I'm assuming that you want to use JavaScript for...

    I'm assuming that you want to use JavaScript for that. What you have described can be done in numerous ways but the model will be the same:



    var pages = [ ];
    var currentPage = -1;

    function...
  4. How do you format it? For me it returns different...

    How do you format it? For me it returns different time because of the different timezone:



    new Date(Date.parse('2013-11-09T22:01:01-06:00')).toString()
    // "Sun Nov 10 2013 04:01:01 GMT+0000...
  5. AJAX There are actually two issues. First is that FF...

    There are actually two issues. First is that FF requires responseType being specified after open(). Probably it is because of the bug in FF. Second is that the responseType is allowed only for...
  6. You can use setTimeout function: function...

    You can use setTimeout function:



    function script() {
    // Would run code here after 60 minutes
    }

    var custom_time = "2013-11-09T19:06:27-06:00";
    setTimeout(script, new Date().getTime() -...
  7. Replies
    15
    Views
    1,046

    Hahaha. I understood. I thought that I'm looking...

    Hahaha. I understood. I thought that I'm looking at the code that is submitted by the thread author (so I wrote "this one is much better" keeping in mind that the thread author is trying to improve...
  8. Replies
    15
    Views
    1,046

    Dear tech_soul8, in English language as...

    Dear tech_soul8,

    in English language as understand it "this one is much better. it can be polished a little" means that this new one (your code that was submitted) is much better then the previous...
  9. You code is not in the working condition because...

    You code is not in the working condition because of few syntax errors. Would you like to know how to fix them yourself with our help or your main interest just to get the task done and you are not...
  10. Replies
    15
    Views
    1,046

    This one is much better. It can be polished a...

    This one is much better. It can be polished a little:



    <!doctype html>
    <html>
    <head>
    <title> Untitled </title>
    <meta charset="utf-8">
    <script>
  11. Replies
    3
    Views
    571

    The main issue with this code is that curSelector...

    The main issue with this code is that curSelector is modified within the callback function. So, if two callback functions will be executed not in the order the request was called (the "second"...
  12. AJAX This example shows that you first need to open...

    This example shows that you first need to open the request and then specify the responseType: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data
  13. With the escaped backslash the code works well...

    With the escaped backslash the code works well for me in the WSH environment.
  14. Replies
    15
    Views
    1,046

    document.writeln is most likely not the suitable...

    document.writeln is most likely not the suitable method to archive what you are trying to. To make this task you need to recall the concept of variables in the global scope. So, for example, for the...
  15. Replies
    1
    Views
    353

    Generally, the color of the element can be...

    Generally, the color of the element can be changed using the style property. For example, if the color should be changed to red:



    element.style.color = 'red';


    where element is just a...
Results 1 to 15 of 15
HTML5 Development Center



Recent Articles