Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nmussy/5735958 to your computer and use it in GitHub Desktop.
Save nmussy/5735958 to your computer and use it in GitHub Desktop.
$('#torturial-example-advanced-changeOn').torturial([
{
steps: [
{
popovers: [
{
id: 'changeOn-popover',
text: [
"You can click me,<br />",
"but you can't kill me."
].join(''),
attachTo: $('#advanced-changeOn-button'),
attachPos: 'top'
}
],
changeOn: ['click', '#changeOn-popover',
{worthless: 'data'},
function(e) {
if(e.type == 'click')
return false;
}
]
}
]
}
],
{}).torturial('show');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment