An open API service indexing awesome lists of open source software.

https://github.com/learncodeweb/lightweightpopup.js

How to create a custom POPUP form with PHP & Ajax
https://github.com/learncodeweb/lightweightpopup.js

javascript jquery-plugin js plugin popup

Last synced: 7 months ago
JSON representation

How to create a custom POPUP form with PHP & Ajax

Awesome Lists containing this project

README

          

# lightWeightPopup.js
How to create a custom POPUP form with PHP & Ajax

Add Files

```

```

```

```

HTML

```
CLICK HERE AJAX

Ancher Tag AJAX

Button Tag Iframe

Ancher Tag Iframe
```

Initialization

```javascript
$(document).ready(function(e) {
$("#popup").lightWeightPopup({href:"contact-us.html", overlay:true, width:"90%", maxWidth:"600px", title:"Ajax Model"});
$("#inline").lightWeightPopup({title:"Inline Model", top:'50', width:'800px' });
$("#ancher").lightWeightPopup({width:"95%", maxWidth:"320px", title:"Ajax Model"});
$("#iframe").lightWeightPopup({href:"https://www.youtube.com/embed/N59KnLf2pbY", maxWidth:"600px", height:"400px", title:"Iframe Model"});
$(".iframe").lightWeightPopup({width:"100%", height:"100%", title:"Iframe Model"});
});
```

Complete Detail

For complete documentation click here

For demo click here