- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I am trying to upload new version of fancybox 3 gallery.
I did it on computer and it is working great,
but somehow in weebly it is not working !
In page's seo settings, in head-part I put this code:
<link href="jquery.fancybox.min.css" rel="stylesheet" type="text/css"/>
In its footer part I put the following code:
<script src="jquery-3.2.1.js"></script>
<script src="jquery.fancybox.min.js"></script>
<script>
jQuery(function($) {
$('#foo').doThatThing();
});
</script>
I have uploaded all linked file in the ASSETS section in the Theme Editor.
The testing link is here:
https://mother-ma.weebly.com/fancy.html
Please, let me know what's wrong -
Thanks,
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hey @Vijay!
The path to the files you uploaded is wrong - add "files/theme/" to each of the paths in your code. That's basically an alias to anything added to the assets folder.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report