• 【Sharepoint控件】MOSS模式化窗口


    <script src="../../_layouts/15/SP.UI.Dialog.js" type="text/javascript"></script>
        <script type="text/javascript">
            function tixing() {
                var options = {
                    url: "/_layouts/15/MyDemo/ApplicationPage2.aspx" ,
                    title: "设置提醒" ,
                    //"600px",
                    height: "218px"
                };
                SP.UI.ModalDialog.showModalDialog(options);
            }
        </script >
     1  <input id="Button1" type="button" value="button" onclick=" tixing()"/>
     2 <asp: Content ID ="Main" ContentPlaceHolderID ="PlaceHolderMain" runat ="server">
     3     <script src="../SP.UI.Dialog.js" type="text/javascript"></ script>
     4     <table >
     5         <tr>
     6             <td>
     7                 <input type="checkbox" />提醒发送到手机 &nbsp;
     8                 <input type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     9             </td>
    10             <td>
    11                 <input type="radio"   name="pinlv" />每天提醒
    12             </td>
    13         </tr>
    14         <tr style=" margin-top:3px">
    15             <td>
    16                 <input type="checkbox" />提醒发送到邮箱 &nbsp;
    17                 <input type="text" />
    18             </td>
    19             <td>
    20                 <input type="radio" name="pinlv" />
    21                 间隔
    22                 <input type="text" style="  20px" />
    23                 天,
    24                 <input type="text" style="  20px" />
    25 26             </td>
    27         </tr>
    28     </table >
    29     <div style=" margin-top:3px">
    30        &nbsp;&nbsp;首次提醒时间:任务到期前
    31                 <input type="text" style="  22px" />
    32         天,邮件/短信发送时间:
    33                 <input type="text" style="  20px" />&nbsp; 时,
    34                 <input type="text" style="  20px" />分
    35     </div >
    36     <input id="Button1" class="btn" type="button" value="确定" style=" margin-left:110px ; margin-top:39px" onclick=" javascript: SP.UI.ModalDialog.commonModalDialogClose(2, 1); " />
    37     <input id="btnCancel" class="btn" type="button" value="取消" style="margin-left :120px;margin-top: 39px" onclick ="javascript: SP.UI.ModalDialog.commonModalDialogClose(2, 1);" />
    38 </asp: Content>

      
  • 相关阅读:
    二叉树学习随笔
    结构体初始化中的数组赋值
    C和FORTRAN的快速傅里叶/余弦/正弦变换(Fast Fourier/Cosine/Sine Transform)开源库分享
    Java简单的数组用法尝试,和C语言很不一样
    中位数( 优先队列较优处理 )
    单调队列 数组写法qwq
    P1886 滑动窗口
    Sicily 2014. Dairy Queen
    P3385 【模板】负环
    [USACO06DEC]虫洞Wormholes (负环模板)
  • 原文地址:https://www.cnblogs.com/yixiaozi/p/3844128.html
Copyright © 2020-2023  润新知