Help with this Javascript! I am stuck. :(

Discussion in 'JavaScript' started by dc_publius, Oct 3, 2011.

  1. #1
    I am trying to learn some javascript and playing with various code.

    Can you take a look at: witold.org/index4.html

    When you click on 'work2' on the left bar, I want the bar with info to slide in. But instead, everything just hangs. I am not sure where I am failing. If you look at my changeContent2() and openWork2() functions, you can see I tried to almost hard code where html file where the 'work' info is coming from - to no avail.

    Anyone can enlighten me?
     
    dc_publius, Oct 3, 2011 IP
  2. xira

    xira Active Member

    Messages:
    315
    Likes Received:
    8
    Best Answers:
    4
    Trophy Points:
    68
    #2
    I don't think you're going to get much help here. Try a Javascript site like: www.webdeveloper.com
     
    xira, Oct 3, 2011 IP
  3. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #3
    First think you have to learn is the difference between a html forum and a javascript forum. Second thing you must learn is how to write proper html.
     
    drhowarddrfine, Oct 3, 2011 IP
  4. dc_publius

    dc_publius Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What's wrong with my html? Always looking for some constructive criticism...
     
    dc_publius, Oct 4, 2011 IP
  5. beven

    beven Well-Known Member

    Messages:
    483
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    113
    #5
    w3schools is best for beginners
     
    beven, Oct 4, 2011 IP