zurb / joyride

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

postStepCallback needs more info #85

Open mschipperheyn opened 11 years ago

mschipperheyn commented 11 years ago

Hi, I wrote a wrapper around joyride and I'm trying to get an extra level of sophistication in regarding what is saved in joyride to identify any items on the page that can be classified as "new" tips. In order to do this I need the tip-id associated with on postStepCallback with the last seen tip. However, what I get is the index + the tip popup itself. That tip popup node doesn't contain the id reference with which to reference the original list item that was the source of the tip.

I can store the list of items and refer back to it through the index, but it seems a little more elegant to me if I have the data-id available that was the source of the tip. Might be nice to store it as a data item.

mschipperheyn commented 11 years ago

Sorry, there are easy ways around this.