Version 3 is here... new configuration

Version 3 is here... new configuration. After some brainstorming I came up with a condensed version of the configuration.

As always, share with as many people as you want.


Make sure to update to build 5.2, 5.1 had some issues with the drag feature.
The drag attach and detach event elements were named wrong.. brain fart today
Also, if you want to revert back to Version 1, please note the configuration changes.

var jpmx = new jpmpopup({
  'style' :'background-color:rgba(0, 0, 0, 0.85);width:100%;z-index:5',
  'onclose' : function () {
    'onclick': function(item) {
      // a thumbnail was clicked, do something
      // use ajax here to pull/get some comments about the image or video etc
      // contains the id of the thumbnail clicked
 = '<div style="padding:20px">'+ item.about +'
<p>comment interface can go here</p></div>'; item.html = '<div class="wrap-container">
<div class="left-column" id="left-column"></div>
<div id="right-column" class="right-column">''</div>'; this.fullScreen(item.html); } } });
 Feel free to comment if you run into problems. Enjoy


Popular posts from this blog

Overlay Version 2 is here with key events and iframe support

Free Pop-up / Overlay Script