Comments (5)
Hi there,
Since version 2 of jquery.timeline, the constructor name has changed from all lowercase of "timeline" to capital case of "Timeline". Please note that the first "T" is capitalized.
$("#myTimeline").timeline('show');// <- ng
$("#myTimeline").Timeline('show');// <- ok
Thank you.
from jquery.timeline.
Thank you for your quick response :) I would like to take this opportunity to ask you if it is possible to recover the JS configuration from your demo timeline? I cannot display the same rendering: https://ka2.org/jqtl-v2/ I of course took the time to consult your documentation
from jquery.timeline.
I modified tester page.
Clicking the view options button added to the advanced menu displays initialization options for the currently output jQuery.timeline.
from jquery.timeline.
Very CRAZYYY ! Thanks a lot
Last answer pleaseee...
how did you make the event colors different for each event?
I'm surprised to see that you didn't use the hookEventColors attribute in the colorScheme object
from jquery.timeline.
We can specify a color for each event node, so on the tester page, the color is specified on the event node side.
For example:
[{
"uid": "18b51549b763c",
"eventId": 1,
"x": 2840.27,
"y": 51,
"width": 70.5,
"height": 44,
"start": "2023-12-18 04:08",
"end": "2023-12-19 15:23",
"row": 2,
"bgColor": "#c1aa30",
"color": "#101010",
"bdColor": "#6C757D",
"label": "Ut lacinia metus Nam ut Lorem Ut lacinia",
"content": "Nunc ...",
"category": "",
"image": "",
"margin": 2,
"rangeMeta": "",
"size": "normal",
"type": "",
"extend": {},
"remote": false,
"relation": {}
},
...
]
The event node data that is randomly generated on the tester page is cached in the session storage, so you can check the contents of the "div#my-timeline" key in the session storage using the browser's dev tools (press "F12" key).
Best regards.
from jquery.timeline.
Related Issues (20)
- Vertical Timeline? HOT 1
- use of git version breaks example HOT 1
- Are dynamic row heights possible? My events shall have different heights and the row shall adapt HOT 1
- Months in Spanish are lowercase, also wrong ordinal translation. HOT 1
- Fixed height and vertical scroll bar HOT 1
- Alignment crash on firefox HOT 1
- hoverEvent HOT 1
- eventMeta formatting HOT 1
- Getting error Cannot read properties of undefined (reading 'fn') HOT 3
- Ignore dates without data
- Possibility to make header ruler sticky HOT 2
- add event issue
- import with requireJS
- Events being copied after reload HOT 1
- Overlapping Events should display on different lines but in the same row
- Conflict with Vuejs
- Remote events data HOT 2
- event drag and drop feature HOT 1
- Scale half-hour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.timeline.