Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

tw2.slideymenu

Author: Ralph Bean <rbean@redhat.com>

tw2.slideymenu is a toscawidgets2 (tw2) package with slidey menu that I made just for you!

Live Demo

Slideymenu is best demonstrated by its use in narcissus. Definitely check it out.

You can also see it in the tw2 WidgetBrowser although it doesn't do it justice.

Description

toscawidgets2 (tw2) aims to be a practical and useful widgets framework that helps people build interactive websites with compelling features, faster and easier. Widgets are re-usable web components that can include a template, server-side code and JavaScripts/CSS resources. The library aims to be: flexible, reliable, documented, performant, and as simple as possible.

This package contains a menu that slides!

Sampling tw2.slideymenu in the WidgetBrowser

The best way to scope out tw2.slideymenu is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.slideymenu/tw2/slideymenu/samples.py

To give it a try you'll need git, python, and virtualenvwrapper. Run:

$ git clone git://github.com/toscawidgets/tw2.slideymenu.git
$ cd tw2.slideymenu
$ mkvirtualenv tw2.slideymenu
(tw2.slideymenu) $ pip install tw2.devtools
(tw2.slideymenu) $ python setup.py develop
(tw2.slideymenu) $ paster tw2.browser

...and browse to http://localhost:8000/ to check it out.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.