zurb / joyride

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

Breakpoint option for setting when the mobile layout gets triggered #151

Open itsmattsoria opened 10 years ago

itsmattsoria commented 10 years ago

The plugin has the tips switch to a mobile layout at 768px by default, but in the case that I'm using it in I didn't need the mobile layout to be triggered until smaller than that, so I thought adding a breakpoint option to the settings would be helpful. If left untouched the default is still 768px, but if desired you can set your own:

$('#joyride').joyride({
    breakpoint:600
})

Remember, this is a only screen and max-width() media query.