body { background:#f8f8f8; } #drag { width:400px; height:100px; border:1px dotted #333; text-align:center; line-height:100px; color:#aaa; display:inline-block; } .drag_hover { background:#FAD6F9; } .show { margin-top:20px; position:relative; width:950px; } .show .item { position:absolute; width:250px; height:250px; } .show img { max-width:224px; max-height:224px; cursor:url(./images/big.cur),auto; box-shadow:0px 1px 1px 1px #AAA3A3; } .show img:hover { box-shadow:0px 1px 1px 2px #83ABD2; } .show .big { z-index:2; } .show .big img { max-width:none; max-height:none; cursor:url(./images/small.cur),auto; box-shadow:2px 2px 10px 2px #666; }
请问函数funcs()是在哪里里声明的;getObjectURL()又在哪里
funcs():在71行 var funcs =function() {} 声明的;
getObjectURL():没有在代码里声明,方法代码是:
function getObjectURL(file) { var url = null ; if (window.createObjectURL!=undefined) { // basic url = window.createObjectURL(file) ; } else if (window.URL!=undefined) { // mozilla(firefox) url = window.URL.createObjectURL(file) ; } else if (window.webkitURL!=undefined) { // webkit or chrome url = window.webkitURL.createObjectURL(file) ; } return url ; }