{"id":972,"date":"2013-01-27T15:40:19","date_gmt":"2013-01-27T07:40:19","guid":{"rendered":"https:\/\/sdeno.com\/?p=972"},"modified":"2013-01-27T15:41:49","modified_gmt":"2013-01-27T07:41:49","slug":"jquery%e5%88%b6%e4%bd%9c%e9%bc%a0%e6%a0%87%e7%a7%bb%e5%8a%a8%e5%88%b0%e5%88%97%e8%a1%a8%e8%a1%8c%e7%9a%84%e4%bd%8d%e7%bd%ae%e5%8d%b3%e6%98%be%e7%a4%ba%e7%bc%a9%e7%95%a5%e5%9b%be%e7%89%b9%e6%95%88","status":"publish","type":"post","link":"https:\/\/sdeno.com\/?p=972","title":{"rendered":"jquery\u5236\u4f5c\u9f20\u6807\u79fb\u52a8\u5230\u5217\u8868\u884c\u7684\u4f4d\u7f6e\u5373\u663e\u793a\u7f29\u7565\u56fe\u7279\u6548"},"content":{"rendered":"<p>\u5173\u952e\u5b57\uff1ajquery|\u5217\u8868|\u9f20\u6807|\u79fb\u52a8|\u7f29\u7565\u56fe<br \/>\n\u6700\u8fd1\u6dfb\u52a0\u4e86wordpress\u4e3b\u9898\u7684\u6a21\u5757\uff0c\u65e2\u7136\u662f\u4e3b\u9898\u5c31\u5c11\u4e0d\u4e86\u56fe\u7247\u5f53\u7136\u5c31\u597d\u4f7f\u7528jquery\u5236\u4f5c\u7f51\u9875\u7279\u6548\u662f\u6700\u597d\u7684\u4e86<span style=\"color: #333333; font-style: normal; line-height: 24px;\">\u6548\u679c\u5c31\u8ddf\u672c\u7ad9\u4fa7\u8fb9\u4e00\u6837\u3002\u73b0\u5728\u4ecb\u7ecd\u5982\u4f55\u5236\u4f5c\uff1a<\/span><\/p>\n<p>1\uff0c\u52a0\u8f7djquery\u5e93\u548cpicBigNew.js<br \/>\n2\uff0c\u5728\u4f60\u60f3\u6dfb\u52a0\u7684\u5730\u65b9\u52a0\u4e0a\u4ee5\u4e0bhtml\u4ee3\u7801\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p>[code]&lt;div id=&#8221;d_picTit&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>&lt;div class=&#8221;rankClick rankPic&#8221; id=&#8221;rankPic&#8221;&gt;<br \/>\n&lt;div class=&#8221;acleTitBlue&#8221;&gt;<br \/>\n&lt;h2&gt;WordPress\u4e3b\u9898&lt;\/h2&gt;<\/p>\n<p>&lt;\/div&gt;<br \/>\n&lt;div&gt;<br \/>\n&lt;ul class=&#8221;listTop&#8221; id=&#8221;picBox1&#8243; style=&#8221;display: block; &#8220;&gt;<br \/>\n&lt;?php<\/p>\n<p>$args=array(<br \/>\n&#8216;cat&#8217; =&gt; &#8216;18,19&#8217;, \/\/ \u5206\u7c7bID,\u5355\u5f15\u53f7\u4e2d\u586b\u5199\u5177\u4f53ID\uff0c\u5728\u4f60\u540e\u53f0\u7684\u5206\u7c7b\u76ee\u5f55\u4e2d\u9f20\u6807\u67e5\u627e<br \/>\n&#8216;posts_per_page&#8217; =&gt; 10, \/\/ \u663e\u793a\u7bc7\u6570<\/p>\n<p>);<br \/>\nquery_posts($args);<br \/>\nif (have_posts()) : while (have_posts()) : the_post();<br \/>\n?&gt;<\/p>\n<p>&lt;li class=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221;&gt;<\/p>\n<p>&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; target=&#8221;_blank&#8221; class=&#8221;img&#8221;&gt;<br \/>\n&lt;img src=&#8221;&lt;?php echo catch_that_image() ?&gt;&#8221; width=&#8221;100px&#8221; height=&#8221;65px&#8221; \/&gt;<br \/>\n&lt;\/a&gt;<\/p>\n<p>&lt;a class=&#8221;content&#8221; style=&#8221;word-break:break-all; &#8221; href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; target=&#8221;_blank&#8221; title=&#8221;&lt;?php the_title(); ?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;<\/p>\n<p>&lt;\/li&gt;<\/p>\n<p>&lt;?php endwhile; endif; wp_reset_query();?&gt;<\/p>\n<p>&lt;\/ul&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;\/div&gt;[\/code]<\/p>\n<p>3\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u8c03\u7528\u6587\u7ae0\u7684\u7b2c\u4e00\u5f20\u56fe\u4f5c\u4e3a\u6211\u4eec\u7684\u7f29\u7565\u56fe<br \/>\n\u65b9\u6cd5\u4e4b\u524d\u5199\u8fc7\u5982\u4e0b\uff1a<\/p>\n<p><a href=\"https:\/\/sdeno.com\/wordpress\u65e0\u63d2\u4ef6\u5b9e\u73b0\u8c03\u7528\u6587\u7ae0\u7b2c\u4e00\u5f20\u56fe\u7247\u5f53\u505a\u9996\u9875\u7f29\u7565\u56fe\/\">https:\/\/sdeno.com\/wordpress\u65e0\u63d2\u4ef6\u5b9e\u73b0\u8c03\u7528\u6587\u7ae0\u7b2c\u4e00\u5f20\u56fe\u7247\u5f53\u505a\u9996\u9875\u7f29\u7565\u56fe\/<\/a><\/p>\n<p>4\uff0c\u8fd8\u8981\u6dfb\u52a0\u5982\u4e0b\u6837\u5f0f\uff1a<br \/>\n[code].rankPic .listTop li a{ text-decoration:none;}<br \/>\n.rankPic .listTop {}<br \/>\n.rankPic .listTop li{<br \/>\nbackground: url(&#8220;images\/list-type.png&#8221;) no-repeat scroll left center transparent;<br \/>\nheight: 22px;<br \/>\nline-height: 22px;<br \/>\nmargin-left: 4px;<br \/>\ntext-indent: 14px;<br \/>\noverflow:hidden;\/* \u5185\u5bb9\u8d85\u51fa\u5bbd\u5ea6\u65f6\u9690\u85cf\u8d85\u51fa\u90e8\u5206\u7684\u5185\u5bb9 *\/<br \/>\n}<br \/>\n.rankPic .listTop li a.img{ display:none;}<br \/>\n.rankPic .listTop li.post-942{ height:86px!important; overflow:hidden; background:#d9d9d9;}<br \/>\n.rankPic .listTop li.post-942 a.img{<br \/>\ndisplay:block; width:100px!important; height:65px!important; overflow:hidden; float:left;margin: 10px 0px 0 0px !important; padding-right:14px;}<br \/>\n.rankPic .listTop li.post-942 a.img img{ width:100px; height:65px; }<br \/>\n.rankPic .listTop li.post-942 a.content{<br \/>\nfloat:right;<br \/>\nwidth:125px;<br \/>\nheight:80px;<br \/>\nlist-style-type:disc;<br \/>\n}[\/code]<\/p>\n<p>\u6ce8\u610f\uff1a\u8fd9\u91cc\u7684post-942\u5c31\u662f\u5217\u8868\u7b2c\u4e00\u884c&lt;li&gt;\u7684class\u540d\u6839\u636e\u9700\u8981\u4fee\u6539\u6210\u81ea\u52a8\u83b7\u53d6\u5f97\u5230\u7684class\u540d\uff0c\u540c\u6837\u4e5f\u5728picBigNew.js\u4fee\u6539\u3002<\/p>\n<p>\u4e0b\u8f7d\uff1a<a href=\"https:\/\/sdeno.com\/wp-content\/themes\/twentyeleven\/js\/picBigNew.js\">picBigNew.js<\/a><\/p>\n<div>\u6587\u7ae0\u6765\u6e90\uff1awordpress\u5efa\u7ad9\u6559\u7a0b|wordpress\u4e3b\u9898\u5236\u4f5c|wordpress\u6a21\u677f|wordpress\u4e0b\u8f7d<br \/>\n(<a href=\"https:\/\/sdeno.com\">www.xgllseo.com<\/a>)\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8bf7\u5c0a\u91cd\u7248\u6743\u3002<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u952e\u5b57\uff1ajquery|\u5217\u8868|\u9f20\u6807|\u79fb\u52a8|\u7f29\u7565\u56fe \u6700\u8fd1\u6dfb\u52a0\u4e86wordpress\u4e3b\u9898\u7684\u6a21\u5757\uff0c\u65e2\u7136\u662f\u4e3b\u9898\u5c31\u5c11\u4e0d\u4e86\u56fe\u7247 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,13],"tags":[],"class_list":["post-972","post","type-post","status-publish","format-standard","hentry","category-11","category-jquery"],"_links":{"self":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=972"}],"version-history":[{"count":0,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/972\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}