〈script language=javascript〉
document.write ("〈marquee scrollamount=’1’ scrolldelay=’30’ direction= ’UP’ width=’160’ id=’helpor_net’ height=’250’ onmouseover=’helpor_net.stop()’ onmouseout=’helpor_net.start()’ Author:redriver〉")
document.write ("〈p align=’left’〉〈font color=’#4a824a’ font size=2 onclick=MM_openBrWindow(’http://www.google.com’,’ok’,’scrollbars=yes,width=300,height=300’)〉点击打开新窗口〉〈/font〉 ")
document.write ("〈p align=’left’〉〈a href=’http://www.google.com’ target=’_blank’〉〈font color=’#4a824a’ font size=2〉·〈%=trim(caption2)%〉〈/font〉 ")
.
.
.
document.write ("〈/marquee〉 ")
〈/script〉
如上代码,当用户点击“点击打开新窗口”时弹出指定大小的窗口,问题是当鼠标悬停在“点击打开新窗口”上时鼠标箭头未变成超链接一样的小手,担心用户误解,采用Onclick时怎样实现鼠标悬停出现小手?盼指教
积极说:style="cursor:hand" 加上这个就行了。
document.write ("〈marquee scrollamount=’1’ scrolldelay=’30’ direction= ’UP’ width=’160’ id=’helpor_net’ height=’250’ onmouseover=’helpor_net.stop()’ onmouseout=’helpor_net.start()’ Author:redriver〉")
document.write ("〈p align=’left’〉〈font color=’#4a824a’ font size=2 onclick=MM_openBrWindow(’http://www.google.com’,’ok’,’scrollbars=yes,width=300,height=300’)〉点击打开新窗口〉〈/font〉 ")
document.write ("〈p align=’left’〉〈a href=’http://www.google.com’ target=’_blank’〉〈font color=’#4a824a’ font size=2〉·〈%=trim(caption2)%〉〈/font〉 ")
.
.
.
document.write ("〈/marquee〉 ")
〈/script〉
如上代码,当用户点击“点击打开新窗口”时弹出指定大小的窗口,问题是当鼠标悬停在“点击打开新窗口”上时鼠标箭头未变成超链接一样的小手,担心用户误解,采用Onclick时怎样实现鼠标悬停出现小手?盼指教
积极说:style="cursor:hand" 加上这个就行了。