{"id":1132,"date":"2015-08-18T10:50:42","date_gmt":"2015-08-18T02:50:42","guid":{"rendered":"https:\/\/aweidesign.why3s.tw\/wp2\/?p=1132"},"modified":"2015-08-18T10:54:07","modified_gmt":"2015-08-18T02:54:07","slug":"awei%e7%a0%94%e7%a9%b6%e5%ae%a4css-jquery-%e6%b0%b4%e5%b9%b3%e6%bb%91%e5%8b%95%e7%89%b9%e6%95%88%e6%bb%91%e9%bc%a0%e5%81%b5%e6%b8%ac","status":"publish","type":"post","link":"https:\/\/aweidesign.why3s.tw\/wp2\/1132\/awei%e7%a0%94%e7%a9%b6%e5%ae%a4css-jquery-%e6%b0%b4%e5%b9%b3%e6%bb%91%e5%8b%95%e7%89%b9%e6%95%88%e6%bb%91%e9%bc%a0%e5%81%b5%e6%b8%ac","title":{"rendered":"[awei\u7814\u7a76\u5ba4]Css &#038; jquery \u6c34\u5e73\u6ed1\u52d5\u7279\u6548(\u6ed1\u9f20\u5075\u6e2c)"},"content":{"rendered":"<p><strong><span style=\"font-size: 14pt;\">Css &amp; jquery \u6c34\u5e73\u6ed1\u52d5\u7279\u6548(\u6ed1\u9f20\u5075\u6e2c)<br \/>\n<\/span><\/strong><br \/>\n\u9019\u6b21\u6211\u5011\u8a66\u8457\u4f5c\u51fa\u4e00\u500b\u7576\u6ed1\u9f20\u79fb\u52d5\u5230\u6307\u5b9a\u5340\u584a(teaser)\u6642,\u555f\u52d5\u8b93\u4e0a\u5c64\u5716\u7247\u5411\u5de6\u6ed1\u52d5<br \/>\n\u4e26\u986f\u73fe\u4e0b\u65b9\u5340\u584a\u6587\u5b57\u8207\u5e95\u5716<br \/>\n\u53ef\u61c9\u7528\u65bc\u5229\u7528\u6ed1\u9f20\u7ffb\u724c\u4ee5\u4fbf\u986f\u793a\u5e95\u4e0b\u7684\u8cc7\u8a0a<\/p>\n<p><a class=\"dwn\" href=\"https:\/\/aweidesign.why3s.tw\/wp2\/test\/movewrapjoker\/movewrap.html\" target=\"_blank\">\u770b\u7bc4\u4f8b<\/a><\/p>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1134\" src=\"https:\/\/aweidesign.why3s.tw\/wp2\/wp-content\/uploads\/2015\/08\/movewap_s1.jpg\" alt=\"movewap_s1\" width=\"600\" height=\"480\" srcset=\"https:\/\/aweidesign.why3s.tw\/wp2\/wp-content\/uploads\/2015\/08\/movewap_s1.jpg 600w, https:\/\/aweidesign.why3s.tw\/wp2\/wp-content\/uploads\/2015\/08\/movewap_s1-300x240.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>\u9996\u5148\u6211\u5011\u628a\u6574\u500bDIV\u5340\u584aWrapper\u5305\u542b\u5169\u500bcontent1\u8207content2<br \/>\n\u4e26\u4e14teaser\u5340\u584a\u8207\u5169\u500bcontent\u4f5c\u91cd\u758a<\/p>\n<p>\u9019\u6642\u6211\u5011\u6e96\u5099\u5169\u5f35\u5716\u7247<br \/>\n1.\u4e0a\u5c64\u5716\u7247joker.jpg<br \/>\n2.\u5e95\u5c64\u80cc\u666f\u5716jokerbg.jpg<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1135\" src=\"https:\/\/aweidesign.why3s.tw\/wp2\/wp-content\/uploads\/2015\/08\/movewap_s2.jpg\" alt=\"movewap_s2\" width=\"600\" height=\"480\" srcset=\"https:\/\/aweidesign.why3s.tw\/wp2\/wp-content\/uploads\/2015\/08\/movewap_s2.jpg 600w, https:\/\/aweidesign.why3s.tw\/wp2\/wp-content\/uploads\/2015\/08\/movewap_s2-300x240.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>\u9019\u6642\u52a0\u5165\u6b64\u6bb5javascript<\/p>\n<pre lang=\"javascript\" line=\"1\" colla=\"+\">&lt;script type=\"text\/javascript\" charset=\"utf-8\"&gt;\r\n$('.teaser').hover(function() {\r\n\t  \/\/ over\r\n\r\n\t$(this).children('img').stop().animate({\r\n\t\tleft : '-590px'\r\n\t}, 500);\r\n\r\n}, \r\nfunction() {\r\n  \/\/ out\t\r\n\r\n\t$(this).children('img').stop().animate({\r\n\t\tleft : '0'\r\n\t}, 500);\r\n\r\n});\r\n\t$(document).ready(function () {\r\n\t\t\/\/ transition effect\r\n\t\tstyle = 'easeOutQuart';\r\n\t\t\/\/ if the mouse hover the image\r\n\t\t$('.lanrenzhijia').hover(\r\n\t\t\tfunction() {\r\n\t\t\t\t\/\/display heading and caption\r\n\t\t\t\t$(this).children('div:first').stop(false,true).animate({top:0},{duration:200, easing: style});\r\n\t\t\t\t$(this).children('div:last').stop(false,true).animate({bottom:0},{duration:200, easing: style});\r\n\t\t\t},\r\n\t\t\tfunction() {\r\n\t\t\t\t\/\/hide heading and caption\r\n\t\t\t\t$(this).children('div:first').stop(false,true).animate({top:-50},{duration:200, easing: style});\r\n\t\t\t\t$(this).children('div:last').stop(false,true).animate({bottom:-50},{duration:200, easing: style});\r\n\t\t\t}\r\n\t\t);\r\n\/*\t2nd example\t*\/\t\t\t\r\n\t\t\t$(\"#menumeno2 li a\").wrapInner( '&lt;span class=\"out\"&gt;&lt;\/span&gt;' );\r\n\t\t\t$(\"#menumeno2 li a\").each(function() {\r\n\t\t\t\t$( '&lt;span class=\"over\"&gt;' +  $(this).text() + '&lt;\/span&gt;' ).appendTo( this );\r\n\t\t\t});\r\n\t\t\t$(\"#menumeno2 li a\").hover(function() {\r\n\t\t\t\t$(\".out\",\tthis).stop().animate({'top':\t'45px'},\t200); \/\/ move down - hide\r\n\t\t\t\t$(\".over\",\tthis).stop().animate({'top':\t'0px'},\t\t200); \/\/ move down - show\r\n\r\n\t\t\t}, function() {\r\n\t\t\t\t$(\".out\",\tthis).stop().animate({'top':\t'0px'},\t\t200); \/\/ move up - show\r\n\t\t\t\t$(\".over\",\tthis).stop().animate({'top':\t'-45px'},\t200); \/\/ move up - hide\r\n\t\t\t});\r\n\t});\r\n&lt;\/script&gt;<\/pre>\n<p>\u7576\u6ed1\u9f20\u79fb\u52d5\u5230teaser\u5340\u584a\u6642,\u5c31\u6703\u89f8\u767c\u52d5\u756b\u4f7f\u4e0a\u65b9\u5716\u7247\u6c34\u5e73\u5411\u5de6\u79fb\u52d5<br \/>\n\u4e26\u4e14\u4f7f\u5e95\u4e0b\u5340\u584a\u986f\u793a\u51fa\u4f86<\/p>\n<hr \/>\n<p><a class=\"dwn\" href=\"https:\/\/mega.nz\/#!Fdhz1YhB!vv1I7Q3BmCUW5erXLyOfKL5quBKWNtuVGVrUXX3I1pw\" target=\"_blank\">\u5b8c\u6574\u7bc4\u4f8b\u4e0b\u8f09<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Css &amp; jquery \u6c34\u5e73\u6ed1\u52d5\u7279\u6548(\u6ed1\u9f20\u5075\u6e2c) \u9019\u6b21\u6211\u5011\u8a66\u8457\u4f5c\u51fa\u4e00\u500b\u7576\u6ed1\u9f20\u79fb\u52d5\u5230\u6307\u5b9a\u5340\u584a(teas [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1133,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,108],"tags":[171,106,82],"class_list":["post-1132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-classroom","category-jquery_css-tech","tag-css","tag-javascript","tag-jquery"],"_links":{"self":[{"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/posts\/1132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/comments?post=1132"}],"version-history":[{"count":4,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/posts\/1132\/revisions"}],"predecessor-version":[{"id":1139,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/posts\/1132\/revisions\/1139"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/media\/1133"}],"wp:attachment":[{"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/media?parent=1132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/categories?post=1132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aweidesign.why3s.tw\/wp2\/wp-json\/wp\/v2\/tags?post=1132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}