- Posts: 42
- Thank you received: 0
Shadowbox integration, local use
- michaelmyth
-
Topic Author
- Offline
Less
More
8 years 7 months ago #290554
by michaelmyth
Shadowbox integration, local use was created by michaelmyth
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
Hi,
I would like to use shadowbox for product pages images. I know I can use the external files from your CDN, but I prefer to use it locally on my server.
For local integration of shadow box, is there anything else I need to do except adding to my template the shadowbox.js and shadowbox.css ?
thanks!
-- Joomla version -- : 3.6.5
Hi,
I would like to use shadowbox for product pages images. I know I can use the external files from your CDN, but I prefer to use it locally on my server.
For local integration of shadow box, is there anything else I need to do except adding to my template the shadowbox.js and shadowbox.css ?
thanks!
Please Log in or Create an account to join the conversation.
8 years 7 months ago #290557
by nicolas
Replied by nicolas on topic Shadowbox integration, local use
Hi,
No, that's all you need to do.
No, that's all you need to do.
Please Log in or Create an account to join the conversation.
- michaelmyth
-
Topic Author
- Offline
Less
More
- Posts: 42
- Thank you received: 0
8 years 7 months ago - 8 years 7 months ago #290662
by michaelmyth
Replied by michaelmyth on topic Shadowbox integration, local use
Hi,
Is script order important? Your external library is loaded immediately after chosen.jquery.min.js and is working correctly. Mine is loaded after all scripts from media folder are loaded and it doesn't work.
thanks!
Is script order important? Your external library is loaded immediately after chosen.jquery.min.js and is working correctly. Mine is loaded after all scripts from media folder are loaded and it doesn't work.
thanks!
Last edit: 8 years 7 months ago by michaelmyth.
Please Log in or Create an account to join the conversation.
8 years 7 months ago #290663
by nicolas
Replied by nicolas on topic Shadowbox integration, local use
Hi,
Shadowbox doesn't require JQuery so it shouldn't matter.
Are you using the exact same javascript file than we provide ?
Shadowbox doesn't require JQuery so it shouldn't matter.
Are you using the exact same javascript file than we provide ?
Please Log in or Create an account to join the conversation.
- michaelmyth
-
Topic Author
- Offline
Less
More
- Posts: 42
- Thank you received: 0
8 years 7 months ago - 8 years 7 months ago #290744
by michaelmyth
Replied by michaelmyth on topic Shadowbox integration, local use
Last edit: 8 years 7 months ago by michaelmyth.
Please Log in or Create an account to join the conversation.
8 years 7 months ago #290745
by nicolas
Replied by nicolas on topic Shadowbox integration, local use
Hi,
Ah yes, I've forgot about that.
You indeed need to call shadowbox.init(); to initialize it.
The second piece of code is used for when the characteristics swap the product images on the product page when you have different images for different variants of the product. If you don't have that, then you don't need it.
Ah yes, I've forgot about that.
You indeed need to call shadowbox.init(); to initialize it.
The second piece of code is used for when the characteristics swap the product images on the product page when you have different images for different variants of the product. If you don't have that, then you don't need it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds