BillBai / nehan.js

Latest version is moved to [https://github.com/tategakibunko/nehan]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nehan.js

Caution

Latest version of nehan is developed at https://github.com/tategakibunko/nehan.

Repository name changes from nehan.js to nehan.

Introduction

nehan.js is dynamic and logical html layout engine written in javascript, especially focused on generating logical paged media asynchronously.

In nehan.js, you can write styles in javascript context, so functional css property is supported(and various other hooks are supported).

Almost all html5 tags are supported, and further more, vertical layout(lr-tb, rl-tb) supported.

Available on IE9+, Firefox3.5+, Google Chrome4+, Safari3+, Opera10+ etc.

See demo.

Install

Include css, js in the <head>

<link href="/path/to/nehan.css" type="text/css" rel="stylesheet">
<script src="/path/to/nehan.js" type="text/javascript"></script>

Application sample

Screenshot

These screenshots are layout result of jekyll-nehan.

1. horizontal paged media

2. vertical paged media

License

MIT License

About

Latest version is moved to [https://github.com/tategakibunko/nehan]

License:Other


Languages

Language:JavaScript 96.9%Language:HTML 2.7%Language:CSS 0.4%Language:Makefile 0.0%