<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="http://oldcarservice.pl/wp-content/themes/old-car-service/ad-gallery/jquery.ad-gallery.css" media="screen" /> <link rel="stylesheet" type="text/css" href="http://oldcarservice.pl/wp-content/themes/old-car-service/ad-gallery/jquery.ad-gallery.js" media="screen" /> <script type="text/javascript"> $(function() { var galleries = $('.ad-gallery').adGallery(); }); </script> </head> <body> <div id="gallery" class="ad-gallery"> <div class="ad-nav"> <div class="ad-thumbs"> <ul class="ad-thumb-list"> </ul> </div> </div> </div> </body> </html>
Przy wejściu na stronę firebug pokazuje:
$(".ad-gallery").adGallery is not a function
Oczywiście wszystkei pliki są ładowane przy żadnym nie ma 404... Ktoś ma jakiś pomysł?
Probowałem dla nowego projektu zaimplementować starszą wersje, ta której kod podany jest powyżej to najnowsza wersja.. ale jak nie działało tak nie działa :/
online tutaj: http://oldcarservice.pl/demo.html