<SCRIPT LANGUAGE=javascript FOR=document EVENT=onkeyup>
ku()
</SCRIPT>
<div id="eee" >
<img src="http://www.google.com/images/logo_sm.gif">asdfasdfasdfas
<input type="text" value="aa">adfasdf
</div>
<script language="javascript">
eee.contentEditable=true
ku()
</SCRIPT>
<div id="eee" >
<img src="http://www.google.com/images/logo_sm.gif">asdfasdfasdfas
<input type="text" value="aa">adfasdf
</div>
<script language="javascript">
eee.contentEditable=true
document.onkeyup=kd()
function ku(){
var oControlRange = document.selection.createRange();
if (oControlRange(0).tagName.toUpperCase() == "IMG") {
alert("您在图片上按了键!")
}
}
</script>