Loading ...
Sorry, an error occurred while loading the content.

Re: Modal panel not covering rest of page

Expand Messages
  • tistitch
    thank you but it still does not work my object code : var id_en_cours; YAHOO.namespace( example.simpledialog ); function init()
    Message 1 of 10 , Oct 4, 2006
    • 0 Attachment
      thank you but it still does not work

      my object code :
      <script language="javascript">
      var id_en_cours;

      YAHOO.namespace("example.simpledialog");

      function init() {
      var handleCancel = function(e) {
      this.hide();
      }

      var handleOK = function(e) {

      document.location.href='action/action_facture.php?cancel&id='+id_en_cours;
      this.hide();
      }

      YAHOO.example.simpledialog.dlg = new
      YAHOO.widget.SimpleDialog("dlg", { visible:false, width: "270px",
      effect:[{effect:YAHOO.widget.ContainerEffect.SLIDE,duration:0.25},{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.25}],
      fixedcenter:true, modal:true, draggable:false});

      YAHOO.example.simpledialog.dlg.setHeader("Attention!");
      YAHOO.example.simpledialog.dlg.setBody("Voulez-vous annuler ce devis");

      YAHOO.example.simpledialog.dlg.cfg.queueProperty("icon",YAHOO.widget.SimpleDialog.ICON_WARN);
      YAHOO.example.simpledialog.dlg.cfg.queueProperty
      ("buttons", [ { text:"OK", handler:handleOK, isDefault:true },
      { text:"Annuler", handler:handleCancel } ]);

      YAHOO.example.simpledialog.dlg.render(document.body);
      }

      YAHOO.util.Event.addListener(window, "load", init);
      </script>



      --- In ydn-javascript@yahoogroups.com, "Kris Schneider"
      <kschneider@...> wrote:
      >
      > I just solved some of my own FF layering issues like so:
      >
      > .mask {
      > z-index: 100;
      > }
      >
      > var panelConfig = { zIndex: 200 };
      >
      > Not sure if it'll help in your situation, but it can't hurt trying...
      >
      > --
      > Kris Schneider <mailto:kschneider@...>
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.