jquery弹出框
点击查看原图点击查看原图
脚本引用:
<script>
        // skin demo
        (function () {
            var _skin, _jQuery;

            document.write('<scr' + 'ipt src="../3rd/artDialog4.1.6/artDialog.source.js?skin=' + (_skin || 'default') + '"></sc' + 'ript>');
            window._isDemoSkin = !!_skin;
        })();
    </script>
    <script src="../3rd/artDialog4.1.6/plugins/iframeTools.source.js"></script>
    <script src="../3rd/artDialog4.1.6/_doc/highlight/highlight.pack.js"></script>

<script>
        function edit(obj, SectionKey) {
            art.dialog.open(
            'SectionsSetAdd.aspx?SectionKey=' + SectionKey, { id: 'cmtddiv', title: '编辑', width: 450, height: 320 });
        }
        function sectionadd() {
            art.dialog.open(
            'SectionsSetAdd.aspx', { id: 'cmtddiv', title: '新增', width: 450, height: 320 });
        }
        function sectionexport() {
            art.dialog.open(
            'ExportSections.aspx', { id: 'cmtddiv', title: '导入', width: 750, height: 600 });
        }
        function closedialog() {
            art.dialog.get("cmtddiv").close();
        }
    </script>

html:
<a name="exam" class="controlBtn" onclick="sectionadd()" style="cursor:pointer;">新增</a><a name="exam" class="controlBtn" onclick="sectionexport()" style="cursor:pointer;">导入</a>

声明:此文系舞林cuznwww.wulinlw.org)原创稿件,转载请保留版权

附件下载:
3rd.rar 507.05KB

et_highlighter