Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
product-tour
Advanced tools
A responsive tour snippet, with a step-by-step guide(onboarding) to help users understand how to use your website
A responsive tour snippet, with a step-by-step guide(onboarding) to help users understand how to use your website.
npm install product-tour
See index.html
Simply include the following to get started
<script src="<link to jquery.js>"></script>
<script src="product-tour.min.js" type="text/javascript"></script>
<link href="product-tour.min.css" rel="stylesheet" type="text/css"/>
// initialize constructor
var productTour = new ProductTour({
overlay:true, // optional (true || false) defaults: true
onStart: function () {}, // called when tour starts || optional
onChanged:function (e) {}, // called when tour changes || optional
onClosed:function (e) {}, // called when the tour has been closed || optional
next: '', // optional defaults: 'Next'
prev: '', // optional defaults: 'Previous'
of: '', // optional defaults: 'of'
html: // optional (true || false) defaults: false
});
// can only be called once
productTour.steps([ // pass an array of tour steps
{
element: '', // specify the target selector by id or class #search or .header (defaults: body)
title: '', // title of the tour step
content: '', // content. Could be text or html. (if html set html attribute above to be true)
image: '', // specify image to be shown on mobile view
position: '' // top, bottom, right, left
},
{
element: '', // specify the target selector by id or class #search or .header (defaults: body)
title: '', // title of the tour step
content: '', // content. Could be text or html. (if html set html attribute above to be true)
image: '', // specify image to be shown on mobile view
position: '' // top, bottom, right, left
}
]);
productTour.startTour(); // initialize the tour
To clone and run project with a view of developing framework
NPM would help in getting our environment ready:
npm install
We used gulp in handling our building and test running of frame work.
Use the index.html to do your design and testing of the framework with the browser. Simply use the command below:
gulp serve
This will listen to updates of our product-tour.js and product-tour.css and call:
gulp build
to help compile and build our minified version which is automatically or already called in our index.html file so the browser is opened.
gulp build-js
gulp build-css
https://codyhouse.co/gem/product-tour/
https://codyhouse.co/demo/product-tour/
Send a pull request or create an issue... thanks
FAQs
A responsive tour snippet, with a step-by-step guide(onboarding) to help users understand how to use your website
We found that product-tour demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.