复制代码 代码如下: 点击文字弹出层 <br><!-- <BR>*{font-size:12px;font-family:Verdana, Geneva, sans-serif;line-height:14px}<BR>p{margin:0px; padding:0px;}<BR>a{color:#039} <BR>a:hover{color:#f60} <BR>.pop{position:absolute;left:40px;top:20px;width:380px;height:240px;background:#fff;border:8px solid #DDD;} <BR>.pop_head{position:relative; height:18px;}<BR>.pop_head img{ border:none; margin:8px 0px 0 0;}<BR>.pop_head a{position:absolute;right:8px;line-height:20px;color:#000;text-decoration:none} <BR>.pop_head a:hover{color:#f60;text-decoration:none} <BR>.pop_body{padding:0 12px 2px} <BR>.popdiv{display:block; width:12px; height:20px;}<BR>.popdiv img{ border:none;}<BR>.popbox{ position:relative; height:360px; width:680px;}<BR>.border{ border:solid 1px #8e8e8e;height:240px}<BR>.miaosu{ line-height:16px; background:#fff6ea; border:solid 1px #ffecd5; padding:4px 8px; color:#666; margin-top:5px;}<BR>.fomdiv{ margin-top:12px; }<BR>.fomdiv span{ display:block; float:left;line-height:32px;font-size:14px; color:#444;}<BR>.tcinp{ width:160px; height:26px; border: solid 1px #DDD; font-size:14px; padding-left:5px; line-height:26px;}<BR>.pop_but{ background: url(images/tbg.jpg) no-repeat; width:69px; height:29px; border: none; color:#fff; text-align:center; line-height:29px; cursor:pointer}<BR>.popbutdiv{ margin:8px 0 16px 74px;}<BR>.pop_p{ line-height:16px; color:#888; padding-top:5px; border-top:dashed 1px #CCC;}<BR>--><br><br> 1111111111111111111111111 222222222222222222222222222222222222222222222222222 手机号码: 1.网络繁忙时会有延迟,请不要在短时间内多次重复发送 2.每个手机号码当日可接收5条楼盘信息 333333333333333333333333333333 444444444444444444444444444444 手机号码: 1.网络繁忙时会有延迟,请不要在短时间内多次重复发送 2.每个手机号码当日可接收5条楼盘信息 <BR> var EX = {<BR> addEvent: function (k, v) {<BR> var me = this;<BR> if (me. addEventListener)<BR> me.addEventListener(k, v, false);<BR> else if (me.attachEvent)<BR> me.attachEvent("on" k, v);<BR> 其他<BR> 我[ "on" k] = v;<BR> },<BR> removeEvent: function (k, v) {<BR> var me = this;<BR> if (me.removeEventListener)<BR> me.removeEventListener(k , v, false);<BR> else if (me.detachEvent)<BR> me.detachEvent("on" k, v);<BR> else<BR> me[ “在”k] = null;<BR> },<BR> stop: function (evt) {<BR> evt = evt || window.event;<BR> evt.stopPropagation ? evt.stopPropagation() : evt.cancelBubble = true;<BR> }<BR> };<BR> document.getElementById('pop').onclick = EX.stop; <BR> var url = '#';<BR> function show() {<BR> var o = document.getElementById('pop');<BR> o.style.display = "";<BR> setTimeout( function () { EX.addEvent.call(document, 'click', hide); });<BR> }<BR> function hide() {<BR> var o = document.getElementById('pop');<BR> o.style.display = "none";<BR> EX.removeEvent.call(document, 'click', hide);<BR> }<BR> function show2() {<BR> var o = document. getElementById('pop2');<BR> o.style.display = "";<BR> setTimeout(function () { EX.addEvent.call(document, 'click', hide2); });<BR> } <BR> function hide2() {<BR> var o = document.getElementById('pop2');<BR> o.style.display = "none";<BR> EX.removeEvent.call(document, 'click' , hide2);<BR> } <BR> 表>