A Lightweight Popup/Modal JavaScript Library | Fusilli.js

Fusilli JS is a very small javascript popup library that helps you create a modern, clean modal window to display any HTML content at the top of the page.

What does “Fusilli” mean?

Fusilli means, respect the pasta!

Features:

  • It’s only 1.3 KB (yes, check it out for yourself!).
  • Helps you add simple forms to your website in no time!
  • It can open and close the media. That’s it – no animations, fancy patterns, etc. – it’s the least of it!
  • You can design and extend it however you like!

Must Read: Open Modal Dialog Popup Using JavaScript plugin | modal.js

Popup Modal JavaScript Library Details

Post NamePopup Modal JavaScript Library
Author NameAnTheMaker
CategoryModal, Popup Plugins
Official PageClick Here
Official Websitegithub.com, fusilli.js.org
Publish DateSeptember 18, 2020
Last UpdateJuly 22, 2023
DownloadLink Below
LicenseMIT

How to make use of it:

1. Load the minified version of the Fusilli.js library.

<script src="fusilli.min.js"></script>

2. add HTML content to the Fusilli modal popup.

<div id="modal-example" class="modal" aria-hidden="true">
  <div class="modal_box">
    Any Modal Content Here
  </div>
</div>

3. Hide the modal popup on the web page load.

.modal{ display: none; }

4. open the modal popup when needed.

openModal(document.getElementById('modal-example'));

Functions

openModal(element)

Must Read: Animated Clean Modal Window Using jQuery Plugin | Vintage Popup

Guess what this function does! Correct, it opens up a Modal!

ExampleopenModal(document.getElementById('modal_1'));

This will open up the Modal with the id “modal_1”

closeModal(element)

This closes a given Modal! WOW!

ExamplecloseModal(document.getElementById('modal_1'));

This will close the Modal with the id “modal_1” if it’s currently opened.

See Demo And Download

Popup-Modal-Fusilli-JS

Official Website(AnTheMaker): Click Here

This superior jQuery/javascript plugin is developed by AnTheMaker. For extra Advanced Usage, please go to the official website.

Related Posts

Google-Translate-Dropdown-Customize-With-Country-Flag

Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…

Bootstrap-Fileinput

HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….

HStack-and-VStack-in-CSS

CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Leave a Reply

Your email address will not be published. Required fields are marked *