AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/Dolibarr/htdocs/includes/jsgantt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/Dolibarr/htdocs/includes/jsgantt/main.js
$(document).ready(function() {

  // Scrollspy changes navbar active links
    $("body").scrollspy({target:"#my-navbar-nav", offset:50});

  // Smooth scroll
    $("a").click(function(event) {
      if (this.hash !== "") {
       event.preventDefault();
       var linkOffset = 0;
       if ($.inArray(this.hash,["#options","#xmlExport","#optionsLanguage","#setDayMajorDateDisplayFormat"]) != -1) {
         linkOffset = -25;
       }
       $("html, body").animate({
         scrollTop: $(this.hash).offset().top - $(".navbar").height() + linkOffset
       }, 600);
      }
    });

  // Demo buttons
    $("#embedded-Gantt").hide(0);
    $("#external-Gantt").hide(0);

    $(".btn-demo").click(function() {
      if ($(this).html().indexOf("Embedded Code") != -1) {
        if ($("#external-Gantt").is(":visible")) {
          $("#external-Gantt").animate({
            height: "toggle",
            opacity: "toggle"}, 300, function () {
              $("#embedded-Gantt").animate({
                height: "toggle",
                opacity: "toggle"}, 600
              );
            }
          );
          $(".btn-demo:nth-child(2)").removeClass("active");
        } else {
          $("#embedded-Gantt").animate({
            height: "toggle",
            opacity: "toggle"}, 600
          );
        }
      } else {
        if ($("#embedded-Gantt").is(":visible")) {
          $("#embedded-Gantt").animate({
            height: "toggle",
            opacity: "toggle"}, 300, function() {
              $("#external-Gantt").animate({
                height: "toggle",
                opacity: "toggle"}, 600
              );
            }
          );
          $(".btn-demo:nth-child(1)").removeClass("active");
        } else {
          $("#external-Gantt").animate({
            height: "toggle",
            opacity: "toggle"}, 600
          );
        }
      }
    });

  // Slideshow
    var slideIndex = 0;
    carousel();

    function carousel() {
      var i;
      var x = document.getElementsByClassName("slide");
      var d = document.getElementsByClassName("dot");
      for (i = 0; i < x.length; i++) {
        x[i].style.display = "none";
      }
      slideIndex++;
      if (slideIndex > x.length) {slideIndex = 1}
      x[slideIndex-1].style.display = "inline-block";
      $(".slide:nth-child(" + (slideIndex).toString() + ")").animate({
        opacity: 1
      }, 500);
      $(".dot").removeClass("active");
      $(".dot:nth-child(" + (slideIndex).toString() + ")").addClass("active");
      setTimeout(carousel, 2000); // Change image every 2 seconds
    }
  });

Anon7 - 2022
AnonSec Team