破釜沉舟论坛 » 网页制作初级班 » 請教 有關dw裏的行爲

2006-10-26 15:49 chuchu
請教 有關dw裏的行爲

请问当鼠标指向图片时变换:是在“行为“里的“影像调换“,然后选择要换的图,可是出现对话框:“只有不同名的影像才能调换,要自动重新命名选取得影像,并重新命名,请安确定“。我的两张图是不同名的啊。这是什莫问题?
谢谢!

2006-10-27 00:01 蓝鼠狼
如果只是单独图片交换,完全可以直接用css来写!

2006-10-27 13:30 chuchu
怎莫寫?
請較您!

2006-10-28 20:01 蓝鼠狼
[quote].class a:link       { background: url(图片地址) no-repeat top left; }  /* 未被访问的链接 */
.class a:visited  { background: url(图片地址) no-repeat top left; }  /* 已被访问过的链接 */
.class a:hover    { background: url(图片地址) no-repeat top left; }  /* 鼠标悬浮在上的链接 */
.class a:active   { background: url(图片地址) no-repeat top left; }  /* 鼠标点中激活链接 */[/quote]

页: [1]
查看完整版本: 請教 有關dw裏的行爲


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.