2010-12-19 16 views

答えて

0

オープンconfirm.jsと変更:

jQuery(function ($) { 
    $('#confirm-dialog input.confirm, #confirm-dialog a.confirm').click(function (e) { 
     e.preventDefault(); 

     // example of calling the confirm function 
     // you must use a callback function to perform the "yes" action 
     confirm("Continue to the SimpleModal Project page?", function() { 
      window.location.href = 'http://www.ericmmartin.com/projects/simplemodal/'; 
     }); 
    }); 
}); 

へ:

jQuery(function ($) { 
    // example of calling the confirm function 
    // you must use a callback function to perform the "yes" action 
    confirm("Continue to the SimpleModal Project page?", function() { 
     window.location.href = 'http://www.ericmmartin.com/projects/simplemodal/'; 
    }); 
}); 
3

これは、ページのロードのモーダルダイアログを表示していました...

$(document).ready(function() { 
    $('#basicModalContent').modal(); 
}); 
0

オープンosx.jsと

 init: function() { 

      $("#osx-modal-content").modal({ 
       overlayId: 'osx-overlay', 
       containerId: 'osx-container', 
       closeHTML: null, 
       minHeight: 80, 
       opacity: 65, 
       position: ['0',], 
       overlayClose: true, 
       onOpen: OSX.open, 
       onClose: OSX.close 
      }); 

    }, 
なるように、次の行(行14におけるコードスタート)

 init: function() { 
     ****$("input.osx, a.osx").click(function (e) { << delete this line 
      e.preventDefault();**** << delete this line 

      $("#osx-modal-content").modal({ 
       overlayId: 'osx-overlay', 
       containerId: 'osx-container', 
       closeHTML: null, 
       minHeight: 80, 
       opacity: 65, 
       position: ['0',], 
       overlayClose: true, 
       onOpen: OSX.open, 
       onClose: OSX.close 
      }); 
     }); <<< delete this line 
    }, 

を除去

関連する問題