CSWSite/UEditor/dialogs/insertframe/insertframe.html

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>插入框架</title>
    <script type="text/javascript" src="../internal.js"></script>
    <style type="text/css">
        * {color: #838383}
        body {font-size: 12px;width: 320px;height: 153px;overflow: hidden; margin: 0;padding: 0; }
        .warp {padding: 20px 0 0 15px;height: 100%;position: relative;}
        #url {width: 290px; margin-bottom: 2px}
        table td{padding:5px 0;}

    </style>
</head>
<body>
<div class="warp">
        <table width="300" cellpadding="0" cellspacing="0">

            <tr>
                <td colspan="2">
                    <span>地址:</span><input style="width:200px" id="url" type="text" value=""/>
                </td>
            </tr>
            <tr>
                <td colspan="2"><span>宽度:</span><input style="width:200px" type="text" id="width"/> px</td>

            </tr>
            <tr>
                <td colspan="2"><span>高度:</span><input style="width:200px" type="text" id="height"/> px</td>
            </tr>
            <tr>
                <td><span>允许滚动条:</span><input type="checkbox" id="scroll"/> </td>
                <td><span>显示框架边框:</span><input type="checkbox" id="frameborder"/> </td>
            </tr>

            <tr>
                <td colspan="2"><span>对齐方式:</span>
                    <select id="align">
                        <option value="">默认</option>
                        <option value="left">左对齐</option>
                        <option value="right">右对齐</option>
                        <option value="middle">居中</option>
                    </select>
                </td>
            </tr>
        </table>
</div>

<script type="text/javascript">
    var iframe = editor._iframe;
    if(iframe){
        $G("url").value = iframe.getAttribute("src")||"";
        $G("width").value = iframe.getAttribute("width")||iframe.style.width.replace("px","")||"";
        $G("height").value = iframe.getAttribute("height") || iframe.style.height.replace("px","") ||"";
        $G("scroll").checked = (iframe.getAttribute("scrolling") == "yes") ? true : false;
        $G("frameborder").checked = (iframe.getAttribute("frameborder") == "1") ? true : false;
        $G("align").value = iframe.align ? iframe.align : "";
    }
    function queding(){
后面还有 41 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。