nspanel.js

mobile panel,make it like iOS 7

MIT License

Stars
2
Committers
1

NSPanel

mobile panel

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="jquery.hammer.min.js"></script>
<script src="fastclick.js"></script>
<script src="dist/jquery.nspanel.min.js"></script>
<script>
jQuery(function($) {
	FastClick.attach(document.body);
	
	$('.sectionloader').panel({
		animation:{
			speed_in:400,
			speed_out:100
		}
	});
});
</script>

Examples

cd ${PROJECT_HOME}
./start.sh

http://127.0.0.1:5001/demo/index.html

Documentation

(Coming soon)

Release History

  • v0.1.0 支持无限嵌套 2013-10-24
  • v0.1.1 支持callback,切callback参数a)level b)item_index c)pre_panel_url

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

this project is released under the MIT license:

http://www.opensource.org/licenses/mit-license.php

欢迎fork和反馈

在issue提问或邮件[email protected]