Ankush Jain
Ankush Jain

Reputation: 1527

iframe with colorbox not working

my head part is

<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>

and the link which open iframe is here....initially it was working but after adding master page it stopped working...please provide me solution for it.

<a href="ForgotPassword.aspx" class="iframe" style="padding-left: 20px;">Forgot Password</a>

Upvotes: 0

Views: 2821

Answers (1)

Jack
Jack

Reputation: 9538

Check your developer console for errors. And you probably don't mean to be loading jQuery twice (both the unminified and minified versions).

Upvotes: 3

Related Questions