Timeline for Magento 2.3 and FancyBox doesn't work :-(
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 5, 2019 at 4:12 | vote | accept | Aknot | ||
Feb 2, 2019 at 16:04 | answer | added | Aknot | timeline score: 0 | |
Feb 2, 2019 at 15:02 | history | edited | Aknot | CC BY-SA 4.0 |
added 722 characters in body
|
Feb 2, 2019 at 14:43 | comment | added | Aknot | Doesn't work. What does "Your JS" mean, is that a custom JS that needs to be loaded? require(['jquery', 'fancybox', 'domReady!'], function($, fancybox, doc) { var fancyboxExample = { openModal: function() { $.fancybox.open(this.$modal); }, closeModal: function() { $.fancybox.close(true); } }; // Initialise fancyboxExample.init(); }); | |
Feb 2, 2019 at 13:54 | comment | added | Aknot | Thank's, I'll try that, please let me get back with the results. | |
Feb 2, 2019 at 13:10 | review | Close votes | |||
Feb 4, 2019 at 4:50 | |||||
Feb 2, 2019 at 12:52 | comment | added | Alex Dinca | Possible duplicate of jquery fancybox for magento 2 | |
Feb 2, 2019 at 12:51 | comment | added | Alex Dinca |
jQuery is already included in Magento, and you have to use requireJS to add new scripts. Here's how magento.stackexchange.com/questions/158894/…
|
|
Feb 2, 2019 at 12:13 | history | asked | Aknot | CC BY-SA 4.0 |