Questions tagged [snap.js]

A Library for creating beautiful mobile shelfs in Javascript (Facebook and Path style side menus)

A Library for creating beautiful mobile shelfs in Javascript (Facebook and Path style side menus) https://jakiestfu.github.io/Snap.js/

33 questions
0
votes
2 answers

How to add fixed toolbar snap.js

I'm having a bit of trouble adding a fixed header to snap.js here's what I have so far:

My App

DalSoft
  • 10,673
  • 3
  • 42
  • 55
0
votes
0 answers

Use angular-snap into jhipster

Hi i would like to use angular-snap into my j-hipster project. I've installed it with bower in my project root, then I added the module in j-hipster app.js angular.module('smeshApp', [....., 'snap']); then i included in my index.html
Matt3o
  • 377
  • 6
  • 15
0
votes
2 answers

Snap.js right sidebar not showing

I'm trying to create two draggable sidebars with snap.js. The right sidebar isn't displayed, instead of it there is the left sidebar. codepen demo: http://codepen.io/anon/pen/pjREZg var snapper = new Snap({ element:…
filippo90
  • 367
  • 2
  • 3
  • 15
0
votes
1 answer

Snapjs, Use same drawer for left and right

i use the same drawer for left and for right depends on the language:
the problem is when the direction is changed in real time the swipe drawer stays in the same place, i think it needs…
Mike
  • 741
  • 13
  • 40
0
votes
0 answers

Angular and sharing objects

I have a simple directive that is used to instantiate external plugin (Snap.js) on its element: var app = angular.module('plunker', []); app .directive('sideMenu', function() { return { restrict: 'A', link: function(scope, element,…
polmarex
  • 1,363
  • 5
  • 19
  • 35
0
votes
1 answer

angular-snap close drawer after click on link

i have this html structure and i use angular-snap module:
When I click on one of the…
0
votes
1 answer

Snapjs Drawer issue and scrolling content

I am using snap JS such that I have a drawer on the left and content to the right. However when the drawer is opened, I can still scroll content on the left. What would be the right way so that I can disable the div on the left. In jQuery: if…
Jacklyn N
  • 77
  • 1
  • 12
0
votes
1 answer

Content padding with Snap.js

I just got one maybe simple question. I use snap.js to create a slidable menu, but how do I add padding to the contant? Here is the source: http://runnable.com/UoqMXucPORNzAAIH/how-to-create-a-mobile-shelf-using-snap-js-for-javascript Source project…
Treps
  • 780
  • 3
  • 12
  • 28
0
votes
2 answers

How to use Snap.js panels with jQuery Mobile?

Does anybody know how to set up Snap.js in jQuery Mobile? I'm trying to migrate from the jQuery Mobile panel widget which has major scroll issues. http://jsfiddle.net/frank_o/vZBzD/3/ HTML:
Mark Boulder
  • 13,577
  • 12
  • 48
  • 78
0
votes
1 answer

Snap.js: Initialize with jQuery instead of plain JS?

How does one initialize Snap.js with jQuery instead of plain JS? http://jsfiddle.net/frank_o/5X4K9/11/ JavaScript: var snapper = new Snap({ element: document.getElementById('content') }); var addEvent = function addEvent(element, eventName,…
Mark Boulder
  • 13,577
  • 12
  • 48
  • 78
0
votes
1 answer

SnapJS Mobile Menu Positioning

I'm trying to setup a Wordpress starter theme with an out-of-the-box mobile menu. I'm using SnapJS to create a slide out menu. It's working fairly well - almost perfectly but I've run in to one issue that I just cannot fix. You can find the menu in…
0Neji
  • 1,038
  • 1
  • 14
  • 36
0
votes
1 answer

Mobile Menu Overlay

I'm in the process of creating a Wordpress starter theme which uses SnapJS to provide an out-of-the-box mobile menu solution. I've got this working nicely but I've run in to one little problem that I can't quite fix. The theme can be found at:…
0Neji
  • 1,038
  • 1
  • 14
  • 36
0
votes
1 answer

Snap.js and bootstrap, padding where scrollbar should be (on android device)

i'm using snap.js (jakiestfu) in combination with bootstrap. When i view my page on android in the standard "internet" browser i get a padding where the scrollbar would be in a normal browser (see image…
0
votes
1 answer

Layout Challenge in HTML / CSS page

I'm working on a web app. This app is using Bootstrap, AngularJS, and Snap.js. I'm just trying to setup the basic layout and drawer of my app. However, I can't seem to get the drawer to behave properly. I'm trying to create a site that looks like…
user70192
  • 13,786
  • 51
  • 160
  • 240
0
votes
2 answers

Snap.js JQuery conflict?

I'm having trouble accessing my div elements with jQuery after implementing snap.js in my Ratchet project, does anyone know why and how can I fix this? document.getElementById('mydivId').innerHTML //THIS WORKS $('#mydivId').html() //THIS DOESN'T…
Jasper Giscombe
  • 313
  • 1
  • 5