TypeError: $(...).colorbox ist nicht eine Funktion

Ich bin mit Balg js-code

<script type="text/javascript"> 
    $(document).ready(function(){
        $(".youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});
        $(".callbacks").colorbox({
        onOpen:function(){ alert('onOpen: colorbox is about to open'); },
        onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
        onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
        onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
        onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
        });
    });
    </script>

Dann dieses Balg kommen die Fehler

TypeError: $(...).colorbox ist nicht eine Funktion [Pause zu Diesem Fehler]

$(".youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});

wenn ich auf video-link direkt öffnen in die Seite anstelle von lightbox-Effekt

InformationsquelleAutor Ras4U | 2013-10-18
Schreibe einen Kommentar