Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adarosecannon/jpane
Javascript panes.
https://github.com/adarosecannon/jpane
Last synced: about 1 month ago
JSON representation
Javascript panes.
- Host: GitHub
- URL: https://github.com/adarosecannon/jpane
- Owner: AdaRoseCannon
- Created: 2013-06-16T08:29:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-16T09:05:54.000Z (over 11 years ago)
- Last Synced: 2024-10-09T16:42:04.610Z (2 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
");