简体   繁体   English

JavaScript链接无效

[英]Javascript link doesn't work

I have this script in my linkbar on the bottom of my page 我在页面底部的链接栏中有此脚本

<a href="links.html">
    <span id="cockroachlinks"
        onmouseover="this.innerHTML='&nbsp;&nbsp;&nbsp;WHAT IS WRONG WITH YOU?&nbsp;&nbsp;&nbsp;'" 
        onmouseout="this.innerHTML='more dead cockroach related links'">
            more dead cockroach related links
    </span>
</a>

And when i click on the link i get a 404 error. 当我单击链接时,出现404错误。 I'm positive i uploaded the page and the link is functional. 我很肯定我上传了页面,链接正常运行。 what am i doing wrong? 我究竟做错了什么?

try to access directly to the file, just to check how your webserver responds do this link. 尝试直接访问该文件,仅检查您的Web服务器如何响应即可执行此链接。

your link is valid, probably it is a server configuration or a permission or something like that! 您的链接有效,可能是服务器配置或许可之类的东西!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM