banthagroup / fslightbox

An easy to use vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
MIT License
351 stars 30 forks source link

fslightbox is not working #200

Closed Gadziu1 closed 2 years ago

Gadziu1 commented 2 years ago

I tried to use your tool. I added it to my project, but no success. So I've created new empty file to use it, and still no success.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<a data-fslightbox href="https://i.imgur.com/fsyrScY.jpg">fdgf</a>
<script src="fslightbox/fslightbox.js"></script>
</body>
</html>

image