dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: JMRKER

Page 1 of 20 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    10
    Views
    896

    I tried the same thing and got the same results....

    I tried the same thing and got the same results.

    That is some old code copied from somewhere. Note the deprecated "language = javascript" in the code.
    There are much easier ways to do the same...
  2. Replies
    10
    Views
    896

    How about a look at the code? My mind reading...

    How about a look at the code?
    My mind reading skills suck!
  3. Replies
    3
    Views
    444

    Other Might want to add some error checking to assure...

    Might want to add some error checking to assure the user does not
    enter numbers less than or equal to zero. Why...Can we say infinite loop? :eek:


    <script type="text/javascript">
    var...
  4. Replies
    8
    Views
    679

    Alternate solution:

    Alternate solution:


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

    <title> Contact List </title>
    <style type="text/css">
  5. Note, the information will not be saved on the...

    Note, the information will not be saved on the server for others to see.
    Same reason as post #4.

    But you can consider using local or session storage if the comments
    only apply to the user of the...
  6. Replies
    12
    Views
    2,967

    I agree with you and note that you have...

    I agree with you and note that you have contributed often with good information.
    That post was directed to 'master802' (with a total of 4 posts), not you (unless you are the same person).
  7. Replies
    12
    Views
    2,967

    WTH does that have to do with the question posed?...

    WTH does that have to do with the question posed?
    If you can not contribute something useful and relevant, don't bother.
  8. Replies
    12
    Views
    2,967

    Just going down the line of your code. 1. There...

    Just going down the line of your code.
    1. There is no 'lab1.js' enclosed, but I'll assume it is in the <script> section toward the end.
    2. You don't have a place to store the users input once...
  9. Here is a similar display (uses buttons instead...

    Here is a similar display (uses buttons instead of anchors), but has much less redundancy.


    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />
    <title> Button Selection </title>...
  10. The capitalization of your sections does...

    The capitalization of your <div> sections does not match the initilization.
    Should be:


    d1 = document.getElementById("Home");
    d2 = document.getElementById("Budget");
    d3 =...
  11. Replies
    10
    Views
    1,801

    You only allow ONE guess per game. The user...

    You only allow ONE guess per game.
    The user entry needs to be within the loop.

    Also, your counter entry is never changed from 1.
    I think this is what you meant to do with the newGuess++ logic....
  12. In my first iterations of the script I thought...

    In my first iterations of the script I thought about using the 'contents' block as the container
    to allow movement of ALL the cards at one time should I need to change the CSS position attribute to...
  13. OK, should have thought it through more before...

    OK, should have thought it through more before posting, but here is my question and my answer for others who might be interested in my ramblings!



    <!DOCTYPE html>
    <html lang="en">
    <head>...
  14. Getting closer by using a .style.backgroundColor...

    Getting closer by using a .style.backgroundColor definition. :rolleyes:



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />
    <title> Rolex Cards </title>
    <style...
  15. Question now is how to define the so that...

    Question now is how to define the <div> so that it covers lower z-index displays.
    Transparency does not seem to work if images are not involved.

    I plan to roll the displays to the top by altering...
  16. Found part of the problem. ...

    Found part of the problem.



    sel[i].style.top = (200 - (20*i))+'px';
    sel[i].style.left = (200 + (20*i))+'px';
    sel[i].style.zIndex = 1 + (i*2);
    sel[i].style.borderColor = ...
  17. Overlaying DIV elements (of Over-lapping DIVs)

    My attempt to simulate a roll-a-dex card pile is below.
    What it is designed to do and what it does are dynamic opposites.



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />...
  18. Your example code is not JS. But if you are...

    Your example code is not JS.

    But if you are looking for a JS answer, consider this:


    <script type="text/javascript">

    var str = '54M test';
    var char2= str.substring(2,3);
    alert(char2);
  19. Replies
    6
    Views
    1,761

    Your're most welcome. Happy to help. I learned...

    Your're most welcome.
    Happy to help.
    I learned something new as well from 'Kevin2' too!
    Good Luck!
    :)
  20. Replies
    6
    Views
    1,761

    That is interesting. You could also add a...

    That is interesting.

    You could also add a alpha character to the start of the id
    and pull out the numeric portion anytime the checks need to be made
    with a simple regex expression.


    ...
  21. Replies
    6
    Views
    1,761

    There may be a problem with your implementation...

    There may be a problem with your implementation of the script.
    HTML does NOT allow numeric ID values. Therefore an id of 200 (or more or less) would be invalid.

    There may be a way to fix this...
  22. Replies
    12
    Views
    2,003

    Ask your own questions on your own thread. Don't...

    Ask your own questions on your own thread.
    Don't be crashing in on others with unrelated questions.
    :mad:
  23. Replies
    5
    Views
    1,153

    Rather than explain the whole program, how about...

    Rather than explain the whole program, how about you ask about the commands that are not understandable to you.

    Is is the CSS portions you are confused about?
    Or the gathering of the 'collection'...
  24. Replies
    5
    Views
    1,153

    Just for fun ...

    Just playing around now ... :D



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />
    <title> Button Selection </title>
    <style type="text/css">
  25. Replies
    5
    Views
    1,153

    You might want to consider this approach ... :) ...

    You might want to consider this approach ... :)



    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />
    <title> Button Selection </title>
    <style type="text/css">
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles