我有一个“彩盒 Js”。使用“表单样式 Js”。现在在我的标题上是“表单样式 Js”。在我把颜色框 javascript 放在我的问题周围搜索后不再工作,我发现这称为“javascript 冲突”,我尝试了这个
<script>jQuery.noConflict();</script>
但这并没有解决我的问题
这是带有表单样式的彩盒脚本
<!--Form styleing-->
<link rel="stylesheet" href="includes/formStyles/jqtransform.css" type="text/css" media="all" />
<link rel="stylesheet" href="demo.css" type="text/css" media="all" />
<script type="text/javascript" src="includes/formStyles/jquery.js" ></script>
<script type="text/javascript" src="includes/formStyles/jquery.jqtransform.js" ></script>
<script language="javascript">
jQuery(document).ready(function(){
$('form').jqTransform({imgPath:'includes/formStyles/img/'});
});
</script>
<!--Form styleing-->
<!-- ColorBox Script add by Yousef Altaf Wasti 24 March 2012 -->
<link rel="stylesheet" href="includes/colorbox/colorbox.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="includes/colorbox/jquery.colorbox.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
//Examples of how to assign the ColorBox event to elements
$(".group1").colorbox({rel:'group1'});
$(".group2").colorbox({rel:'group2', transition:"fade"});
$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
$(".group4").colorbox({rel:'group4', slideshow:true});
$(".ajax").colorbox();
$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
$(".iframe").colorbox({rel:'nofollow', iframe:true, width:"750", height:"780"});
$(".iframe").colorbox({onLoad: function() {$('#cboxClose');}});
$(".inline").colorbox({inline:true, width:"50%"});
$(".callbacks").colorbox({
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
});
//Example of preserving a JavaScript event for inline calls.
$("#click").click(function(){
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
return false;
});
});
</script>
<!-- End script -->
如何让他们一起工作请帮忙。
顺便说一句,如果这可以帮助这是有问题的页面 http://www.hostnile.com