Tree [0150e9] master /
 History

HTTPS access


File Date Author Commit
 css 2011-10-19 Danilo Shiga Danilo Shiga [9d7378] moved the picture the make it looks a little be...
 images 2011-10-13 Danilo Shiga Danilo Shiga [43d688] added image on background of span
 js 2011-11-01 Danilo Shiga Danilo Shiga [aa9c3d] removing paths, not used... yet
 .gitignore 2011-10-03 Danilo Shiga Danilo Shiga [49bd43] deleted old files, added a .gitignore
 README 2011-11-01 Danilo Shiga Danilo Shiga [0150e9] changing README with new data
 index.html 2011-10-24 Danilo Shiga Danilo Shiga [28d855] moved all js code to another file to make thing...

Read Me

== Timeline ==

Timeline app based on RaphaelJS

Uso:
    Editar arquivo js/timeline.js, definindo dentro da função onComplete() os
    valores desejados para as variáveis usadas na criação das timelines:
        firstyear     = ano no qual deve se iniciar a timeline
        height        = altura da timeline.
        width         = largura da timeline.
        startyear     = array que vai guardar o ano de inicio de cada timeline 
        width_        = array que vai guardar a largura de cada timeline

Estrutura Json para timelines:

data = [
    {
        name: "nome da timeline",
        imagem: 'foto.jpg',
        extra: [],
        facts: [
        {
            number: '1',
            start: { year: 1992,
                month: 01,
                day: 11},
            end: { year: 1992,
                month: 12,
                day: 30},
            description: ('fato 1'),
            classname: 'first'

        },
        {
            number: '2',
            start: { year: 1992,
                month: 06,
                day: 12},
            description: ('fact 2'),
            classname: 'second'
        },
        ]
    }
    ]