Good evening! Made a feedback form using FancyBox. When checking in the browser everything is working fine. But bad luck, flooded the site into the network and instead of correctly opening the window with the form, a new page opens with this form, with the styles everything is OK, but the effect itself does not work, i.e. as if not seeing this plugin.

Test version of the hosting for verification- http://ce34418.tmweb.ru/index.htm

  • Link? - soledar10
  • Added link. - Temych

1 answer 1

You do not have a file on the server: http://ce34418.tmweb.ru/fancybox/source/jquery.fancybox.pack.js?v=2.1.5

Accordingly, he does not know about such a function as .fancybox() .

Do not forget to use the developer console in the browser, there is a lot of useful things written.

  • But I don’t have such a file at all ... there is such a jquery.fancybox.pack.js - Temich
  • You have lost links to scripts, all scripts are not loaded at all, perhaps, before html was in the same folder as the scripts, now the scripts are in a separate folder, correct the paths to the head. - MasterAlex
  • ce34418.tmweb.ru/js/jquery.fancybox.pack.js here, by the way, is your fancybox, and the site has a link scr = "fancybox / source / jquery.fancybox.pack.js" - MasterAlex
  • It's just strange how it works out of hosting with the same files, but does not want to be online ... - Tem Temych
  • I threw it in the js folder, I thought, maybe it will work from there. But I look at the server is the file jquery.fancybox.pack.js, in the right place ... but does not work. - Temych