NorPrice with Fancybox V3.
Posted: Fri Aug 26, 2022 9:37 pm
NorPrice is bundled with the freeware Fancybox V1.3.4. If you want to use it with with Fancybox V3 do the following:
Load Fancybox before the NorPrice Support line.
Make the following change to norpricesupport.js:
Look for the line( about line 31):
Replace it with:
Load Fancybox before the NorPrice Support line.
Make the following change to norpricesupport.js:
Look for the line( about line 31):
Code: Select all
$.fancybox({type:'iframe', href:link, width:width, height:height, onClosed:norpricereload});
Code: Select all
$.fancybox.open({type:'iframe', src:link, iframe:{css:{width:width + 'px', height:height + 'px'}}, afterClose:norpricereload});