FANDOM

JustLeafy

aka Adrian

  • I live in Lebanon
  • I was born on March 17
  • My occupation is playing games and editing wikis.
  • I am male.
  • Bio I am a 15 year old Lebanese FANDOM registered user who mostly is interested in Pixel Gun and Bloons. I also am a fan of Let Me Explain Studios and the Flow Free App, which is why I decided to create a wiki for each of those topics. I also have my own wiki (justleafy.wikia.com) if you would like to visit it someday.
  • [Show More]

Tokyo.jpg
Welcome to my Message Wall!

Hello there, <insert name here> and welcome to my message wall! In here, you can leave me a message if you have any questions about me or just want to message me in general. You can message me in English or in Arabic, whatever you like. Here are some quick links:

- Report inconvenients: Report profile headersReport spamReport vandalismReport spam filter problemsReport inappropriate wikis
- Lists of code: List of JS scriptsList of spritesList of stylesheetsList of templates
- Frequently asked questions: w:c:justleafy:Q&A


A FANDOM user
  Loading editor
  • Fiddling around I managed to get some JS to work that autohides the navbar upon scrolling down and makes it reappear when scrolling up. It's not perfect, since the transition between scrolling downwards and the disappearing is instant instead of slightly drawn out like it used to be, but the transition for scrolling upwards is as intended.

    No need to credit me with anything, and good luck on the navbar!


    var didScroll;
    var lastScrollTop = 0;
    var delta = 5;
    var navbarHeight = $('div#globalNavigation').outerHeight();
     
    $(window).scroll(function(event){
        didScroll = true;
    });
     
    setInterval(function() {
        if (didScroll) {
            hasScrolled();
            didScroll = false;
        }
    }, 250);
     
    function hasScrolled() {
        var st = $(this).scrollTop();
     
        if(Math.abs(lastScrollTop - st) <= delta)
            return;
     
        if (st > lastScrollTop && st > navbarHeight){
            $('div#globalNavigation').removeClass('wds-global-navigation').addClass('wds-global-navigation-up');
        } else {
            if(st + $(window).height() < $(document).height()) {
                $('div#globalNavigation').removeClass('wds-global-navigation-up').addClass('wds-global-navigation');
            }
        }
     
        lastScrollTop = st;
    }




    #globalNavigation {
        transition: top 0.5s ease-in-out;
    }
     
    .wds-global-navigation-up {
        top: -55px;
    }
      Loading editor
    • Thanks for this. Ever since I started with this stylesheet, I wanted to include this as part of it. Thanks, anyway!

        Loading editor
    • There's a smoother and more polished solution already on the dev wiki here, so that's probably a better solution than the one I gave you.

      Edit: but you'd have to edit the JS to go up -61px instead of -55px.

        Loading editor
    • A FANDOM user
        Loading editor
  • I Didn't Bump The Old Comments, I Said "Hi" ( Dont Beg Me )

      Loading editor
  • I was interested in your JustLeafy wiki. And I want to make my own personal wiki. Because I love creating wiki's for no reason at all.

    What hub and categories should I choose?

    of course i will add a link to your wiki for the idea

      Loading editor
  • Why did you delete that post?

      Loading editor
  • It was a joke,and somebody hacked my profile but i got it back,so please don't ban me.

      Loading editor
  • Why are people treating you like admin,staff,moderators,beuatacat (whatever else) When it dosnt say where it says when that person is one?

      Loading editor
    • Well, that's because even as a normal, registered user in this wiki, I was able to help people with some problems that they have because I am becoming more and more professional in Wikia. In addition, I am a content moderator in the FANDOM Open Source Library.

      Hope this answered your question!

        Loading editor
    • A FANDOM user
        Loading editor
  • He returned. I had him blocked at first, but he begged for a chance. For now, I unblocked him, but I told if if he messed up, or if you or Minecratian don’t feel comfortable with him, he was to be blocked for good. I wanted to let you know.

      Loading editor
  • Can you edit this wiki? http://mrmen.wikia.com/wiki/Mr._Men_Wiki

      Loading editor
  • I want you to be my friend.

      Loading editor
  • Hey Leafy, I have another question, would you be okay with the wiki's theme colour changing to fit the Christmas times? I messaged Minecraftian about it and he suggested a red Candy-Cane colour scheme. I just wanted to messaged you about and ask someone about it first. I don't want to get in "trouble" again lol.

      Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message