• This repository has been archived on 24/Apr/2020
  • Stars
    star
    611
  • Rank 73,401 (Top 2 %)
  • Language
    CSS
  • License
    Other
  • Created over 12 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sidetap is a simple framework that allows you to quickly build platform-independent mobile web interfaces.

#Sidetap

We built Sidetap to be an easy-to-use implementation of the side navigation pattern popularized by apps like Sparrow and Facebook. It solves many common mobile development problems right out of the box. Here are some of the specific things we like about it:

  • Lightweight: Sidetap only weighs 2k when minifyied and gzipped!
  • Device Support: Sidetap aims to always deliver the best possible experience for all devices by starting with a basic experience and progressively enhancing it for more capable devices.
  • Less Decisions to Make: By embracing convention over configuration, Sidetap letโ€™s you start building your mobile interfaces right away.
  • Simple: Sidetap provides a flexible foundation for navigating between content panels on mobile devices using an easy-to-use syntax.

See it in action.

##How to Use Sidetap

  1. Build the HTML Structure

    Sidetap uses a very specific HTML structure which can be found in the skelton.html file

  2. Instantiate Sidetap

    Create a reference to Sidetap from within your app.

    var my_sidetap = new sidetap();

  3. Call Animations

    Any time you want to show a new section, you just tell Sidetap which content element to animate. Sidetap will take care of clearing the stage using whatever animation is appropriate for the situation.

    my_sidetap.show_section(element, options);

    show_section options:
    callback: a function to fire when the switch is complete
    animation: an animation style to use (ios 5+ only). Current animations are upfrombottom, downfromtop, infromright, infromleft

##Dependency

Requires jQuery (only tested with 1.7.2) or Zepto.js.

##Building Files Using Grunt

Sidetap's javascript and css are written using coffeescript and less respectively. Each of these file types must be compiled before they can be used by the browser. To do this easily, we're using the excellent grunt build system. To use the build system, you must first install node and npm.

  1. Install grunt: npm install -g grunt
  2. Install grunt-contrib: npm install grunt-contrib
  3. That's it.

There are a few available commands.

  • grunt or grunt build: build the css & js files
  • grunt watch: build the css & js files whenever the less or coffee files change

##Reporting Issues & Contributing

We welcome your input, but strongly encourage you to read Nicolas Gallagher's excellent issue guidelines before filing an issue or opening a pull request. While these are guidelines are his projects specifically, they would serve as an excellent guide for contributing to any open source project.

##Development Roadmap

As with any software project, there's always room for improvement. These are some of the things we'd like to get added to Sidetap in the future.

  • More iOS-like header animations
  • Better touch support
  • Leaving side navigation open on larger screen devices (hello, iPad)
  • Bringing polished version to more devices.

##Sidetap Credits

Built by @pfiller, @mlharvest, @kimku and @jkintscher for Harvest. Want to work on projects like this? Weโ€™re hiring!

More Repositories

1

chosen

Deprecated - Chosen is a library for making long, unwieldy select boxes more friendly.
HTML
21,847
star
2

harvey

Adding a second face to your application's JavaScript
CoffeeScript
434
star
3

api

Please see our updated API documentation at: http://help.getharvest.com/api
230
star
4

tick

Tick is a JavaScript plugin that makes visualizing dynamically changing numbers a breeze.
CSS
205
star
5

simple_xlsx_writer

Simpe writer for Office 2007 Excel files
Ruby
159
star
6

harvest_api_samples

Samples of Harvest API usage in various languages.
Elm
95
star
7

time-warp

Ruby gem to warp time in tests
Ruby
75
star
8

how-to-walkabout

Public documentation for how to make your OWN Walkabout event
73
star
9

platform

A whole new way to add time tracking to your web application.
59
star
10

chosen-package

NOTE: This package-manager-friendly version of Chosen is automatically generated from TravisCI. Please send ALL PR's to the canonical Chosen repo:
JavaScript
38
star
11

sidekiq-monitor-stats

Easily add a JSON endpoint to your Rails application that returns useful sidekiq stats
Ruby
33
star
12

thebes

DEPRECATED - Thebes is a thin binding layer for Rails and Sphinx with Riddle
Ruby
27
star
13

harvesthq.github.com

Harvest OSS.
CSS
14
star
14

notable

Go
12
star
15

harvest_for_safari

Track time from Safari and within popular project management tools.
8
star
16

hour-parser

Parse user-provided timestamp input and get nice output
TypeScript
7
star
17

knife-plugins

A few Knife plugins which are useful
Ruby
5
star
18

fias

FIAS (Filler Impact Assessment Scale)
JavaScript
4
star
19

pharm

Simple photoblogging software. Finally.
Ruby
3
star
20

paperclip-multiple

Storage backend for Paperclip to help migrate from the filesystem to S3 with fog.
Ruby
3
star
21

ranked-model

Ranked Model has moved!
2
star
22

template

Our project template for firing up new Iridesco projects
Ruby
2
star
23

sha2test

A library for detecting sha-2 support in browsers!
CSS
1
star
24

nagios-nrpe-email-check

Use nrpe to test if this server can successfully send email or not.
Ruby
1
star
25

compress_response

Compresses a Rails response as appropriate
Ruby
1
star