Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.sns-imgfield-open').click(function(e){
- e.preventDefault();
- var _btn = $(this);
- var href = baseUri;
- console.log(href); // Call 1
- href += 'modules/snsnovatheme/filemanager/dialog.php';
- href += '?ad_basename='+ad_basename+'&type=1';
- href += '&field_id='+_btn.attr('data-field_id');
- console.log(href); // Call 2
- $.fancybox({ // Fancybox call 3
- 'width' : 900,
- 'height' : 600,
- 'minHeight' : 600,
- 'href' : href,
- 'autoHeight': true,
- 'type' : 'iframe',
- 'autoScale' : false
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement