Coder Social home page Coder Social logo

animenu's People

Contributors

catalinred 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animenu's Issues

drop menu

i cannot open the category dropdown list menu either on the browser or mobile. can you please help

Grunt prettysass breaks the animenu scss code

Hi :) Thank you very much for Animenu, it's such a good menu solution. I just thought I should let you know about an issue we've spent the last few hours troubleshooting - basically if the Animenu css/style.scss OR sass/style.scss gets run through prettysass - https://www.npmjs.com/package/grunt-prettysass - it seems to break the menu (all of the parent menu items remain visible, while the children work as they should).

This may just be an issue with our particular Grunt setup, I'm not 100% sure, but just thought I'd flag it with you and also post a solution here for anyone else having a similar problem (I know we could have just included a call to the plain screen.css file in our html but this is for a big website so we wanted to avoid the additional http hit).

Basically we're keeping the exact version of the supplied screen.scss file in a sub-directory of our sass partials, and we've renamed it animenu, i.e. scss/partials/noprettysass/_animenu.scss

This is called in our master scss file, e.g.
@import "partials/noprettysass/animenu";

In our prettysass.js grunt file we've specified the directories to be prettysass-ed, e.g.

module.exports = {
// Pretty SASS
default_options: {
options: {
alphabetize: true
},
src: ['dev/sitename/scss/.scss','dev/sitename/scss/partials/.scss']
}
};

Then in our watch.js file we've included the extra "noprettysass" directory, e.g.

module.exports = {
// *** Watch ****
css: {
files: ['dev/sitename/scss/.scss','dev/sitename/scss/partials/.scss','dev/sitename/scss/partials/noprettysass/
.scss'],
tasks: ['prettysass','sass']
},
};

When you stop and restart grunt from the command line ("grunt watch") and make a change to any of the .scss files it will re-compile and prettisassify everything except for the contents of the "noprettysass" directory as when it hits the prettysass.js file it will realise it hasn't been specifically told to process the contents of that directory, and so it won't.

The result is you can still keep everything neatly in your master.scss file and avoid the extra hit to the server by calling another stylesheet, and you can override the base Animenu styles in a normal sass partial, without risking the menu breaking.

Anyway hope this can help someone else at some stage and save you some hours!

Harmony :)

multi-level drop downs

I'm trying to implement this menu with multi-level drop-down and it seems to cut off some of the items in the sub menu.

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.