discuz 手机模板添加注册协议

手机模板添加注册协议功能

<li><input type="checkbox" checked="checked" onclick="window.location.href='/'"><!--{lang agree}--><a href="#" onclick="showruletxt();" ><!--{lang rulemessage}--></a></input></li>

<div class="rulemessage" style="display: none; border-radius: 10px; margin: 0px 2.5em; padding: 1em; background: #fff;">
<p><!--{lang rulemessage}--><span style="float:right;"><a herf="#" onclick="showruletxt();">X</a></span></p>
$bbrulestxt
</div>

<script type="text/javascript">
	function showruletxt() 
		{
			$(".rulemessage").toggle();

		}
</script>

huan

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: