2

这里我有一个创建交互式时间线的代码: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>

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

这是图像:在此处输入图像描述

4

1 回答 1

0

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

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

于 2014-06-05T22:10:16.037 回答