Javascript无法正常工作

时间:2012-12-28 09:21:02

标签: javascript html css

我在网站上有登录框,它应该会滑动,但它确实不起作用,我无法弄明白为什么,这是代码:

<div style="float:right; width:640px; font-size:10px;">
<div style="float:right; margin:5px;" align="right">

Pentru a va conecta apasati <a onclick="ShowHide(); return false;" href="#">aici</a><br/>
<a href="/register.php">Inscriere utilizator nou</a>
</div>
<div id="loginbox" class="div_login_box">
<form action="/login.php" method="post" name="loginform">
<table width="420" border="0">
  <tr>
    <td>E-Mail:</td>
    <td><input name="email" id="email" type="text" size="15" /></td>
    <td>Cod:</td>
    <td><input name="password" id="password" type="password" size="15" /></td>
    <td><input style="border:none" name="submit" type="image" src="/images/ok.png" border="0" value="Ok" /></td>
  </tr>
</table>

</form>
</div>
</div>

这是实例:

http://dev.eurodiet.ro/

1 个答案:

答案 0 :(得分:3)

请不要让我们调试您的网站/脚本而不自行检查基本内容。

这是来自Chrome的控制台输出(F12CTRL+SHIFT+i

Failed to load resource: the server responded with a status of 404 (Not Found) http://dev.eurodiet.ro/Scripts/jquery-1.4.2.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://dev.eurodiet.ro/Scripts/swfobject_modified.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://dev.eurodiet.ro/Scripts/jquery-ui-1.8.5.custom.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://dev.eurodiet.ro/Scripts/eurodiet_scripts.js
Uncaught ReferenceError: swfobject is not defined dev.eurodiet.ro:147
Uncaught ReferenceError: swfobject is not defined dev.eurodiet.ro:196