This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fixes closing on click on https://gist.github.com/ctalkington/4093995 | |
// and hides all modals before opening a new one so they don't pile up | |
// leanModal v1.1 by Ray Stone - http://finelysliced.com.au | |
// Dual licensed under the MIT and GPL | |
(function($){ | |
$.fn.extend({ | |
leanModal: function(options) { | |
var defaults = { | |
top: 100, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Warning! Read and use at your own risk! | |
* | |
* This tiny proxy script is completely transparent and it passes | |
* all requests and headers without any checking of any kind. | |
* The same happens with JSON data. They are simply forwarded. | |
* | |
* This is just an easy and convenient solution for the AJAX |