当我把下面的链接放在我的页面下方消失时只留下bgcolor我包含JQuery.noConflict,因为我的滑块和灯箱不能一起工作而且我被告知我将用jQuery替换$在哪个脚本灯箱上,原型或jquery我知道,我是否也要取代“someid”,我是新手,我怎么能解决这个问题如果提供的解决方案在下面的代码中进行了编辑,我将会喜欢它
<script type="text/javascript" src="js/lightbox.js/"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="js/jquery.js/"></script>
<script type="text/javascript">
JQuery.noConflict();
JQuery(document).ready(function(){
JQuery("div").hide();
});
$('someid').style.display = 'none'
</script>
<script type="text/javascript" src="js/easySlider1.5.js/"></script>
答案 0 :(得分:1)
Js包含订单
// jquery shold include first
<script type="text/javascript" src="js/jquery.js/"></script>
<script type="text/javascript" src="js/lightbox.js/"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>