the-modal
the-modal copied to clipboard
Proper modal boxes
Здравствуйте. Очень понравился ваш плагин, легкий, быстрый и удобный. Однако, если я хочу очень много товаров в модальных окнах, мне надо каждое окно инициализировать в JS, это очень не удобно....
```javascript $('#modal-window').modal({ lockClass: 'modal-lock', overlayClass: 'modal-overlay', closeOnEsc: false, closeOnOverlayClick: false, onBeforeClose: null, onClose: null, onOpen: function(el, options){ $.get('http://'+siteroot+modalPath+modalContent+'.php', function(data){ el.html(data); }); }, cloning: true }).open(); ``` I'm using this. But...
What is the purpose of the `style="left: -15px;"`? Seems to just move the modal off the page.
If content of the modal is clicked once, it works fine.
in ie9 not working modal().close() in ie8 not working open and close...
Can't reproduce this problem, but on some PC under Windows 7 in the webkit based browsers this property caused overlay strange behavior: sometimes it can fully or partially dissapear https://dl.dropbox.com/u/495551/DBUpload/Clipboard02.png...
When I have a 'right to left' page (direction:rtl) the scrollbar inside 'themodal-overlay' is hidden (because of the -17px fix). In order to fix this I added 'direction:ltr' to the...
More unique callable function name... may be as another branch