GithubHelp home page GithubHelp logo

jpushmenu's People

Contributors

dandrews avatar dhimaskirana avatar diagramatics avatar juliangut avatar ryan-frankel 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  avatar  avatar  avatar  avatar  avatar

jpushmenu's Issues

On mobile browsers, menu slides under browser

Tested these demos using iPhone Safari and Chrome. On mobile only, When further down the page and toggling the menu, the open menu gets partially cut off at the top. I've tried css fixes like max-height: 100vh but nothing seems to prevent it. This issue is a nuisance on long pages.

Multiple Instances of jPush Menu

Hi,

Is there any way i can have multiple instances.

I have 2 menus. And i want one to close on body click and the second should not close on body click.

Any help will be appreciated.

Package can't be found on Bower

Hi, it looks like this project can't be found on bower:

$ bower install jPushMenu

bower jPushMenu#*               cached https://github.com/takien/jPushMenu/archive/master.zip#e-tag:1e960b77f
bower jPushMenu#*             validate e-tag:1e960b77f against https://github.com/takien/jPushMenu/archive/master.zip#*
bower                        ENOTFOUND Package jPushMenu not found

Close jPushMenu on Esc key press

closeOnEsc: true

// Close menu on Esc
if (o.closeOnEsc) {
$(document).keyup(function(e) {
if (e.keyCode === 27) {
jPushMenu.close(o);
}
});
}

Default CSS stylesheet with no styling

Hi,

Just an idea, it would be great if jPushMenu had a default CSS style that didn't have any blue backgrounds / border / bullets etc. As I use this script for client sites, it's a hassle to override all of those styles, particularly if we are using Bower and there's no opportunity to directly edit jPushMenu's CSS directly. Perhaps instead the blue styles could be seperated into another CSS file that can be toggled on or off based on user preference.

The file I refer to is: https://github.com/takien/jPushMenu/blob/master/css/jPushMenu.css

close() event doesn't use the configured classes

The options have this as the default:

activeClass : 'menu-active',

... but the close event hard codes the activeClass as 'active'

$('.jPushMenuBtn,body,.cbp-spmenu').removeClass('disabled active cbp-spmenu-open cbp-spmenu-push-toleft cbp-spmenu-push-toright');

This means that on clickoutside, the toggle button doesn't lose it's activeClass. The workaround is to set an activeClass as 'active' but the solution would be to replace 'active' in removeClass with the option value of activeClass

Original Menu still displaying on hover

I was wondering if you could help me figure out how to get rid of the original menu that appears on hover for the secondary menu items. I am using jPushMenu at www.dsdcompanies.com. I have tried fix it using CSS but I am stuck and can't figure it out. Thank you

Lock Body on menu open

Is there a way to lock the body when the menu is open. Especially on mobile because when you scroll the menu and reached the bottom the body will scroll along it. Also it creates white space beacuse of androids tool bar that dissapear and appear depending on screen idle status?

Outside doesn't work on Ipad and Iphone

Hi Takien,
This is really an awesome job but ourside close doesn't work on both ipad and iphone. And I'm getting some errors when I have another position fixed element on my website ( it worked well on computer but got errors on ipad). Hope you will check and fix these errors :)

Thanks!

Second-level menu items

Hi there,

I was wondering if there were any options or techniques for displaying second-level menu items in your script, eg:

Home (primary item)
      About Us (second level item)
      Contact Us
      Another link 

Maybe a collapsible script or add on might do the trick, but if you know of a quick and easy solution, we'd love to know! Thanks!

PS We've used your menu script on a major government website that we've recently designed: http://www.icac.sa.gov.au/ - it is all working beautifully too. Thought you might like to know!

Scroll function in smaller screen size

Hi,

The jPushMenu is really great! However if the screen size is smaller (iphone screen), the side menu is not scrollable, eventhough the content of the page is scrollable.

Can you provide the code to make the menu becomes scrollable?

Thanks!!

closeOnClickInside: false doesn't work...

Hello,

Thanks a lot for this! I really love it!

I need that the menu doesn't close when i click inside... so i try this..

jQuery(document).ready(function($) {
$('.toggle-menu').jPushMenu({closeOnClickInside: false});

});

But it close when i cick...
I need it because i have a textbox in the menu to search... and when i click in the textbox.. the menu close...

thanks

Pascal

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.