用JS控制CSS

      My Works 2006-12-8 11:29
<style>
.css1{background-color:ff0000;color:ff9966;border:1;cursor:hand;}
.css2{background-color:00ff00;color:ffffff;border:1;cursor:hand;}
</style>
<span class="css1" onclick="javascript:this.className='css2'">这是一段文字

</span>
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}