我的头部是
<head><title></title>
<link href="css/style-custom.php.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/layout-responsive.css" rel="stylesheet" type="text/css" />
<link href="css/skeleton-responsive.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.js" type="text/javascript"></script>
<link href="css/superfish.css" rel="stylesheet" type="text/css" />
<link href="css/flexslider.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.flexslider.js?ver=1.0"></script>
<script src="js/jquery.min.js" type="text/javascript"></script>
<link href="css/colorbox.css" rel="stylesheet" type="text/css" />
<script src="js/colorbox/jquery.colorbox.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
//Examples of how to assign the ColorBox event to elements
$(".iframe").colorbox({ iframe: true, width: "45%", height: "50%" });
});
</script>
</head>
和打开iframe的链接在这里....最初它正在工作但是在添加母版页后它停止了工作......请为我提供解决方案。
<a href="ForgotPassword.aspx" class="iframe" style="padding-left: 20px;">Forgot Password</a>
答案 0 :(得分:3)
检查开发者控制台是否有错误。而且你可能并不是要加载jQuery两次(无论是未明确的还是缩小的版本)。