PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
nextgen-gallery
/
static
/
AttachToPost
if (window.frameElement) { document.getElementsByTagName('html')[0].id = 'iframely'; jQuery(function($) { var $content = $('#ngg_page_content'); $('#wpbody-content').html($content); $('#wpbody').html($content); $('#wpwrap').html($content); // $('#wpwrap').html($('#wpbody').html($('#wpbody-content').html($('#ngg_page_content')))); // We need to ensure that any POST operation includes the "attach_to_post" // parameter, to display subsequent clicks in iframely. $('form').each(function() { $(this).append("<input type='hidden' name='attach_to_post' value='1'/>"); }); var parent = window.parent; if (parent == null || typeof(parent.adjust_height_for_frame) === "undefined") { if (window != null && typeof(window.adjust_height_for_frame) !== "undefined") { parent = window; } } // Adjust the height of the frame if (typeof(parent.adjust_height_for_frame) !== "undefined") { parent.adjust_height_for_frame(parent, window, iframely_callback); } }); } function iframely_callback(parent_window, current_window) { var $current_window = jQuery(current_window); if (typeof($current_window.data('iframely')) === 'undefined') { $current_window.data('iframely', { attempts: 1 }); } var iframely = $current_window.data('iframely'); // After we've attempted to resize the frame 3 times, give up if (iframely.attempts == 3) { jQuery('#iframely').css({ position: 'static', visibility: 'visible' }).animate({ opacity: 1.0 }); } else { iframely.attempts += 1; setTimeout(function() { parent_window.adjust_height_for_frame(parent_window, current_window, iframely_callback); }, 400); } }
[-] 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]