Sha256: fbf7c8fe19a37ce8eb6d39c0b36db86f4ee077026cb665fca4a97a2f341efc2f

Contents?: true

Size: 1.35 KB

Versions: 22

Compression:

Stored size: 1.35 KB

Contents

const RespondBrowse = () => {

  BookLinks.hover(function(e) {

    CreateMatch(this);

    gsap.set(BookLinks,ClearBackground);

    gsap.set(this,BackgroundShade);

    CheckBookClass(this);

    ChapterBooks.each(function(index,value) {

      CheckBookClass(value);

      IfFound(value);

      gsap.set(value.children,ClearBackground);

      gsap.set(value.children[0],BackgroundShade);

    });

    PageBooks.each(function(index,value) {

      CheckBookClass(value);

      IfFound(value);

      gsap.set(value.children,DisplayNone);

      gsap.set(value.children[0],ClearDisplay);

      gsap.set(value.children[0].children,ClearBackground);

      gsap.set(value.children[0].children[0],BackgroundShade);

    });

  });

  ChapterLinks.hover(function(e) {

    let parent = this.parentElement;

    CreateMatch(parent,"book");

    CreateMatch(this,"chapter");

    gsap.set(ChapterLinks,ClearBackground);

    gsap.set(this,BackgroundShade);

    PageChapters.each(function(index,value) {

      CheckChapterClass(value);

      IfFound(value);

      gsap.set(value.children,ClearBackground);

      gsap.set(value.children[0],BackgroundShade);

    });

  });

  PageLinks.hover(function(e) {

    gsap.set(PageLinks,ClearBackground);

    gsap.set(this,BackgroundShade);

  });

}

if (!SiteIsTheme) { if (!BodyIsHome) { if (Browseable) { RespondBrowse(); } } }

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
futuro-0.9.7 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.6 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.5 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.4 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.3 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.2 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.1 assets/js/footer/custom/RespondBrowse.js
futuro-0.9.0 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.9 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.8 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.7 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.6 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.5 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.4 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.3 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.2 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.1 assets/js/footer/custom/RespondBrowse.js
futuro-0.8.0 assets/js/footer/custom/RespondBrowse.js
futuro-0.7.9 assets/js/footer/custom/RespondBrowse.js
futuro-0.7.8 assets/js/footer/custom/RespondBrowse.js