<ol class="ol" style="user-select: text !important; margin: 0px; padding: 5px 0px 5px 40px; list-style: none;"><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><html xmlns="http://www.w3.org/1999/xhtml"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><head></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><title>帝国cms调用TAGS信息标签实现字体随机颜色和随机大小变化--艺灵设计,qq群:231749938</title></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><meta name="author" content="艺灵设计,315800015@qq.com,yilingsj@gmail.com, www.yilingsj.com"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><meta name="keywords" content="帝国cms调用TAGS信息标签,TAGS信息标签实现随机字体大小,TAGS信息标签实现随机颜色,tagsinfo"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><style type="text/css"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">*{margin:0;padding:0}</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">a,a:hover{display:inline-block;color:#666;font-size:12px;font-family:Arial;outline:none;text-decoration:none;}</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">div.cont_r_newlist{width:284px;margin:0 auto}</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">div.cont_r_newlist a{position:relative;padding-right:5px;}</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"></style></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"></head></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><base href="http://www.yilingsj.com" /></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><body></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><div class="cont_r_newlist"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><div class="h3"><h3>随机标签</h3></div></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=417" target="_blank" title="淘宝全屏海报代码生成器">淘宝全屏海报代码生成器</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=156" target="_blank" title="淘宝店铺装修">淘宝店铺装修</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=399" target="_blank" title="c店完全自定义">c店完全自定义</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=404" target="_blank" title="全屏模版框架">全屏模版框架</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=405" target="_blank" title="footer-more-trigger">footer-more-trigger</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=151" target="_blank" title="悬浮代码">悬浮代码</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=140" target="_blank" title="鼠标滑过特效">鼠标滑过特效</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=408" target="_blank" title="sn-simple-logo">sn-simple-logo</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=100" target="_blank" title="导航特效">导航特效</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=104" target="_blank" title="遮罩层特效">遮罩层特效</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=286" target="_blank" title="修改改淘宝销量">修改改淘宝销量</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=179" target="_blank" title="10px问题">10px问题</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=114" target="_blank" title="二级下拉菜单">二级下拉菜单</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=97" target="_blank" title="京东店铺装修">京东店铺装修</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=284" target="_blank" title="淘宝漏洞">淘宝漏洞</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=81" target="_blank" title="鼠标跟随">鼠标跟随</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=391" target="_blank" title="显示已隐藏的店招">隐藏的店招/模块</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=112" target="_blank" title="jq特效">jq特效</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=47" target="_blank" title="ie6 bug">ie6 bug</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=348" target="_blank" title="css3属性">css3属性</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=50" target="_blank" title="css3边框阴影">css3边框阴影</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=87" target="_blank" title="css3动画">css3动画</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=299" target="_blank" title="积分问题">积分问题</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><a href="/e/tags/?tagid=77" target="_blank" title="flash动画">flash动画</a></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"></div></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><script type="text/javascript" src="/skin/yilingsj/js/jquery-1.8.3.min.js"></script></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"><script language="javascript"></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">$(function(){</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">var $c_a=$('div.cont_r_newlist a');<span class="c999" style="user-select: text !important; color: #999999;">/*定义简写样式名*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">for(var i=0;i<$c_a.length;i++) <span class="c999" style="user-select: text !important; color: #999999;">/*遍历a的个数,可用alert(c_a.length);测试结果为24个*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">{var str="0123456789ABCDEF";<span class="c999" style="user-select: text !important; color: #999999;">/*枚举颜色组合基数*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">var c="#";<span class="c999" style="user-select: text !important; color: #999999;">/*颜色前面+#*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">for(var j=0;j<6;j++)<span class="c999" style="user-select: text !important; color: #999999;">/*颜色由6位组成,循环6次输出一组颜色*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">{c=c+str.charAt(Math.random()*str.length);}<span class="c999" style="user-select: text !important; color: #999999;">/*颜色组合数为:16^6=256^3*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">var size=parseInt(Math.random()*(20)+8);<span class="c999" style="user-select: text !important; color: #999999;">/*字体大小范围在[8,28),左闭右开*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">$c_a.eq(i).css({color:c}).stop().animate({'font-size':size},500);<span class="c999" style="user-select: text !important; color: #999999;">/*遍历a并增加对应的颜色和字体大小属性*/</span></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">}</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;">});</li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"></script></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"></body></li><li style="user-select: text !important; margin: 0px; padding: 0px 10px; border-left: 2px solid rgb(0, 166, 80); line-height: 24px; list-style-type: decimal; font-family: 微软雅黑; position: relative;"></html></li></ol>
转载请注明:网页阁吧 » 帝国cms调用TAGS信息标签实现字体随机颜色和随机大小变化