_music_javascript.vm

来自「一个简单的blog系统」· VM 代码 · 共 24 行

VM
24
字号
<script type="text/javascript">
window.onload = function()
{
    var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('html')) ;    
    var oFCKeditor = new FCKeditor( 'word' ) ;
    oFCKeditor.BasePath	= sBasePath ;
    oFCKeditor.Width = 460;
    oFCKeditor.Height = 200;
    oFCKeditor.ToolbarSet = "Basic";
    oFCKeditor.ReplaceTextarea() ;
}

function validateBoxForm(theForm)
{
    with(theForm){
        if(is_empty(title.value)){
            alert("歌曲名称必须填写.");
            title.focus();
            return false;
        }
    }
    return true;
}
</script>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?