PHP Classes

File: templates/pgwjs/alert.js

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Modals, alerts and confirmation dialogs for Jaxon  >  templates/pgwjs/alert.js  >  Download  
File: templates/pgwjs/alert.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Modals, alerts and confirmation dialogs for Jaxon
Display Ajax modal, alert and confirmation dialogs
Author: By
Last change:
Date: 4 years ago
Size: 613 bytes


Class file image Download
jaxon.dialogs.pgwjs = {
    defaults: {maxWidth: 400},
    options: {}
<?php echo $this->options ?>

jaxon.command.handler.register("pgw.modal", function(args) {
    // Set user and default options into data only when they are missing
    for(key in jaxon.dialogs.pgwjs.options)
        if(!(key in
  [key] = jaxon.dialogs.pgwjs.options[key];
    for(key in jaxon.dialogs.pgwjs.defaults)
        if(!(key in
  [key] = jaxon.dialogs.pgwjs.defaults[key];
For more information send a message to info at phpclasses dot org.