CSS里也能写脚本?
2006-06-11 19:19:38 来源:WEB开发网核心提示:<style type="text/CSS">.showCSS{event:exPRession(onmouSEOver = function(){this.style.backgroundColor='#f0f0f0'},onmouseout = function(){
<style type="text/CSS">
.showCSS{
event:exPRession(
onmouSEOver = function()
{
this.style.backgroundColor='#f0f0f0'
},
onmouseout = function()
{
this.style.backgroundColor='#ffffff'
}
)
}
</style>
<div class="showCSS">把鼠标放上去试试看!:)</div>
.showCSS{
event:exPRession(
onmouSEOver = function()
{
this.style.backgroundColor='#f0f0f0'
},
onmouseout = function()
{
this.style.backgroundColor='#ffffff'
}
)
}
</style>
<div class="showCSS">把鼠标放上去试试看!:)</div>
更多精彩
赞助商链接