bartaz/impress.js — pull request #24 by endophage (2012-01-03 20:22:44+00:00)
Title: Add click handler for internal linking between slides

Love impress.js. I had a use case where I needed to link internally between slides rather than just the previous/next functionality

Added an eventListener to handle click events. Allows users to link internally between slides. Links can be written in standard format for internal links, i.e. Go to SomeID

Links must have "impress-link" class. The new function uses the already defined $ selector function so the href can actually be any valid selector, no just an id. Also uses the already defined select() function.

The code to implement this functionality is incredibly short and I think other uses would find it a good addition to impress.