prettyphoto media wordpress plugin opening the image as a url not in popup box

admin

Administrator
Staff member
I'm working in wordpress with twitter bootstrap theme.i want to use prettyphoto media wordpress plugin to show my newsletters but when i clicked on any image its opening it as a url not in popup box. i have used it before in my another wordpress sites and its working fine but not now.

Here is my code to open an image:

Code:
<a href="http://projects.flashonmind.com/hoppworldwide/wp-content/uploads/2013/10/MSNCruise.jpg" rel="prettyPhoto" title="This is the description"><img src="http://projects.flashonmind.com/hoppworldwide/wp-content/uploads/2013/10/mar01.jpg" alt="This is the title" /></a>

When i have checked the console in mozilla its showing that $(...).prettyPhoto is not a function.

Actualy there are two scripts in my full width template which i have used for some menu content when i remove these scripts its working fine but i have to use these script so where i have to put my scripts now here are the scripts:

Code:
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
$(document).ready(function(){
  $(".sec-menu").mouseover(function(e) {
       $("#my-account").css("display","block");
    });
     $(".sec-menu").mouseout(function(e) {
       $("#my-account").css("display","none");
    });

});

</script>