├── README.md ├── css ├── .DS_Store ├── demo.css ├── demo.less ├── responsive.css ├── responsive.min.css ├── timeliner.css ├── timeliner.less └── timeliner.min.css ├── demo-future ├── css │ ├── timeliner-future.css │ └── timeliner-future.less ├── img │ ├── bg-space-mod.jpg │ ├── event-cars.jpg │ ├── event-robots.jpg │ ├── event-singularity.gif │ ├── event-teleportation.jpg │ └── event-urbanity.jpg └── timeliner-future.html ├── images ├── .DS_Store ├── timeline_century_tick.gif └── timeline_decade_tick.gif ├── inc ├── .DS_Store ├── colorbox.css ├── colorbox.js └── images │ ├── border.png │ ├── controls.png │ ├── loading.gif │ ├── loading_background.png │ └── overlay.png ├── js ├── .DS_Store ├── jquery.min.js ├── timeliner.js ├── timeliner.min.js └── vendor │ └── venobox │ ├── close.gif │ ├── next.gif │ ├── preload-circle.png │ ├── preload-dots.png │ ├── preload-ios.png │ ├── preload-quads.png │ ├── preload.png │ ├── prev.gif │ ├── venobox.css │ ├── venobox.js │ └── venobox.min.js └── timeliner.html /README.md: -------------------------------------------------------------------------------- 1 | # Timeliner 2 | 3 | ## Overview 4 | Build a simple, interactive, historical timeline with HTML, CSS, and jQuery. The benefits of this timeline script are that it's (1) simple, (2) able to handle nearly any form of content (including images, video, audio), (3) printer friendly, and highly customizable with just CSS and HTML. 5 | 6 | Please [drop me a line](http://www.technotarek.com/contact "drop me a line") if you do do something interesting with it. See below for samples from other users. 7 | 8 | ## Demos and Live Implementations 9 | 10 | ###### Advanced CSS3 Customization Demo 11 | https://technotarek.com/timeliner/demo-future/timeliner-future.html 12 | 13 | ###### Implementation with Custom CSS: Investigating Power 14 | https://investigatingpower.org/civil-rights/ 15 | 16 | ###### Original Demo 17 | https://www.technotarek.com/timeliner/timeliner.html 18 | 19 | ## Quick Start 20 | 21 | #### Load Plugin and Dependencies 22 | 23 | ```html 24 | 25 | 26 | 27 | 28 | ``` 29 | 30 | #### Instantiate 31 | 32 | ```html 33 | 38 | ``` 39 | 40 | #### Markup 41 | Using the plugin's defaults and recommended markup, a timeline with two major time markers (1976 and 1984) and a total of three events looks like this: 42 | 43 | ```html 44 |
Content about the event goes here.
53 |Content about the other event.
58 |Content about the event goes here.
70 |Content about the event goes here.
293 |Content about the other event.
298 |Example of the timeliner.js jquery plugin with advanced, custom theming. All theming accomplished with CSS and minor modifications to the HTML markup. No modifications to the plugin's core javascript. Note that this demonstration does not fully support older browsers (e.g, before Internet Explorer 9) due to the use of CSS3 properties. Also view the original demo.
16 | 17 |36 |45 | 46 |The world is very different ever since the robotic uprising of the mid-nineties. There is no more unhappiness.
37 |Affirmative.
38 |We no longer say yes, instead we say affirmative.
39 |Yes, affirmative.
40 |Unless its a more colloquial situation with a few robo friends.
41 |There is only one type of dance, the robot.
42 |And the robo-boogie.
43 |Oh yes, two kinds of dances.
44 |
A flying car is hypothetical personal aircraft that provides door-to-door aerial transportation (e.g., from home to work or to the supermarket) as conveniently as a car but without the requirement for roads, runways or other specially-prepared operating areas.
67 |The flying car has been depicted in works of fantasy and science fiction such as The Jetsons, Star Wars, Blade Runner, Back to the Future Part II and The Fifth Element. The Jetsons took place in 2062.
68 | 69 |From Discover magazine's "The State of the World: 2062":
82 | 83 |84 |86 |6 billion people live in cities—the population of the entire world at the turn of the century.
85 |
87 |89 |Earth now home to 2 billion people age 60 and over.
88 |
90 |92 |Coastal cities go under. Renewable energy rules the day. Cows use up precious water and drive the ongoing greenhouse effect.
91 |
93 |95 |Incomes skyrocket in developing nations.
94 |
96 |Ice caps melt. Industry booms at top of the world.
97 | 98 |
99 |
Teleportation, or Teletransportation, is the theoretical transfer of matter or energy from one point to another without traversing the physical space between them. It is a common subject of science fiction literature, film, and television.
119 | 120 |The original Star Trek series is reported to have taken place from 2265 to 2271.
121 | 122 |The technological singularity hypothesis is that accelerating progress in technologies will cause a runaway effect wherein artificial intelligence will exceed human intellectual capacity and control, thus radically changing or even ending civilization in an event called the singularity.
142 | 143 |Error retrieving contents, please retry
Error retrieving contents, please retry
Working examples of the timeliner.js jquery plugin. This page features two working examples, which demonstrate several key features including expand/collapse, autostart/autoload, and multiple timelines per page. Also see the newer "Future" demo, released along with version 2.0 of this plugin.
16 | 17 |The content used in this demo is from InvestigatingPower.org, one of two initial places where I implemented timeliner. InvestigatingPower.org features a total of five timeliner-powered timelines covering the topics of McCarthyism, Civil Rights, the Vietnam War, the Watergate Scandal, Corporate Power (Tobacco), and Post 9/11.
20 | 21 |34 | The U.S. Supreme Court hands down a unanimous 9-0 decision in the Brown v. Board of Education of Topeka case, opening the door for the civil rights movement and ultimately racial integration in all aspects of U.S. society. In overturning Plessy v. Ferguson (1896), the court rules that “separate educational facilities are inherently unequal.”
35 | 36 |64 | Fourteen-year-old African-American Emmett Till is brutally murdered after reportedly flirting with a white woman while visiting relatives in Mississippi. For the first time, both black and white reporters cover the trial epitomizing "one of the most shocking and enduring stories of the twentieth century." The white defendants, Roy Bryant and J.W. Milam, are acquitted by an all-white jury in only 67 minutes; later they describe in full detail to Look magazine (which paid them $4,000) how they killed Till. His mother insists on an open casket funeral, and the powerful image of his mutilated body sparks a strong reaction across the country and the world.
65 | 66 |72 | The arrest of Rosa Parks, a 42-year-old African-American seamstress and civil rights activist who refused to give up her bus seat to a white passenger, sets off a long anticipated bus boycott by residents of Montgomery, Ala. The 13-month protest and ensuing litigation eventually make it to the U.S. Supreme Court, which declares that segregation on public buses is unconstitutional. The Montgomery bus boycott brings the Rev. Dr. Martin Luther King Jr. and his nonviolent approach to social change to the forefront of the civil rights movement.
73 | 74 |102 | Three years removed from the Brown v. Board of Education decision, Arkansas Gov. Orval Faubus orders the National Guard to stop nine black students from attending the all-white Little Rock Central High School. President Dwight D. Eisenhower intervenes by federalizing the National Guard and deploying Army troops to protect the students, stripping the state of power. Media coverage of the physical and verbal harassment the black students were subjected to is reported and broadcast around the world. In the end, they successfully integrate Central High.
103 | 104 |132 | The first of many civil rights “Freedom Rides” leaves Washington, D.C., for New Orleans. The Freedom Riders want to test the validity of the Supreme Court’s decision to outlaw racial segregation in bus terminals and through interstate bus travel. Angry white mobs – with the blessing of Alabama law enforcement – meet the convoy in Anniston and Birmingham, brutally beating the Freedom Riders and firebombing one of the buses.7
133 |160 | In one of the largest gatherings in the nation’s capital and one of the first to be broadcast live on national television, at least 200,000 civil rights protesters stage a March on Washington concluding at the Lincoln Memorial. The march is dedicated to jobs and freedom and takes place 100 years after the Emancipation Proclamation. The highlight of the event is Martin Luther King Jr.’s historic “I Have a Dream” speech.
161 | 162 |163 | I have a dream that one day this nation will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident: that all men are created equal." 164 |166 | 167 |—Martin Luthar King Jr.165 |
179 | President Lyndon B. Johnson signs the Civil Rights Act of 1964, mandating equal opportunity employment, and complete desegregation of schools and other public facilities. It also outlaws unequal voter registration requirements. Although it would take years for these changes to take effect in communities around the country, the law is a monumental victory for the civil rights movement.
180 | 181 |Martin Luther King Jr. is awarded the Nobel Peace Prize; at 35, he is the youngest recipient.
188 |Your content isn't suited for a chronological presentation? No problem, get creative.
200 |The timeline below demonstrates some of the plugin's options including the oneOpen feature and semantic class customizations (see source code). 201 | 202 |
Two completely independent projects, one for the Institute for Educational Leadership and another for the Fund for Investigative Journalism, expressed interest in a timeline component for their website.
214 |Jquery was heating up, so it was the perfect time to put together a working prototype. I toyed around with some variations, including some horizontal ones. Ultimately, I found the vertical version, similar to the current, the most flexible.
225 |The initial working code was first launched at http://www.ncld-youth.info/index.php?id=61. This version actually has come features that I like that I never implmented in the final plugin (e.g,. century > decade > year/event).
237 |I really started to fine tune the code for InvestigatingPower.org. This was also the first time where all of the content was loaded via the CMS, which was important given five timelines for a total of a few hundred data points.
242 | 243 |I wanted to play around with GitHub. I wanted to learn some more Jquery, in particular a bit more about creating a plugin. Done.
254 | 255 |