console.log('calling Ox.UI()') //console.log('Ox =', Ox) //console.log('Ox.UI =', Ox.UI) Ox.load('UI', {debug: true, hideScreen: true, showScreen: true, theme: 'modern'}, function() { console.log('running Ox.UI()') //console.log('Ox =', Ox) // Ox.theme('modern'); //Ox.print('$$$$', Ox.Calendar) Ox.Calendar({ date: new Date(0), events: [ {name: '14th Century', start: '1300', end: '1400', type: 'date'}, {name: '15th Century', start: '1400', end: '1500', type: 'date'}, {name: '16th Century', start: '1500', end: '1600', type: 'date'}, {name: '17th Century', start: '1600', end: '1700', type: 'date'}, {name: '18th Century', start: '1700', end: '1800', type: 'date'}, {name: '19th Century', start: '1800', end: '1900', type: 'date'}, {name: '20th Century', start: '1900', end: '2000', type: 'date'}, {name: '1900s', start: '1900', end: '1910', type: 'date'}, {name: '1910s', start: '1910', end: '1920', type: 'date'}, {name: '1920s', start: '1920', end: '1930', type: 'date'}, {name: '1930s', start: '1930', end: '1940', type: 'date'}, {name: '1940s', start: '1940', end: '1950', type: 'date'}, {name: '1950s', start: '1950', end: '1960', type: 'date'}, {name: '1960s', start: '1960', end: '1970', type: 'date'}, {name: '1967', start: '1967', end: '1968', type: 'date'}, {name: '1968', start: '1968', end: '1969', type: 'date'}, {name: 'Spring 1968', start: '1968-03', end: '1968-06', type: 'date'}, {name: 'May 1968', start: '1968-05', end: '1968-06', type: 'date'}, {name: 'Summer 1968', start: '1968-06', end: '1968-09', type: 'date'}, {name: '1969', start: '1969', end: '1970', type: 'date'}, {name: '1970s', start: '1970', end: '1980', type: 'date'}, {name: '1980s', start: '1980', end: '1990', type: 'date'}, {name: '1990s', start: '1990', end: '2000', type: 'date'}, {name: '21st Century', start: '2000', end: '2100', type: 'date'}, {name: '2000s', start: '2000', end: '2010', type: 'date'}, {name: '2010s', start: '2010', end: '2020', type: 'date'}, {name: '2020s', start: '2020', end: '2030', type: 'date'}, {name: 'Genghis Khan', start: '1162', end: '1228', type: 'person'}, {name: 'Marco Polo', start: '1254', end: '1324-01-08', type: 'person'}, {name: 'Christopher Columbus', start: '1451-08-22', end: '1506-05-20', type: 'person'}, {name: 'Leonardo da Vinci', start: '1452-04-15', end: '1519-05-02', type: 'person'}, {name: 'Michelangelo', start: '1475-03-06', end: '1564-02-18', type: 'person'}, {name: 'Pieter Bruegel', start: '1525', end: '1569-09-09', type: 'person'}, {name: 'Galileo Galilei', start: '1564-02-15', end: '1642-01-08', type: 'person'}, {name: 'William Shakespeare', start: '1564-04-26', end: '1616-04-23', type: 'person'}, {name: 'René Descartes', start: '1596-03-31', end: '1650-02-11', type: 'person'}, {name: 'Diego Velázquez', start: '1599-06-06', end: '1660-08-06', type: 'person'}, {name: 'Johannes Vermeer', start: '1632-10-31', end: '1675-12-15', type: 'person'}, {name: 'Baruch Spinoza', start: '1632-11-24', end: '1677-02-21', type: 'person'}, {name: 'Louix XIV', start: '1638-09-05', end: '1715-09-01', type: 'person'}, {name: 'Isaac Newton', start: '1643-01-04', end: '1727-03-31', type: 'person'}, {name: 'Gottfried Leibniz', start: '1646-07-01', end: '1716-11-14', type: 'person'}, {name: 'Immanuel Kant', start: '1724-04-22', end: '1804-02-12', type: 'person'}, {name: 'George Washington', start: '1732-02-22', end: '1799-12-14', type: 'person'}, {name: 'Thomas Jefferson', start: '1743-04-13', end: '1826-07-04', type: 'person'}, {name: 'Johann Wolfgang von Goethe', start: '1749-08-28', end: '1832-03-22', type: 'person'}, {name: 'Louis XVI', start: '1754-08-23', end: '1793-01-21', type: 'person'}, {name: 'Marie Antoinette', start: '1755-11-01', end: '1793-10-16', type: 'person'}, {name: 'Maximilien Robespierre', start: '1758-05-06', end: '1794-07-28', type: 'person'}, {name: 'Napoleon', start: '1769-08-15', end: '1821-05-05', type: 'person'}, {name: 'Georg Wilhelm Friedrich Hegel', start: '1770-08-27', end: '1831-11-14', type: 'person'}, {name: 'Abraham Lincoln', start: '1809-02-12', end: '1865-04-15', type: 'person'}, {name: 'Charles Darwin', start: '1809-02-12', end: '1882-04-19', type: 'person'}, {name: 'Ada Lovelace', start: '1815-12-10', end: '1852-11-27', type: 'person'}, {name: 'Karl Marx', start: '1818-05-05', end: '1883-03-14', type: 'person'}, ///* {name: 'Charles Baudelaire', start: '1821-04-09', end: '1867-08-31', type: 'person'}, {name: 'Paul Verlaine', start: '1844-03-30', end: '1896-01-08', type: 'person'}, {name: 'Arthur Rimbaud', start: '1854-10-20', end: '1891-11-10', type: 'person'}, {name: 'Sigmund Freud', start: '1856-05-06', end: '1939-09-23', type: 'person'}, {name: 'Max Planck', start: '1858-04-23', end: '1947-10-04', type: 'person'}, {name: 'Henri Bergson', start: '1859-10-18', end: '1941-01-04', type: 'person'}, {name: 'Marie Curie', start: '1867-11-07', end: '1934-07-04', type: 'person'}, {name: 'Mahatma Gandhi', start: '1869-10-02', end: '1948-01-30', type: 'person'}, {name: 'Vladimir Lenin', start: '1870-04-22', end: '1924-01-21', type: 'person'}, {name: 'Winston Churchill', start: '1874-11-30', end: '1965-01-24', type: 'person'}, {name: 'Josef Stalin', start: '1878-12-18', end: '1953-03-05', type: 'person'}, {name: 'Albert Einstein', start: '1879-03-14', end: '1955-04-18', type: 'person'}, {name: 'Pablo Picasso', start: '1881-10-25', end: '1973-04-08', type: 'person'}, {name: 'Theodor Roosevelt', start: '1882-01-30', end: '1945-04-12', type: 'person'}, {name: 'James Joyce', start: '1882-02-02', end: '1941-01-13', type: 'person'}, {name: 'Franz Kafka', start: '1883-07-03', end: '1924-06-03', type: 'person'}, {name: 'Adolf Hitler', start: '1889-04-20', end: '1945-04-30', type: 'person'}, {name: 'Charles de Gaulle', start: '1890-11-22', end: '1970-11-09', type: 'person'}, {name: 'Walter Benjamin', start: '1892-07-15', end: '1940-09-26', type: 'person'}, {name: 'Al Capone', start: '1899-01-17', end: '1947-01-25', type: 'person'}, {name: 'Alfred Hitchcock', start: '1899-08-13', end: '1980-04-29', type: 'person'}, {name: 'Werner Heisenberg', start: '1901-12-05', end: '1976-02-01', type: 'person'}, {name: 'Theodor W. Adorno', start: '1903-09-11', end: '1969-08-06', type: 'person'}, {name: 'Salvador Dalí', start: '1904-05-11', end: '1989-01-23', type: 'person'}, {name: 'Samuel Beckett', start: '1906-04-13', end: '1989-12-22', type: 'person'}, {name: 'Kurt Gödel', start: '1906-04-28', end: '1978-01-14', type: 'person'}, {name: 'Grace Hopper', start: '1906-12-09', end: '1992-01-01', type: 'person'}, {name: 'Alan Turing', start: '1912-06-23', end: '1954-06-07', type: 'person'}, {name: 'John F. Kennedy', start: '1917-05-29', end: '1963-11-22', type: 'person'}, {name: 'Gilles Deleuze', start: '1925-01-18', end: '1995-11-04', type: 'person'}, {name: 'Marylin Monroe', start: '1926-06-01', end: '1962-08-05', type: 'person'}, {name: 'Michel Foucault', start: '1926-10-15', end: '1984-06-25', type: 'person'}, {name: 'Che Guevara', start: '1928-06-14', end: '1967-10-09', type: 'person'}, {name: 'Andy Warhol', start: '1928-08-06', end: '1987-02-22', type: 'person'}, {name: 'Félix Guattari', start: '1930-04-30', end: '1992-08-29', type: 'person'}, {name: 'Guy Debord', start: '1931-12-28', end: '1994-11-30', type: 'person'}, {name: 'John Lennon', start: '1940-10-09', end: '1980-12-08', type: 'person'}, {name: 'Jimi Hendrix', start: '1942-11-27', end: '1970-09-18', type: 'person'}, {name: 'Jim Morrison', start: '1943-12-08', end: '1971-06-03', type: 'person'}, {name: 'Osama bin Laden', start: '1957-03-10', end: '2011-05-02', type: 'person'}, {name: 'Michael Jackson', start: '1958-08-29', end: '2009-06-25', type: 'person'}, {name: 'Lady Diana', start: '1961-07-01', end: '1997-08-31', type: 'person'}, {name: 'Congo Free State', start: '1885-07-11', end: '1908-11-15', type: 'place'}, {name: 'Soviet Union', start: '1922-12-30', end: '1991-12-26', type: 'place'}, {name: 'Weimar Republic', start: '1918-11-09', end: '1933-01-30', type: 'place'}, {name: 'Third Reich', start: '1933-01-30', end: '1945-05-08', type: 'place'}, {name: 'West Germany', start: '1949-05-23', end: '1990-10-03', type: 'place'}, {name: 'East Germany', start: '1949-10-07', end: '1990-10-03', type: 'place'}, {name: 'Berlin Wall', start: '1961-08-13', end: '1989-11-09', type: 'place'}, {name: 'World Trade Center', start: '1973-04-04', end: '2001-09-11', type: 'place'}, {name: 'Battle of Hastings', start: '1066-10-14', end: '1066-10-15', type: 'other'}, {name: 'Renaissance', start: '1300', end: '1700', type: 'other'}, {name: 'Spanish Inquisition', start: '1480-09-27', end: '1834-07-15', type: 'other'}, {name: 'Discovery of America', start: '1492', end: '1493', type: 'other'}, {name: 'East India Company', start: '1600', end: '1874', type: 'other'}, {name: 'Thirty Years\' War', start: '1618', end: '1648', type: 'other'}, {name: 'Declaration of Independence', start: '1776-07-04', end: '1776-07-05', type: 'other'}, {name: 'French Revolution', start: '1789', end: '1799', type: 'other'}, {name: 'Storming of the Bastille', start: '1789-07-14', end: '1789-07-15', type: 'other'}, {name: 'Napoleonic Era', start: '1799-11-09', end: '1815-06-28', type: 'other'}, {name: 'The Year Without a Summer', start: '1816', end: '1817', type: 'other'}, {name: 'Queen Victoria', start: '1837-06-20', end: '1901-01-22', type: 'other'}, {name: 'Crimean War', start: '1853-10', end: '1856-02', type: 'other'}, {name: 'American Civil War', start: '1861-04-12', end: '1865-04-09', type: 'other'}, {name: 'Franco-Prussian War', start: '1870-07-19', end: '1871-05-10', type: 'other'}, {name: 'Paris Commune', start: '1871-03-18', end: '1871-05-28', type: 'other'}, {name: 'Titanic', start: '1912-04-15', end: '1912-04-16', type: 'other'}, {name: 'World War One', start: '1914-07-28', end: '1918-11-11', type: 'other'}, {name: 'Battle of Verdun', start: '1916-02-21', end: '1916-12-18', type: 'other'}, {name: 'Russian Revolution', start: '1917', end: '1918', type: 'other'}, {name: 'October Revolution', start: '1917-11-07', end: '1917-11-08', type: 'other'}, {name: 'Spanish Flu', start: '1918', end: '1919', type: 'other'}, {name: 'Treaty of Versailles', start: '1919-06-28', end: '1919-06-29', type: 'other'}, {name: 'Spanish Civil War', start: '1936-07-17', end: '1939-04-01', type: 'other'}, {name: '1936 Summer Olympics', start: '1936-08-01', end: '1936-08-16', type: 'other'}, {name: 'Hindenburg', start: '1937-05-06', end: '1937-05-07', type: 'other'}, {name: 'World War Two', start: '1939-09-01', end: '1945-09-02', type: 'other'}, {name: 'Pearl Harbour', start: '1941-12-07', end: '1941-12-08', type: 'other'}, {name: 'Wannsee Conference', start: '1942-01-20', end: '1942-01-21', type: 'other'}, {name: 'Battle of Stalingrad', start: '1942-08-23', end: '1943-02-02', type: 'other'}, {name: 'D-Day', start: '1944-06-06', end: '1944-06-07', type: 'other'}, {name: 'Liberation of Auschwitz', start: '1945-01-27', end: '1945-01-28', type: 'other'}, {name: 'Hiroshima', start: '1945-08-06', end: '1945-08-07', type: 'other'}, {name: 'Nagasaki', start: '1945-08-09', end: '1945-08-10', type: 'other'}, {name: 'Nuremburg Trials', start: '1945-11-20', end: '1946-10-01', type: 'other'}, {name: 'Fourth Republic', start: '1946-10-14', end: '1958-10-04', type: 'other'}, {name: 'Korean War', start: '1950-06-25', end: '1953-07-27', type: 'other'}, {name: 'Cuban Revolution', start: '1953-07-26', end: '1959-01-01', type: 'other'}, {name: 'Algerian War', start: '1954-11-01', end: '1962-03-19', type: 'other'}, {name: 'Vietnam War', start: '1955-11-01', end: '1975-04-30', type: 'other'}, {name: 'Eichmann Trial', start: '1961-04-11', end: '1961-08-14', type: 'other'}, {name: 'Bay of Pigs', start: '1961-04-17', end: '1961-04-19', type: 'other'}, {name: 'Cuban Missile Crisis', start: '1962-10-14', end: '1962-11-20', type: 'other'}, {name: 'Assassination of John F. Kennedy', start: '1963-11-22', end: '1963-11-23', type: 'other'}, {name: 'Summer of Love', start: '1967-06', end: '1967-09', type: 'other'}, {name: 'Sgt. Pepper', start: '1967-06-01', end: '1967-06-02', type: 'other'}, {name: 'Assassination of Benno Ohnesorg', start: '1967-06-02', end: '1967-06-03', type: 'other'}, {name: 'Six-Day War', start: '1967-06-05', end: '1967-06-11', type: 'other'}, {name: 'My Lai', start: '1968-03-16', end: '1968-03-17', type: 'other'}, {name: 'Assassination of Martin Luther King', start: '1968-04-04', end: '1968-04-05', type: 'other'}, {name: 'Assassination of Rudi Dutschke', start: '1968-04-11', end: '1968-04-12', type: 'other'}, {name: '1968 Cannes Film Festival', start: '1968-05-10', end: '1968-05-19', type: 'other'}, {name: 'Valerie Solanas', start: '1968-06-03', end: '1968-06-04', type: 'other'}, {name: 'Assassination of Robert F. Kennedy', start: '1968-06-05', end: '1968-06-06', type: 'other'}, {name: '1968 Summer Olympics', start: '1968-10-12', end: '1968-10-27', type: 'other'}, {name: 'Apollo 11', start: '1969-07-16', end: '1969-07-24', type: 'other'}, {name: 'Moon Landing', start: '1969-07-20', end: '1969-07-21', type: 'other'}, {name: 'The Epoch', start: '1970-01-01 00:00:00', end: '1970-01-01 00:00:01', type: 'other'}, {name: '1972 Summer Olympics', start: '1972-08-26', end: '1972-09-10', type: 'other'}, {name: 'Apollo 17', start: '1972-12-07', end: '1972-12-19', type: 'other'}, {name: 'Iran-Iraq War', start: '1980-09-22', end: '1988-08-20', type: 'other'}, {name: 'Tschernobyl', start: '1986-04-26', end: '1986-04-27', type: 'other'}, {name: 'Fall of the Berlin Wall', start: '1989-11-09', end: '1989-11-10', type: 'other'}, {name: 'Gulf War', start: '1990-08-02', end: '1991-02-28', type: 'other'}, {name: 'German Reunification', start: '1990-10-03', end: '1990-10-04', type: 'other'}, {name: 'Clinton Presidency', start: '1993-01-20', end: '2001-01-20', type: 'other'}, {name: 'Battle of Seattle', start: '1999-11-30', end: '1999-12-01', type: 'other'}, {name: 'George W. Bush Presidency', start: '2001-01-20', end: '2009-01-20', type: 'other'}, {name: 'Carlo Giuliani', start: '2001-07-20', end: '2001-07-21', type: 'other'}, {name: '9-11', start: '2001-09-11', end: '2001-09-12', type: 'other'}, {name: 'Fukushima', start: '2011-03-11', end: '2011-03-12', type: 'other'} ], height: window.innerHeight, width: window.innerWidth, zoom: 4 }).appendTo(Ox.UI.$body); });