Skip to content

start_zoom_adjust seems to have no effect #37

Open

Description

@titaniumbones

From what I can tell, start_zoom_adjust seems to have no effect on the actual zoom level when using timeline3.

so, for instance, this:
[timeline src="https://docs.google.com/spreadsheets/d/1UiBR_iO6VZR_dks3TBs4cf1i747ExxYs0-onBWgzXL4/edit#gid=0" width="100%" height="650" font="OldStandard" lang="en" start_at_slide="10" version="timeline3" start_zoom_adjust="-100"]

looks identical to this:

[timeline src="https://docs.google.com/spreadsheets/d/1UiBR_iO6VZR_dks3TBs4cf1i747ExxYs0-onBWgzXL4/edit#gid=0" width="100%" height="650" font="OldStandard" lang="en" start_at_slide="10" version="timeline3"]

You can see that in action here:
http://flynnhouse.hackinghistory.ca/

The start_zoom_adjust parameter seems to be included in timeline_config, but maybe for some reeason it's not getting loaded?
If you cna give me some suggestions i cna try to fix & submit a pull request. Thanks!

Activity

  1. maschad96 commented on Nov 26, 2018

    @maschad96

    start_zoom_adjust is not a parameter within the configuration options for timeline.js

    initial_zoom is. start_zoom_adjust should be globally changed within this plugin to initial_zoom. I've adjusted it on my dev site as noted above, and it correctly adjusts the initial zoom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions