【发布时间】:2017-03-20 20:36:16
【问题描述】:
我尝试使用retina.js v2.0 来交换图像,但它不起作用,我不知道为什么。我也在开发人员工具中检查过,但没有任何错误。你能帮我吗,可能是什么问题?
HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</head>
<body>
<img src="images/logo.png" data-rjs="2" alt="Logo">
<script type="text/javascript" src="retina.min.js"></script>
</body>
</html>
【问题讨论】:
标签: retina.js