Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start_zoom_adjust seems to have no effect #37

Open
titaniumbones opened this issue Apr 5, 2016 · 1 comment
Open

start_zoom_adjust seems to have no effect #37

titaniumbones opened this issue Apr 5, 2016 · 1 comment

Comments

@titaniumbones
Copy link

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!

@maschad96
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants