2.0.0 • Published 7 years ago

material-walkthrough v2.0.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

Material Walkthrough

A material tour (eg Inbox from Google) for your site, enhancing the UX. See the demo here!

Features

  • Material Design - Have a Material look, based on the tour presented by Google Inbox.
  • Customizable - Change the content and colors easily.
  • Responsive - Resize the screen and continue enjoying your Walkthrough.
  • Simple - With a few lines of code you will got a Walkthrough.
  • Compatible - Google Chrome 52.0; Firefox 48.0.2; Microsoft Edge 38.14393.0.0.
  • Made with love - Few nights without studying to develop this plugin with much love.

1. Getting Started

Load jQuery and include Material-Walkthrough plugin files

<!-- Plugin Stylesheet -->
<link rel="stylesheet" href="material-walkthrough/material-walkthrough.min.css">

<!-- JQuery 3.1 minified -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>

<!-- Plugin File -->
<script src="material-walkthrough/material-walkthrough.min.js"></script>

2. Set up your HTML

You don't need any special markup. All you need is to add an id atributte to an HTML element.

<a id="step1">Try Now!</a>

3. Call the plugin

Now call the Material Walkthrough initializer function and your walkthrough is ready.

$.walk([
        {
            target: '#step1',
            content: 'Here you can begin the walk!', //Hey, it can also be an HTML code!
            color: 'red',
            acceptText: 'OK'
        }
]);

License

Copyright 2017 Esset Software LTD.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this files except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Thanks To