<a href=http://www.sohu.com><img src=somepicture></a>
<script>
function document.onclick(){
var e=window.event.srcElement
if(e.parentElement.tagName=="A")//判断条件,范例,你可改成自个的
window.open('http://mywebsite/*.html')
}
</script>
<script>
function document.onclick(){
var e=window.event.srcElement
if(e.parentElement.tagName=="A")//判断条件,范例,你可改成自个的
window.open('http://mywebsite/*.html')
}
</script>
问题解决!谢谢大哥!本来是想给你500分,可是系统最多允许100,抱歉!