swordsInstallation

Paste the script in the head of your index.html and move the .js file to the same folder as the index, then add the class "interact-button" (or your custom class) to any button that you want to prompt

Step-by-step (video version)

Step-by-step (text version)

  1. Prepare the website (make a copy)

Solv freebies landing
  1. Copy script and files (https://angelferno.us/files.ziparrow-up-right) on your site folder

Copy script and files to the site folder
  1. Now go to index.html and paste the script

  1. Find the button or items to which you want to bind the opening of a modal window and assign the class

  1. Now you can check the button class

interact-button class added
  1. Check the button now

Success

Last updated

Was this helpful?