Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adarosecannon/jpane

Javascript panes.
https://github.com/adarosecannon/jpane

Last synced: about 1 month ago
JSON representation

Javascript panes.

Awesome Lists containing this project

README

        

jPane
=====

### Summary:

Sliding panes where the active pane is and the previous pane are in the golden ratio and all other panes are 1em big.

Adding a new pane puts a pane on the right of the active pane discarding all other panes to the right of that pane and returns a link to that dom object.

### Example:

global.jp = new jPane(document.getElementById('host'));
global.jp.pane1 = global.jp.getHost().firstChild;
global.jp.pane2 = global.jp.add("

Pane 2

This is the second pane

");