-
Notifications
You must be signed in to change notification settings - Fork 16
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
Url config & rewriting for museum display #47
Comments
For the museum display, this should also store the the components of the original URL that we may need to reset to after screensaver. Initially this will just be default tree position. It might be easier to just save the entire URL (and even maybe reload the page) |
I have coded up the possibility of passing colour changes in to the web page, so a museum can modify minlife.html to add e.g. |
Actually, since the code I have written passes stuff via |
Much of the groundwork for this is now there. I think the only 3 things to do are
NB 1. could be done either in web2py or by parsing the URL string in ECMAscript. We already have to do the latter to get e.g. locations working, so perhaps we should also parse setting there. The problem is we would want to override the set_defaults options specified when setting up the OZentry.default() call, but I guess this is OK: we can just call set_defaults(new_params) again. |
We need to add the option of passing some extra parameters through the URL, in particular:
Image source
Tree type
Colour scheme
(possibly - list of popular places)
These also need to be added to the URL recording scheme we have, e.g. at
OZtree/OZprivate/rawJS/OZTreeModule/src/navigation/record.js
Line 172 in 4d16fd5
The text was updated successfully, but these errors were encountered: