[英]iframe with colorbox not working
我的头部是
<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>
检查您的开发者控制台是否有错误。 您可能并不意味着要两次加载jQuery(未最小化版本和最小化版本)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.