JS function not working, need help asap!(newbie)

Discussion in 'JavaScript' started by Mr Escobar, Oct 16, 2011.

  1. #1
    Hey.

    So, I've been struggling with this script on my VPS.

    Heres the demo.
    http://publictest.simpletds.com/
    P
    W is test.

    When you click the "Outs->" on the demo it loads settings to the right.
    On my VPS it doesnt.. Any ideas what might could be causing this?
     
    Mr Escobar, Oct 16, 2011 IP
  2. Mr Escobar

    Mr Escobar Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    No one? Seriously?
     
    Mr Escobar, Oct 17, 2011 IP
  3. Mr Escobar

    Mr Escobar Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #3
    <div onclick="showout(1)" style="background:#DBF7F9; padding:1px; cursor:pointer; font-size:10px;border:1px solid #AFAFAF">OUTS→</div>

    Thats the "button"
     
    Mr Escobar, Oct 18, 2011 IP
  4. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #4
    The link you posted only returns a code snippet. It would be best to post the malfunctioning JavaScript here.
     
    rainborick, Oct 18, 2011 IP
  5. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #5
    JohnnySchultz, Oct 19, 2011 IP
  6. Mr Escobar

    Mr Escobar Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #6
    Mr Escobar, Oct 19, 2011 IP
  7. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #7

    comparing your source codes.. these lines does not appear in your host..

    <script type="text/javascript" src="inc/jquery-1.2.6.min.js"></script>
    
    <script type="text/javascript" src="inc/jquery.dimensions.js"></script>
    
    <script type="text/javascript" src="inc/jquery.tooltip.js"></script>
    HTML:
    maybe that's why it's not working..
     
    JohnnySchultz, Oct 20, 2011 IP