AnonSec Shell
Server IP : 20.75.53.88  /  Your IP : 216.73.217.72   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/portais/cmhorizonte/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/portais/cmhorizonte/assets/js/jquery.nicescroll.plus.js
/* jquery.nicescroll.plus
-- the addon for nicescroll
-- version 1.0.0 BETA
-- copyright 13 InuYaksa*2013
-- licensed under the MIT
--
-- http://areaaperta.com/nicescroll
-- https://github.com/inuyaksa/jquery.nicescroll
--
*/
(function (jQuery) {

    var $ = jQuery;  // sandbox

    if (!$ || !("nicescroll" in $)) return;

    $.extend($.nicescroll.options, {

        styler: false

    });

    var _super = {
        "niceScroll": $.fn.niceScroll,
        "getNiceScroll": $.fn.getNiceScroll
    }

    $.fn.niceScroll = function (wrapper, opt) {

        if (!(typeof wrapper == "undefined")) {
            if (typeof wrapper == "object") {
                opt     = wrapper;
                wrapper = false;
            }
        }

        var styler = (opt && opt.styler) || $.nicescroll.options.styler || false;

        if (styler) {
            nw = preStyler(styler);
            $.extend(nw, opt);
            opt = nw;
        }

        var ret = _super.niceScroll.call(this, wrapper, opt);

        if (styler) doStyler(styler, ret);

        ret.scrollTo = function (el) {
            var off = this.win.position();
            var pos = this.win.find(el).position();
            if (pos) {
                var top = Math.floor(pos.top - off.top + this.scrollTop());
                this.doScrollTop(top);
            }
        }

        return ret;
    }

    $.fn.getNiceScroll = function (index) {
        var ret      = _super.getNiceScroll.call(this, index);
        ret.scrollTo = function (el) {
            this.each(function () {
                this.scrollTo.call(this, el);
            });
        }
        return ret;
    }

    function preStyler(styler) {
        var opt = {};
        switch (styler) {
            case "fb":
                opt.autohidemode       = false;
                opt.cursorcolor        = "#e74c3c";
                opt.railcolor          = "";
                opt.cursoropacitymax   = 1;
                opt.cursorwidth        = 10;
                opt.cursorborder       = "none";
                opt.cursorborderradius = "0px";
                break;
        }
        return opt;
    }

    function doStyler(styler, nc) {
        if (!nc.rail) return;

        switch (styler) {
            case "fb":

                nc.rail.css({
                    "-webkit-border-radius": "10px",
                    "-moz-border-radius": "10px",
                    "border-radius": "10px"
                });

                nc.cursor.css({width: 3});

                var obj = (nc.ispage) ? nc.rail : nc.win;

            function endHover() {
                nc._stylerfbstate = false;
                nc.rail.css({
                    "backgroundColor": ""
                });
                nc.cursor.stop().animate({width: 3}, 200);
            }

                obj.hover(function () {
                        nc._stylerfbstate = true;
                        nc.rail.css({
                            "backgroundColor": "none"
                        });
                        nc.cursor.stop().css({width: 10});
                    },
                    function () {
                        if (nc.rail.drag) return;
                        endHover();
                    });

                $(document).mouseup(function () {
                    if (nc._stylerfbstate) endHover();
                });

                break;
        }

    }

})(jQuery);

Anon7 - 2022
AnonSec Team