dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: JMRKER

Page 1 of 20 1 2 3 4

Search: Search took 0.12 seconds.

  1. Trying to use most of your code as you are just...

    Trying to use most of your code as you are just beginning to post on the forum,
    here is a correction to your code to at least not get an infinite loop.


    <!DOCTYPE HTML>
    <HTML>
    <BODY>
    <BR>...
  2. 'index' never changes within this loop... ...

    'index' never changes within this loop...


    while (index < 5) {
    document.getElementById("red").src = lights[index];
    }

    Therefore, can you say 'infinite loop'?
  3. Replies
    3
    Views
    687

    Where are the images located? Same directory or...

    Where are the images located? Same directory or a different one?
    Show URL where images are located.
  4. What does the rest of your code look like? What...

    What does the rest of your code look like?
    What you have posted will only display a blank page (as expected).
  5. Replies
    3
    Views
    687

    To make it automatic, you need to use...

    To make it automatic, you need to use 'setInterval' instead of 'setTimeout'.

    Also, the variable index need to be reset to zero after the increments
    to go back to the first image.

    Finally, I...
  6. Clarification please: What do you mean by a...

    Clarification please:

    What do you mean by a "new tab"? Do you actually mean a new window?
    Or are you trying to open a "tabbed" display on the same page?

    Also, what does the CTRL key have to...
  7. Replies
    11
    Views
    15,901

    I see a couple of problems. 1. There is no...

    I see a couple of problems.

    1. There is no element with and ID of 'txtcusnam'
    2. You are referencing an object 'txtcusname' with the 'document.getElementById' statement,
    but not the value...
  8. I don't have your pictures to display and mine...

    I don't have your pictures to display and mine are not big enough to fill the screen.
    But, you should be able to modify the following to accomplish your needs.
    You might need to play around with...
  9. Replies
    10
    Views
    924

    Should that not be i-- for the loop to compare...

    Should that not be i-- for the loop to compare correctly?

    Also, what is expected when the number to compare is 200 or greater?
  10. Would be nice to include some simple HTML that...

    Would be nice to include some simple HTML that shows the fields associated with the script that is not working for you. Does not have to be the whole program, just an example of what does and does...
  11. Consider this then... ...

    Consider this then...



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />

    <title> HTML5 page </title>
  12. Are you asking for the output value to be...

    Are you asking for the output value to be truncated two digits after the decimal?
  13. Welcome to the forum. Some observations you...

    Welcome to the forum.

    Some observations you might consider...

    1. You have quite a bit of repeated code there. Can you imagine how difficult it might be to maintain if you have more than 6...
  14. Replies
    4
    Views
    1,046

    Let's see some code so we don't have to start...

    Let's see some code so we don't have to start from scratch.
  15. Replies
    18
    Views
    2,483

    I really don't know what the purpose of this...

    I really don't know what the purpose of this exercise is.
    The requirements seem to change every other post between user selected color displays and static displays.
    Your displays of 'x', 'r', 'b',...
  16. The "New Thread" button is one level up above the...

    The "New Thread" button is one level up above the actual thread.
    It is the page that chooses this page to display.

    Here is a version of what you desire (I think), but if you have further...
  17. If you want help with your code, it is best to...

    If you want help with your code, it is best to provide it.
    Difficult to tell you what is wrong when it cannot be seen.

    (Note: I skipped the mind-reading course in college)

    Note also, you...
  18. Replies
    6
    Views
    799

    Thanks for the info. I could not even figure out...

    Thanks for the info. I could not even figure out how to contact them.

    I don't know if I'm on the list or even if so, why, and have no recourse to contact them.
    Weird!
  19. Replies
    6
    Views
    799

    What happend to alternate forum?

    Does anyone know what happen to the alternative forum: www.codingforums.com :confused:

    I have not been able to display any of the pages on that site.
  20. Consider this function: ...

    Consider this function:




    Number.prototype.padDigit = function() { return (this < 10) ? '0'+this : this; }



    Use as:
  21. Replies
    18
    Views
    2,483

    No conversion to Excel in this version but is...

    No conversion to Excel in this version but is this heading in the right direction for your query?



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />
    <title> Random Cell...
  22. Replies
    18
    Views
    2,483

    A few more questions. 1. The user only enters...

    A few more questions.

    1. The user only enters numbers for the red and blue colors? Are the other 3 are randomly assigned based upon the number of open cells left? Is the user allowed to enter 0...
  23. Replies
    18
    Views
    2,483

    Yes, it might be possible to use a variable, but...

    Yes, it might be possible to use a variable, but not the way you proposed.

    My main questions is why? What is the purpose of the change request?
    What is it that you are really trying to...
  24. Replies
    1
    Views
    557

    Are you asking for the drop down menu to be...

    Are you asking for the drop down menu to be displayed as if the user had clicked on the element BEFORE the user clicks on it? Sort of defeats the purpose of the real estate savings element. But you...
  25. Replies
    18
    Views
    2,483

    One (of many) possible ways to achieve this... ...

    One (of many) possible ways to achieve this...



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />

    <title> Random Cell Colors </title>
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles