在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:zurb/joyride开源软件地址:https://github.com/zurb/joyride开源编程语言:JavaScript 95.3%开源软件介绍:JoyrideJoyride is an easy to configure site tour wizard for Foundation for Sites. DemoYou can try out Joyride on the Demo Page. InstallationTo install Joyride you can either use NPM (NPM repository) or download the files directly.
UsageAll versions of joyride depend on jQuery and what-input. While jQuery is mandatory, what-input is used for styling purposes and not necessary for joyride to work. Regardless of the way you use Joyride, you need to initialize it like all Foundation plugins by calling: $(document).foundation(); The following HTML is an example on how to use Joyride. You can also have a look at the visual test cases in the <ol data-joyride data-autostart="true" id="docs-joyride">
<li data-target="#basic-joyride">
<p>This is the default one without settings</p>
</li>
<li data-target="#footer" data-position="bottom" data-closable="false">
<p>This one isn't closable</p>
</li>
<li>
<p>If no target is specified, you create a modal.</p>
</li>
<li data-target="#open-issues">
<p>Your ride ends here!</p>
<p class="text-center">
<button class="button success" data-joyride-close>OK, thanks!</button>
</p>
</li>
</ol> Foundation pluginOriginally, Joyride is a plugin for Foundation for Sites and leaverages existing plugins and functionalities of the framework. To use Joyride with Foundation, just include the files into your page right after the Foundation files. Then follow the example above to create the ride. Standalone pluginTo make Joyride available for a broader amount of users, it is also available as a standalone plugin. All relevant Foundation functionalities are bundled with the Joyride files, so Joyride can still benefit from them. To use Joyride with Foundation, just include the files into your page right and follow the example above to create the ride. Using script loaderJoyride can be used by including its files via HTML-tags and also the most popular script loaders, such as RequireJS. This is done by leveraging UMD. Testing
ContributingCheck out our contributing guide to learn how you can contribute to this plugin. You can also browse the Help Wanted tag in our issue tracker to find things to do. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论