tegansnyder / JQuery-Mobile-Slide-Menu

A sliding menu similar to Facebook and Path's approach to menu design on mobile. This is a JQuery Mobile example. DEMO URL below:
http://www.tegdesign.com/tegansnyder-JQuery-Mobile-Slide-Menu
209 stars 65 forks source link

Menu issue #1

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hey Tegan,

The container now resizes correctly, tested on my iphone too :)

There's one other small issue with the menu, check out http://neilberry.com/app2/

I've added another page to your app as an example. Click on Activity and this page will open correctly.

However, clicking on the menu icon again doesn't work, any ideas how we can get it working?

Thanks Neil

ghost commented 12 years ago

Let me know if you want me to test anything ;)

tegansnyder commented 12 years ago

This is now fixed. I updated the click handler, added a event for stopping propagation.

$(document).on("click", ":jqmData(slidemenu)", function(event) {
        event.stopImmediatePropagation();
        slidemenu(sm);
});
linuxonrails commented 12 years ago

The problem is not fixed :-(