TourTip is an interactive visual guide to elements on web pages.
Instead of cluttering your interface with static help message, or explanatory text, add a pageguide and let your users learn about new features and functions.
TourTip is an interactive visual guide to elements on web pages.
Instead of cluttering your interface with static help message, or explanatory text, add a pageguide and let your users learn about new features and functions.
TourTip is a simple library for creating guided tours through your application. It's better suited to complex, single-page applications than websites. Our main requirement was the ability to control the interface for each step. For example, a step might need count seconds before moving to the next step, or wait for the user to complete a task. TourTip gives you the ability to manage these parameters all at once or for each step separately.
TourTip gives you everything you need to call out new features in your application or website. It is extremely flexible and lets you take control of how people interact with your tour. We programmed it to be cross-browser compatible with modern browsers and even used some fancy CSS to avoid images.
You can also add external content as well as images to the guides to make them more comprehensive.
The plugin is pretty powerfull and has a lot of options which gives you the power to build a very cool tour.Use TourTip for your websites, products, applications, landing pages or something else.
/* Attach the Tourtip CSS file */
<link rel=" stylesheet" type="text/css" href="css/tinytools.tourtip.min.css">
/* jQuery needs to be attached */
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
/* Then attach the TourTip plugin */
<script src="tinytools.tourtip.min.js"></script>
<script>
$(document).ready(function () {
$("#TourElement1").tourTip({
title: "Tour Title",
description: "This is a description for the newly born TourTip :)",
previous: true,
position: 'right'
});
});
</script>
<script>
$(document).ready(function () {
$.tourTip.create({
title: "Tour Title",
description: "This is a description for the newly born TourTip :)",
previous: true,
position: 'right'
});
});
</script>
<script>
$(document).ready(function () {
$.tourTip.start();
});
</script>
Property | Default | Description |
---|---|---|
title | '' | The title of the created TourTip layout |
description | '' | The description paragraph of the created TourTip layout |
position | bottom | The position of the TourTip layout in relation to the selected element on the web page. It can be 'bottom', 'top', 'left', or 'right' |
parentScroll | $('body') | This property indicates the scrolling parent element to be scrolled when the tour element is out of the view area. |
externalContent | undefined | externalContnet is any other jquery element in the current web page which will be added to the bottom of the description. If externalContentHtml is defined, this property will be ignored. |
externalContentHtml | '' | Instead of externalContent element, you can directly add any HTML content to the bottom if the description using this property. |
closeIcon | true | Close icon will be shown at the top right corner of the TourTip layout if this property is set to true. |
nextButtonText | Next | The text of the Next button |
previousButtonText | Previous | The text of the Previous button |
closeButtonText | Close | The text of the Close button |
next | true | if true, the Next button will be shown in the TourTip layout. This button will not be shown in the last TourTip layout. |
previous | false | if true, the Previous button will be shown in the TourTip layout. This button will not be shown in the first TourTip layout. |
close | false | if true, the close button will be shown in the TourTip layout. |
width | '300px' | The width of the TourTip layout |
height | 'auto' | The height of the TourTip layout |
animation | 'fade' | This property defines the way for switching between layouts. The available values are 'fade' and 'none'. |
smoothScroll | true | If true, the page will be scrolled to the layout target element smoothly. |
onShow | false | Callback that fires before showing the TourTip Layout |
onHide | false | Callback that fires before hiding the TourTip Layout |
onNext | false | Callback that fires before switching to the next TourTip Layout |
onPrevious | false | Callback that fires before switching to the previous TourTip Layout |
onClose | false | Callback that fires before closing TourTips |
onStart | false | Callback that fires on starting the tour |
Method | Description |
---|---|
$.tourTip.create(options) | Creates a new tour step which is not bound to any element. The created free tour step will be shown at the middle of the screen. Options parameters are explained in the "Optional Parameters" above, and will be applied just to the created free tour step. |
$.tourTip.start(generalOptions) | Starts the tour. The generalOptions parameters are explained in the "Optional Parameters" above, and will be applied to all of the tour steps. These parameters may be overwritten by any of the tour steps specific parameters. |
$.tourTip.next() | Hides the current tour step, and will show the next one if available. |
$.tourTip.previous() | Hides the current tour step, and will show the previous one if available. |
$.tourTip.close() | Closes the tour immediately. |