zurb / joyride

jQuery feature tour plugin.
http://www.zurb.com/playground/jquery-joyride-feature-tour-plugin
1.42k stars 238 forks source link

Add support for data-selector attribute #104

Closed mburtscher closed 11 years ago

mburtscher commented 11 years ago

Hey guys,

thanks for the great plugin! We wanted to use it to provide a feature tour for our existing web-based software solutions. But we don't like to add extra-id's or classes just to be able to target elements with joyride. So I added support for a "data-selector" attribute which allows selecting the target element with a complex jQuery-selector instead of just ID or class.

Hope you like it :-)

mburtscher commented 11 years ago

Pull request https://github.com/zurb/joyride/pull/73 contains exactly the same solution. Use that one ...