dreamweaver用热点工具做好链接后,点击后原页面会留下一个黑色的框,不是很好看,怎么消除?

来源:百度知道 编辑:UC知道 时间:2024/06/23 07:54:52
学习中,有些现象实在想不通。

当它失去焦点的时候,就没了。

于是我们可以让其自动即时失去焦点。。

找到代码。在<area>标签里面,加上onfocus="this.blur()"就ok了。。

举个例子:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body><img src="new/未命名文件.png" width="89" height="82" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="circle" coords="42,48,28&q