零全零美(www.zzgwt.com)
生活中的很多事情,并不像If...Else那么简单!
posts - 96,comments - 52,trackbacks - 0
 1 <script type="text/javascript">
 2   <!--
 3     function setDivShowHide(divID,s)
 4     {
 5       if(s==1) {
 6           document.getElementById(divID).style.display="";
 7       } else {
 8           document.getElementById(divID).style.display="none";
 9       }
10     }
11   //-->
12 </script>
13 
14 <div jwcid="@Any" align="left" onmouseover="ognl:'javascript:setDivShowHide(\'div'+pl.id+'\',1);'" onmouseout="ognl:'javascript:setDivShowHide(\'div'+pl.id+'\',0);'"><span jwcid="@xylib:FilterInsert" length="75" value="ognl:pl.plnr" /></div>
15                                   <!-- DIV开始 -->    
16                               <DIV 
17                                jwcid="@Any"
18                                id="ognl:'div'+pl.id+''"
19                                onmouseover="ognl:'javascript:setDivShowHide(\'div'+pl.id+'\',1);'" 
20                                onmouseout="ognl:'javascript:setDivShowHide(\'div'+pl.id+'\',0);'"
21                                style="MARGIN-TOP: 0px; display:none; MARGIN-LEFT: 0px; WIDTH: 500px; height:30px; POSITION: absolute; background:#C0DCC0; z-index:1"
22                               >
23                               <iframe frameborder="0" style="MARGIN-TOP: 0px; MARGIN-LEFT: 0px; WIDTH: 500px; height:30px; POSITION: absolute; background:#C0DCC0; z-index:2"></iframe>
24                               <div style="MARGIN-TOP: 0px;MARGIN-LEFT: 0px; WIDTH: 500px; height:30px; POSITION: absolute; background:#C0DCC0; z-index:3">
25                                       <span jwcid="@Insert" value="ognl:pl.plnr" />
26                               </div>
27                               </DIV>
28                               <!-- DIV结束 -->
posted on 2008-04-21 17:54 零全零美 阅读(665) 评论(0)  编辑  收藏 所属分类: JavaScript

只有注册用户登录后才能发表评论。


网站导航: