Skip to content

Commit 4fc3924

Browse files
authored
Update README.md
1 parent 57a686a commit 4fc3924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ For full documentation please check out the [Horizontal Timeline 2.0 website](ht
3737
Unlike the original, 2.0 dynamically creates the timeline according to the amount of event content there is. Making it even simplier to setup! All you need to do is create the event content…
3838

3939
``` html
40-
<div class="cd-horizontal-timeline" id="example">
40+
<div class="horizontal-timeline" id="example">
4141
<div class="events-content">
4242
<ol>
4343
<li class="selected" data-date="16/01/2014">
@@ -55,7 +55,7 @@ And then initialise the timeline with jQuery using the default options.
5555

5656
```html
5757
<script>
58-
$('#example').timeline();
58+
$('#example').horizontalTimeline();
5959
</script>
6060
```
6161

@@ -64,7 +64,7 @@ $('#example').timeline();
6464
```javascript
6565
/* The Defaults */
6666

67-
$('#example').timeline({
67+
$('#example').horizontalTimeline({
6868
desktopDateIntervals: 200, //************\\
6969
tabletDateIntervals: 150, // Minimum: 120 \\
7070
mobileDateIntervals: 120, //****************\\

0 commit comments

Comments
 (0)