Skip to content

Instantly share code, notes, and snippets.

@beezee
Created April 10, 2012 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beezee/2353875 to your computer and use it in GitHub Desktop.
Save beezee/2353875 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
var tourApp = {
tabSteps: {
3: 'images',
10: 'users',
},
needsTweaking: function(i) {
return typeof tourApp.tabSteps[i] != 'undefined';
},
tabLink: function(i) {
return tourApp.tabSteps[i];
}
}
function Drawium_explain_box_displayed(index){
$('#binno-custom-tabs li').unbind('click.drawium');
if (tourApp.needsTweaking(index)) {
$('.drawium_next_button').hide();
$("#binno-custom-tabs a[href='#"+tourApp.tabLink(index)+"']").bind('click.drawium', function() {
Drawium.tour_next();
});
} else {
}
};
jQuery('document').ready(function($) {
$('#drawium_ignition').click(function() {
$("#binno-custom-tabs a[href='#settings']").click();
Drawium.start_tour();
})
});
</script>
<script src="http://serve.drawium.com/6021740_1060.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment