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

horizontal scroll appears

Expand Messages
  • aspdotnet81
    Hello : when i use simpledialog example in seperate aspx page, horizontal scroll appears :( why ? ...
    Message 1 of 1 , Dec 18, 2006
    • 0 Attachment
      Hello :

      when i use simpledialog example in seperate aspx page, horizontal
      scroll appears :(

      why ?

      ----------------------------------
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
      Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
      transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml" >
      <head runat="server">
      <title>Untitled Page</title>
      <link type="text/css" rel="stylesheet"
      href="js/yui/fonts/fonts.css">
      <link type="text/css" rel="stylesheet"
      href="js/yui/reset/reset.css">
      <script type="text/javascript"
      src="js/yui/yahoo/yahoo.js"></script>
      <script type="text/javascript" src="js/yui/event/event.js"
      ></script>
      <script type="text/javascript" src="js/yui/dom/dom.js"
      ></script>
      <script type="text/javascript"
      src="js/yui/dragdrop/dragdrop.js" ></script>
      <script type="text/javascript"
      src="js/yui/connection/connection.js" ></script>

      <script type="text/javascript"
      src="js/yui/container/container.js"></script>
      <link type="text/css" rel="stylesheet"
      href="js/yui/container/assets/container.css" />

      <script language="javascript" type="text/javascript">
      YAHOO.namespace("login");

      function init() {

      // Define various event handlers for Dialog
      var handleYes = function() {
      this.hide();
      };

      // Instantiate the Dialog
      YAHOO.login.SimpleDialog = new
      YAHOO.widget.SimpleDialog("SimpleDialog",


      { width: 300,


      modal: true,


      fixedcenter: true,


      visible: false,


      draggable: false,


      close: false,


      text: "ÇáÑÌÇÁ ÅÏÎÇá ÇÓã ÇáãÓÊÎÏã æßáãÉ ÇáãÑæÑ",


      icon: YAHOO.widget.SimpleDialog.ICON_TIP,


      constraintoviewport: true,


      buttons: [ { text:"ÅÛáÇÞ", handler:handleYes,
      isDefault:true }]


      } );
      YAHOO.login.SimpleDialog.setHeader("ÑÓÇáÉ
      ÇáãæÞÚ");

      // Render the Dialog
      YAHOO.login.SimpleDialog.render
      (document.body);
      YAHOO.util.Event.addListener
      ("btnLogin", "click", YAHOO.login.SimpleDialog.show,
      YAHOO.login.SimpleDialog, true);
      }

      YAHOO.util.Event.addListener(window, "load", init);
      </script>
      </head>
      <body>
      <input type="button" id="btnLogin" name="btnLogin"
      value="click" />
      <form id="form1" runat="server">
      <div>

      </div>
      </form>
      </body>
      </html>
    Your message has been successfully submitted and would be delivered to recipients shortly.