Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Moving without changing slide #124
It would be incredibly useful if you could move the camera around without changing the slide. I've kludged this together for my own deck as follows (my deck includes showing a screenshot, and being able to pan around it is really useful).
Added additional views with no content:
Added a couple of conditions to impress.js around line 304 (this only works going forward):
As I said, this is a very quick and ugly solution, but it works. It would be great if this could be added to the functionality properly, I'm sure that it would be useful to lots of people.
It would probably be better as an attribute rather than a class, and it would need to work in both directions and if arrived at out of sequence. But I'm a marketing person and just an amateur coder!
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
The workaround you used in your HTML code (using empty steps) works fine and is totally valid.
The change in impress.js code so it doesn't switch 'active' class seems to be only needed because you used 'active' class to show only 'active' elements - and non 'active' were opaque (or something similar).
It's clearly visual and possible in CSS, so I don't think it is required to change anything in impress.js itself.