intro.js is a library for making an introduction on a website with step-by-step guide. To be honest, I didn’t even know there was such library exists until now, and it’s not the only one, bootstro.js is another library but with Twitter’s Bootstrap tie.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9O2UUlJ37SXo8eJ8Z6aj9zLX3lKmr0yVPCwFPIYJCgO5SA4bBcb8YwBceM1yICQbSLOc4wR9WjbmHhyphenhyphenxFrhmM2Rtu6sNFECnwvXFwtY9zH_YnxF6_gSskIllsqpCe5yuFUgFzaLQh_Ck/s800/intro.js%25202013-03-21--14%253A00%253A45.png

intro.js

This button will give you a tiny tour of this blog:

It only requires one JavaScript and one CSS file, fairly small. According to its website, they are 6 KB in total. It also supports keyboard to navigate between steps.

The introduction data is set in element’s attributes, data-intro for the description and data-step for the step number. You can also use data-position to adjust where the bubble shows.

Calling the startup function and that’s basically all you need to do for setting up a quick introduction tour for visitors.

You may have noticed that there is some layout issue with the current code in this blog tour, the step description somehow is shown within much smaller space. I am sure it would be fixed soon. Within only a week, this project has received more than 60 issue reports and it was first released at that time, 6 days to be precise. So, intro.js is relatively new, some bugs are to be expected.