autopage installation & usage
STEP 1: install:
ruby script/plugin install git://rubyforge.org/auotopage.git or
ruby script/plugin install git@github.com:eiffelqiu/autopage.git
STEP 2: put in your html <head>
<%= javascript_include_autopage %>
STEP 3: call tab_page function on String
<%= @article.tab_page(188) %>
ruby script/plugin install git://rubyforge.org/auotopage.git or
ruby script/plugin install git@github.com:eiffelqiu/autopage.git
STEP 2: put in your html <head>
<%= javascript_include_autopage %>
STEP 3: call tab_page function on String
<%= @article.tab_page(188) %>
sudo gem install autopage
still NOT function as a gem
still NOT function as a gem
before using autopage: <%= @article %> output
He who knows other men is discerning; he who knows himself is intelligent. He who overcomes others is strong; he who overcomes himself is mighty. He who is satisfied with his lot is rich; he who goes on acting with energy has a (firm) will. He who does not fail in the requirements of his position, continues long; he who dies and yet does not perish, has longevity.
after using autopage: <%= @article.tab_page(188) %> output
He who knows other men is discerning; he who knows himself is
intelligent. He who overcomes others is strong; he who overcomes
himself is mighty. He who is satisfied with his lot is rich;
he who
goes on acting with energy has a (firm) will.
He who does not fail in the requirements of his position, continues
long; he who dies and yet does not perish, has longevity.
Demo text was from "Tao Te Ching" ---- My favorite book
知人者智,自知者明。
胜人者有力,自胜者强。
知足者富。
强行者有志。
不失其所者久。
死而不亡者寿。
Eiffel.Q --- A ruby, flex programmer.
Email: --- eiffelqiu [ at ] gmail.com
Twitter: --- http://twitter.com/eiffelqiu.
== DESCRIPTION:
Autopage is a gem & rails plugin to convert long text content into multi tab page.
== SYNOPSIS:
<%= @post.tab_page(300) %>
== INSTALL:
* gem install autopage
* ruby script/plugin install git://rubyforge.org/autopage.git
A Rails Plugin to convert long text content into multi tab page.
