PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
nextgen-gallery
/
static
/
AttachToPost
(function($) { setTimeout(function() { $(function() { window.get_igw_dimensions = function() { var $button = $('.ngg-add-gallery'); var win = jQuery(top); var winWidth = win.width(); var winHeight = win.height(); var popupWidth = 1800; var popupHeight = 1200; var minWidth = 800; var minHeight = 600; var maxWidth = winWidth - (winWidth * 0.05); var maxHeight = winHeight - (winHeight * 0.09); if (maxWidth < minWidth) { maxWidth = winWidth-20 } if (maxHeight < minHeight) { maxHeight = winHeight-40 } if (popupWidth > maxWidth) { popupWidth = maxWidth; } if (popupHeight > maxHeight) { popupHeight = maxHeight; } return { width: popupWidth, height: popupHeight, top: (winHeight-popupHeight)/2, left: (winWidth-popupWidth)/2 }; }; // Restore Thickbox functionality window.wp_tb_position = window.tb_position; window.tb_position = function(){ var src = $("#TB_window iframe").attr('src'); if (src && src.match('attach_to_post')) { var dimensions = get_igw_dimensions(); $("#TB_window").css({ width: dimensions.width.toString()+ "px", height: dimensions.height.toString()+"px", 'top': dimensions.top.toString()+"px", 'left': dimensions.left.toString()+"px" }); $('#TB_window').addClass('ngg_tb_window'); $('#TB_window iframe').css({ width: '100%', height: '100%' }); } else { window.wp_tb_position(); } }; }); }); })(jQuery);
[-] ngg_tabs.min.js
[edit]
[-] ngg_attach_to_post_tinymce_plugin.css
[edit]
[-] ngg_tabs.js
[edit]
[-] nextgen.gif
[edit]
[-] atp_button.png
[edit]
[-] ngg_attach_to_post_tinymce_plugin.js
[edit]
[-] iframely.css
[edit]
[-] uploader-icons-2x.png
[edit]
[-] base64.js
[edit]
[-] attach_to_post.min.js
[edit]
[-] uploader-icons.png
[edit]
[-] ngg_attach_to_post_tinymce_plugin.min.js
[edit]
[-] attach_to_post_dialog.css
[edit]
[-] display_tab.min.js
[edit]
[-] igw.js
[edit]
[-] igw_button.png
[edit]
[-] base64.min.js
[edit]
[-] attach_to_post_dialog.min.css
[edit]
[-] invalid_image.png
[edit]
[-] spinner.gif
[edit]
[-] attach_to_post.js
[edit]
[+]
..
[-] igw.min.js
[edit]
[-] iframely.min.css
[edit]
[-] iframely.min.js
[edit]
[-] attach_to_post.min.css
[edit]
[-] ngg_attach_to_post_tinymce_plugin.min.css
[edit]
[-] attach_to_post.css
[edit]
[-] display_tab.js
[edit]
[-] iframely.js
[edit]