✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.105
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/tdhomesa/public_html/wp-content/plugins/SW_Win_Classified/assets/js//jquery.wpmediaelement.js
"use strict";

jQuery.fn.wpMediaElement = function (options) 
{
    var defaults = {
        obj: null,
        mediaControl: null,
        addImgLinkSelector: '.upload-custom-img',
        delImgLinkSelector: '.delete-custom-img',
        imgContainerSelector: '.custom-img-container',
        imgIdInputSelector: '.logo_image_id',
        addImgLink: null,
        delImgLink: null,
        imgContainer: null,
        imgIdInput: null,
        frame: null
    };
    
    var options = jQuery.extend(defaults, options);
    
    /* Public API */
    this.getCurrent = function()
    {
        return options.obj;
    }
        
    return this.each (function () 
    {
        options.obj = jQuery(this);

        options.addImgLink = options.obj.find(options.addImgLinkSelector);
        options.delImgLink = options.obj.find(options.delImgLinkSelector);
        options.imgContainer = options.obj.find(options.imgContainerSelector);
        options.imgIdInput = options.obj.find(options.imgIdInputSelector);

        init_start();

        return this;
    });

    function init_start()
    {
        console.log('init_start'+options.obj.attr('id'));
        
		options.frame = wp.media({
			title: 'Select or Upload Media Of Your Chosen Persuasion',
			library: {
				type: 'image'
			},
			button: {
				text: 'Use this media'
			},
			multiple: false
		});
        
        options.frame.on( 'open', updateFrame ).state('library').on( 'select', selectImg );
        
		options.addImgLink.on( 'click', function( e ) {
			e.preventDefault();
			
			options.frame.open();
		});
        
        // DELETE IMAGE LINK
        options.delImgLink.on( 'click', function( event ){
            
            event.preventDefault();
            
            // Clear out the preview image
            options.imgContainer.html( '' );
            
            // Un-hide the add image link
            options.addImgLink.removeClass( 'hidden' );
            
            // Hide the delete image link
            options.delImgLink.addClass( 'hidden' );
            
            // Delete the image id from the hidden input
            options.imgIdInput.val( '' );
            
            //trigger update widget
            options.imgIdInput.change();
        });

    }
    
    function updateFrame()
    {
        // Do something when the media frame is opened.
    }
    
    function selectImg()
    {
      // Get media attachment details from the frame state
      var attachment = options.frame.state().get('selection').first().toJSON();
    
      // Send the attachment URL to our custom image input field.
      options.imgContainer.append( '<img src="'+attachment.url+'" alt="" style="max-width:100%;"/>' );
    
      // Send the attachment id to our hidden input
      options.imgIdInput.val( attachment.id );
    
      // Hide the add image link
      options.addImgLink.addClass( 'hidden' );
    
      // Unhide the remove image link
      options.delImgLink.removeClass( 'hidden' );
      
      //trigger update widget
      options.imgIdInput.change();
    }

}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
cropit
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
datetime-picker
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
editable_table
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
fileupload
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
leaflet
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
magnific-popup
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
ratings
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
slippry
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
typeahead
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
winter_dropdown
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
winter_treefield
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
winter_treefield_alt
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
winter_treefield_dropdown
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
zebra
--
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0755
blueimp-gallery.min.js
31.546 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
bootstrap-hack.js
1.137 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
bootstrap.js
70.395 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
bootstrap.min.js
36.056 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
bootstrap_carousel.min.js
4.977 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
dataTables.responsive.js
34.692 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
dataTables.select.min.js
11.993 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
datatables.js
456.668 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
datatables.min.bac.js
81.246 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
front-custom-scripts.js
0.19 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
jquery.helpers.js
1.272 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
jquery.mjs.nestedSortable.js
21.523 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
jquery.wpmediaelement.js
3.119 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
less.min.js
140.396 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
markerclusterer.js
33.974 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
npm.js
0.484 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
script.js
2.729 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
sw-custom-marker.js
2.984 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
sw-kakao-custom-marker.js
3.458 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
sw_win_kakao_map_obj.js
9.93 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
sw_win_map_obj.js
9.253 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644
sw_win_open_map_obj.js
6.783 KB
30 Apr 2025 12.46 PM
tdhomesa / tdhomesa
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF