PHPIndex

This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).

bootnavbar.js
wget 'https://sme10.lists2.roe3.org/guppy/inc/jshead/bootnavbar.js'
View Content
(function($) {
    var defaults={
        sm : 540,
        md : 720,
        lg : 960,
        xl : 1140,
        navbar_expand: 'lg'
    };
    $.fn.bootnavbar = function() {

        var screen_width = $(document).width();

        if(screen_width >= defaults.lg){
            $(this).find('.dropdown').hover(function() {
                $(this).addClass('show');
                $(this).find('.dropdown-menu').first().addClass('show').addClass('animated fadeIn').one('animationend oAnimationEnd mozAnimationEnd webkitAnimationEnd', function () {
                    $(this).removeClass('animated fadeIn');
                });
            }, function() {
                $(this).removeClass('show');
                $(this).find('.dropdown-menu').first().removeClass('show');
            });
        }

        $('.dropdown-menu a.dropdown-toggle').on('click', function(e) {
          if (!$(this).next().hasClass('show')) {
            $(this).parents('.dropdown-menu').first().find('.show').removeClass("show");
          }
          var $subMenu = $(this).next(".dropdown-menu");
          $subMenu.toggleClass('show');

          $(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) {
            $('.dropdown-submenu .show').removeClass("show");
          });

          return false;
        });
    };
})(jQuery);
boxmenu_toggle.js
wget 'https://sme10.lists2.roe3.org/guppy/inc/jshead/boxmenu_toggle.js'
View Content
jQuery(function($) {
    
    
    
    function add_event_click_for_close_rubr_item()
    {
    	//Close Popups and Fade Layer
    	$('p.rubr').on('click', function() {
            var rubrId = $(this).data('rubrid');
            $('#' + rubrId).toggle();
            $('#' + rubrId + 'p').toggle();
            $('#' + rubrId + 'm').toggle();
    	});        
    }
    
    
    
    
    
	// --------------------------------------------------------------------

    /**
     * fonctions à exécuter lors du chargement du script
     *
     * @return void
     */
    function init()
	{
        add_event_click_for_close_rubr_item();
    }
    //
    
    init(); // initialisation  
});
lytebox_loader.js
wget 'https://sme10.lists2.roe3.org/guppy/inc/jshead/lytebox_loader.js'
View Content
/**
 * plugin Lytebox for CKEditor (guppy v6.x)
 *
 * Author : jchouix
 * website : http://lebrikabrak.info
 * licence : GPL
 * version : 1.2 (2013/11/17)
 *
 * This plugin is based to the original script written by Sven Zinke (www.webutler.de)
 */

const lytebox_script = document.createElement("script");
lytebox_script.type = "text/javascript";
lytebox_script.src = site3 + "inc/photo/lytebox/lytebox.js";
document.head.appendChild(lytebox_script);

const lytebox_link = document.createElement("link");
lytebox_link.rel = "stylesheet";
lytebox_link.type = "text/css";
lytebox_link.href = site3 + "inc/photo/lytebox/lytebox.css";
document.head.appendChild(lytebox_link);