【问题标题】:Change the source code of timelineJS更改timelineJS的源代码
【发布时间】:2013-09-09 11:10:05
【问题描述】:

这里我有一个创建交互式时间线的代码:http://timeline.verite.co/

所以我有这个代码:

<script type="text/javascript">
        var timeline_config = {
            width:              '100%',
            height:             '600',
            source:             'path_to_json/or_link_to_googlespreadsheet',
            embed_id:           'timeline-embed',               //OPTIONAL USE A DIFFERENT DIV ID FOR EMBED
            start_at_end:       false,                          //OPTIONAL START AT LATEST DATE
            start_at_slide:     '4',                            //OPTIONAL START AT SPECIFIC SLIDE
            start_zoom_adjust:  '3',                            //OPTIONAL TWEAK THE DEFAULT ZOOM LEVEL
            hash_bookmark:      true,                           //OPTIONAL LOCATION BAR HASHES
            font:               'Bevan-PotanoSans',             //OPTIONAL FONT
            debug:              true,                           //OPTIONAL DEBUG TO CONSOLE
            lang:               'fr',                           //OPTIONAL LANGUAGE
            maptype:            'watercolor',                   //OPTIONAL MAP STYLE
            css:                'path_to_css/timeline.css',     //OPTIONAL PATH TO CSS
            js:                 'path_to_js/timeline-min.js'    //OPTIONAL PATH TO JS
        }
    </script>
    <script type="text/javascript" src="path_to_js/storyjs-embed.js"></script>

这段代码产生时间线+媒体...所以像这样在图像上,但我想知道如何删除除底部时间线之外的所有部分?

这是图片:

【问题讨论】:

  • 是的,但脚本会再次生成此代码

标签: javascript jquery html css timeline


【解决方案1】:

在timeline-min.js中取消注释这一行

u = VMM.appendAndGetElement(s, "", "vco-slider");

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-31
    • 1970-01-01
    • 2012-06-08
    • 2021-12-06
    • 2021-12-15
    • 1970-01-01
    相关资源
    最近更新 更多