Simple jQuery Plugin for Popup Window

Simple jQuery Plugin for Popup Window
File Size: 46.4KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

How to start using jQuery?

More in this category...

View our Recommended Plugins

TOP 100 jQuery Plugins 2013

A simple and easy-to-use jQuery plugin for creating popup window with smooth fade out effect.

How to use it:

1. Include latest jQuery library and popup.js

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/jquery.popup.js"></script>

2. Include popup.css to style your popup window

<link rel="stylesheet" href="css/jquery.popup.css" type="text/css">

3. Markup

<div class="p_anch">
<a href="#" class="js__p_start">Click Here,</a> jQueryScript.nEt 
</div>
<div class="p_body js__p_body js__fadeout"></div>
<div class="popup js__popup js__slide_top">
<a href="#" class="p_close js__p_close" title="Close"></a>
<div class="p_content">jQueryScript.Net Demo</div>
</div>

4. Call the plugin

<script type="text/javascript">
    $(function() {
      $(".js__p_start, .js__p_another_start").simplePopup();
    });
</script>

This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.