jquery - JavaScript Errors when using ColorBox -
here's couple of screenshots of errors i'm receiving: http://imgur.com/a/lu5ui#0
the errors read: "uncaught typeerror: object function (a,b){return new p.fn.init(a,b,c)} has no method 'colorbox'"
"uncaught typeerror; object not function"
<script> $("document").ready(function (){ // load overlay if (document.cookie.indexof('visited=true') == -1) { var fifteendays = 1000*60*60*24*15; var expires = new date((new date()).valueof() + fifteendays); document.cookie = "visited=true;expires=" + expires.toutcstring(); $.colorbox({width:"580px", inline:true, href:"#subscribe_popup"}); } $(".open_popup").colorbox({width:"580px", inline:true, href:"#subscribe_popup"}); }); </script> i'm using colorbox v.1.3.16 & jquery v.1.8.2
javascript jquery colorbox
No comments:
Post a Comment