I´m trying customize my alert and confirm dialogs, but the confirm
dont have the same behavior like your original, like pausing the load
of document until answer it. Has someone who now how i can get this
behavior??

For while i´m using the exemplo of jqModal site

function confirm(msg, callback) {
  $('#confirm')
    .jqmShow()
    .find('p.jqmConfirmMsg')
    .html(msg)
    .end()
    .find(':submit:visible')
    .click(function(){
                if(this.value == 'Sim'){
                        (typeof callback == 'string') ? window.location.href = 
callback : callback();
                }
                $('#confirm').jqmHide();
    });
}

-- 

[]´s Jean
www.suissa.info

   Ethereal Agency
www.etherealagency.com

Reply via email to