-1

我想要 2 个 jquery 在同一页面上,但我尝试了很多东西,比如“Noconflict”,但我没有完成。我是网站开发的新手。希望有人可以帮助我。

网站链接问题页面

<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/coin-slider.css" />
<script type="text/javascript" src="../js/cufon-yui.js"></script>
<script type="text/javascript" src="../js/cufon-times.js"></script>
<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../js/script.js"></script>
<script type="text/javascript" src="../js/coin-slider.min.js"></script>
<script type="text/javascript" src="js/lightbox-2.6.min.js"></script>

使用此脚本正在使用硬币滑块

和这个工作灯箱:

<link href="css/lightbox.css" rel="stylesheet" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/coin-slider.css" />
<script type="text/javascript" src="../js/cufon-yui.js"></script>
<script type="text/javascript" src="../js/cufon-times.js"></script>
<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../js/script.js"></script>
<script type="text/javascript" src="../js/coin-slider.min.js"></script>
<script src="js/jquery-1.10.2.min.js"></script>
<script src="js/lightbox-2.6.min.js"></script>

我想要下面的弹出图片(灯箱)。我和硬币滑块一起工作。问题是 2 个作品中只有 1 个完美。

4

1 回答 1

0

尝试这个:

<link href="css/lightbox.css" rel="stylesheet" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/coin-slider.css" />
<script src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../js/cufon-yui.js"></script>
<script type="text/javascript" src="../js/cufon-times.js"></script>
<script type="text/javascript" src="../js/script.js"></script>
<script type="text/javascript" src="../js/coin-slider.min.js"></script>
<script src="js/lightbox-2.6.min.js"></script>
于 2013-10-16T22:03:49.320 回答