Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // From:
- if($_GET['item']!="" && $_GET['id']!="")
- {
- echo "<script>$.magnificPopup.open({ items: { src: 'i/".$_GET['item']."/".$_GET['id']."',type: 'ajax' }});</script>";
- }
- // Into:
- if($_GET['item']!="" && $_GET['id']!="")
- {
- echo "<script>$.magnificPopup.open({ items: { src: 'i/".$_GET['item']."/".$_GET['id']."' }, type: 'ajax', callbacks: { parseAjax: function(mfpResponse) {}, ajaxContentAdded: function() { $('.imgLiquidFillc').imgLiquid({ fill: false, horizontalAlign: 'center', verticalAlign: '50%'});}}});</script>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement