这个是两个的,其实把那个id换个别的名字就可以用多个了。
这是代码:
<SPAN class="Outline" id=Out3 style="CURSOR: hand;COLOR: #A52A2A;background-color: #EBEBEB;font-size:14.7px">■点击查看■</SPAN><div id="Out3details" style="DISPLAY: none; background-color: #EBEBEB;POSITION: relative;"> 内容文字
<SPAN class="Outline" id=Out3 style="CURSOR: hand;COLOR: #A52A2A;font-size:12px">■隐藏■</SPAN></div>
<br /><br />
<SPAN class="Outline" id=Out5 style="CURSOR: hand;COLOR: #A52A2A;background-color: #EBEBEB;font-size:14.7px">■点击查看■</SPAN><div id="Out5details" style="DISPLAY: none; background-color: #EBEBEB;POSITION: relative;"> 内容文字
<SPAN class="Outline" id=Out5 style="CURSOR: hand;COLOR: #A52A2A;font-size:12px">■隐藏■</SPAN></div>
虚线框:
<div style="border:dashed 1px #cccccc;margin-left:10px; padding:15px 20px 15px 20px;width:560px;font-size:14px;line-height:160%;">
相关内容文字
</div>
更多代码参考:
http://blog.hjenglish.com/homlee/archive/2005/02/28/17815.aspx
提问者对于答案的评价:原来要改id呀,知道了,谢谢!:)