Giter Club home page Giter Club logo

full-screen-pushing-navigation's Introduction

Full-Screen Pushing Navigation

A full page menu, that replaces the current content by pushing it off the screen.

Article on CodyHouse

Demo

License

Dependencies

This experiment is built upon the CodyHouse Framework.

Make sure to include both the style.scss and util.js files of the framework.

full-screen-pushing-navigation's People

Contributors

claudia-romano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

full-screen-pushing-navigation's Issues

Wordpress theme issues with menu

When I create a new page in my WordPress theme the content that should load on that page, does not seem to push over seamlessly when the button is clicked. The content pushes, but it over laps onthe background color rather than disappear quickly. I have tried working on fixing it but the only content that pushes over correctly is the content on the header.php and footer.php. Any content in the middle loaded through a WordPress page does not get pushed correctly.

Modernizr.js conflict when using with jQuery Smooth Scroll function

Hello,

Great script, I really love the effect.

Unfortunately, I'm having a little issue combining scripts, when I try to add a smooth scroll efect on the page, the smooth scroll won't work unless I do not load modernizr.js.

But if I do not load the modernizr.js, the push navigation does not work anymore.

Any idea on what I could do to make those 2 work along ?

Here's the smooth scroll part I'm using with jQuery jquery-3.2.1.min.js.

<script>
var $ja = jQuery.noConflict();
$ja(document).ready(function(){
    $ja(".arrow-wrap").on('click', function(event) {
        if (this.hash !== "") {
            event.preventDefault();
            var hash = this.hash;
            $ja('html, body').animate({
                scrollTop: $ja(hash).offset().top
            }, 800, function(){
                window.location.hash = hash;
            });
        }
    });
});
</script>

I tried to load modernizr.js in the head before jquery-3.2.1.min.js in the footer.
I tried to move them to change their order, but no luck yet.

Best regards,
David

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.