{"id":600,"date":"2010-07-16T11:55:36","date_gmt":"2010-07-16T03:55:36","guid":{"rendered":""},"modified":"2014-03-11T22:32:06","modified_gmt":"2014-03-11T14:32:06","slug":"javascript%e5%8a%a8%e6%80%81%e8%b0%83%e6%95%b4%e5%9b%be%e7%89%87%e5%b0%ba%e5%af%b8","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2010\/07\/16\/600.htm","title":{"rendered":"JavaScript\u52a8\u6001\u8c03\u6574\u56fe\u7247\u5c3a\u5bf8"},"content":{"rendered":"<p>\u5728\u81ea\u5df1\u7684\u7f51\u7ad9\u4e0a\u66f4\u65b0\u6587\u7ae0\u65f6\u4e00\u4e2a\u6bd4\u8f83\u5e38\u89c1\u7684\u95ee\u9898\u662f\uff1a\u6587\u7ae0\u63d2\u56fe\u592a\u5bbd\uff0c\u4f7f\u6574\u4e2a\u7f51\u9875\u90fd\u53d8\u5f62\u4e86\u3002\u5982\u679c\u5bf9\u6bcf\u4e2a\u63d2\u56fe\u90fd\u5148\u8fdb\u884c\u7f29\u653e\u518d\u63d2\u5165\u7684\u8bdd\uff0c\u592a\u9ebb\u70e6\u4e86\u3002<\/p>\n<p>\u6211\u524d\u6bb5\u65f6\u95f4\u5199\u7684\u4e00\u7bc7\u6587\u7ae0\u5c31\u9047\u5230\u8fc7\u8fd9\u79cd\u4e8b\u60c5\uff0c\u540e\u6765\u7528CSS\u7684overflow\u548cmax-width\u5c5e\u6027\u6682\u65f6\u89e3\u51b3\u4e86\u9875\u9762\u53d8\u5f62\u7684\u95ee\u9898\u3002\u8fd9\u79cd\u65b9\u6cd5\u597d\u5904\u662f\u7b80\u5355\uff0c\u4f46\u574f\u5904\u662f\u4f1a\u7834\u574f\u67d0\u4e9b\u7ec6\u8282\u7684\u6548\u679c\u3002<\/p>\n<p>\u5982overflow\uff1ahidden\uff0c\u610f\u601d\u662f\u5f53\u5185\u90e8\u5143\u7d20\u5bbd\u5ea6\u5927\u4e8e\u7236\u6846\u67b6\u65f6\u9690\u85cf\u8d85\u51fa\u5bbd\u5ea6\u7684\u90e8\u5206\u3002\u8fd9\u6837\u505a\u53ef\u80fd\u4f1a\u662f\u4e00\u4e9b\u5185\u5bb9\u7a81\u7136\u622a\u65ad\uff0c\u88ab\u9690\u85cf\u4e86\uff0c\u5f88\u5bf9\u4e0d\u8d77\u89c2\u4f17\u3002<\/p>\n<p>\u901a\u8fc7max-width\u5c5e\u6027\u9650\u5236\u6587\u7ae0\u63d2\u56fe\u6700\u5927\u5bbd\u5ea6\u7684\u8bdd\uff0c\u9700\u8981\u8003\u8651\u5404\u6d4f\u89c8\u5668\u7684\u517c\u5bb9\u6027\u3002IE6\u662f\u4e0d\u652f\u6301\u8fd9\u4e2a\u5c5e\u6027\u7684\uff0c\u5728\u6211\u5370\u8c61\u4e2d\uff0c\u4e00\u4e9b\u6d4f\u89c8\u5668\u867d\u7136\u652f\u6301\u8fd9\u4e2a\u5c5e\u6027\uff0c\u4f46\u56fe\u7247\u4e0d\u662f\u7b49\u6bd4\u7f29\u653e\u7684\uff08\u597d\u50cf\u662fSafari\u548cOpera\uff0c\u8bb0\u4e0d\u6e05\u4e86\uff09\uff0c\u8fd9\u6837\u505a\u7684\u8bdd\u5bf9\u8fd9\u4e9b\u6d4f\u89c8\u5668\u7684\u7528\u6237\u5f88\u4e0d\u516c\u5e73\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u6211\u6700\u7ec8\u9009\u62e9\u7684\u662f\u901a\u8fc7JavaScript\u52a8\u6001\u6539\u53d8\u56fe\u7247\u5c3a\u5bf8\u3002\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u5404\u79cd\u6d4f\u89c8\u5668\u517c\u5bb9\u6027\u826f\u597d\uff08\u73b0\u5728\u5e94\u8be5\u5f88\u5c11\u4eba\u4f1a\u7981\u7528JavaScript\u5427\uff1f\uff09\uff0c\u5982\u679c\u6362\u4e3b\u9898\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u7075\u6d3b\u5730\u6539\u53d8\u6587\u7ae0\u63d2\u56fe\u7684\u6700\u5927\u5c3a\u5bf8\u3002<\/p>\n<p>\u65b9\u6848\u6709\u4e24\u4e2a\uff0c\u7531\u4e8e\u6211\u4f7f\u7528\u7684\u4e3b\u9898\u662f\u52a0\u8f7d\u4e86jQuery\u5e93\u7684\uff0c\u56e0\u6b64\u53ef\u4ee5\u7528\u4ee5\u4e0b\u4ee3\u7801\u5b9e\u73b0\uff1a<\/p>\n<table cellspacing=\"0\" cellpadding=\"6\" width=\"95%\" align=\"center\" border=\"0\" style=\"border-right: #0099cc 1px solid; table-layout: fixed; border-top: #0099cc 1px solid; border-left: #0099cc 1px solid; border-bottom: #0099cc 1px solid\">\n<tbody>\n<tr>\n<td bgcolor=\"#ddedfb\" style=\"word-wrap: break-word\"><font color=\"#ff0000\">\u4ee5\u4e0b\u4e3a\u5f15\u7528\u7684\u5185\u5bb9\uff1a<\/font><\/p>\n<pre class=\"javascript\" style=\"font-family: monospace\">\r\n$<span style=\"color: rgb(0,153,0)\">(<\/span>document<span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">ready<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,51,102)\">function<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(0,153,0)\">)<\/span> <span style=\"color: rgb(0,153,0)\">{<\/span><br \/>    $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(51,102,204)\">'.post img'<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">each<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,51,102)\">function<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(0,153,0)\">)<\/span> <span style=\"color: rgb(0,153,0)\">{<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,51,102)\">var<\/span> maxWidth <span style=\"color: rgb(51,153,51)\">=<\/span> <span style=\"color: rgb(204,0,0)\">100<\/span><span style=\"color: rgb(51,153,51)\">;<\/span> <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u56fe\u7247\u6700\u5927\u5bbd\u5ea6<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,51,102)\">var<\/span> maxHeight <span style=\"color: rgb(51,153,51)\">=<\/span> <span style=\"color: rgb(204,0,0)\">100<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u56fe\u7247\u6700\u5927\u9ad8\u5ea6<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,51,102)\">var<\/span> ratio <span style=\"color: rgb(51,153,51)\">=<\/span> <span style=\"color: rgb(204,0,0)\">0<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>  <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u7f29\u653e\u6bd4\u4f8b<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,51,102)\">var<\/span> width <span style=\"color: rgb(51,153,51)\">=<\/span> $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,0,102)\">this<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">width<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u56fe\u7247\u5b9e\u9645\u5bbd\u5ea6<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,51,102)\">var<\/span> height <span style=\"color: rgb(51,153,51)\">=<\/span> $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,0,102)\">this<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">height<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>  <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u56fe\u7247\u5b9e\u9645\u9ad8\u5ea6<\/span><br \/>&nbsp;<br \/>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u68c0\u67e5\u56fe\u7247\u662f\u5426\u8d85\u5bbd<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span><span style=\"color: rgb(0,153,0)\">(<\/span>width <span style=\"color: rgb(51,153,51)\">&gt;<\/span> maxWidth<span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(0,153,0)\">{<\/span><br \/>        ratio <span style=\"color: rgb(51,153,51)\">=<\/span> maxWidth <span style=\"color: rgb(51,153,51)\">\/<\/span> width<span style=\"color: rgb(51,153,51)\">;<\/span>   <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8ba1\u7b97\u7f29\u653e\u6bd4\u4f8b<\/span><br \/>        $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,0,102)\">this<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">css<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(51,102,204)\">&quot;width&quot;<\/span><span style=\"color: rgb(51,153,51)\">,<\/span> maxWidth<span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span> <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8bbe\u5b9a\u5b9e\u9645\u663e\u793a\u5bbd\u5ea6<\/span><br \/>        height <span style=\"color: rgb(51,153,51)\">=<\/span> height <span style=\"color: rgb(51,153,51)\">*<\/span> ratio<span style=\"color: rgb(51,153,51)\">;<\/span>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8ba1\u7b97\u7b49\u6bd4\u4f8b\u7f29\u653e\u540e\u7684\u9ad8\u5ea6 <\/span><br \/>        $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,0,102)\">this<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">css<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(51,102,204)\">&quot;height&quot;<\/span><span style=\"color: rgb(51,153,51)\">,<\/span> height <span style=\"color: rgb(51,153,51)\">*<\/span> ratio<span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>  <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8bbe\u5b9a\u7b49\u6bd4\u4f8b\u7f29\u653e\u540e\u7684\u9ad8\u5ea6<\/span><br \/>    <span style=\"color: rgb(0,153,0)\">}<\/span><br \/>&nbsp;<br \/>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u68c0\u67e5\u56fe\u7247\u662f\u5426\u8d85\u9ad8<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span><span style=\"color: rgb(0,153,0)\">(<\/span>height <span style=\"color: rgb(51,153,51)\">&gt;<\/span> maxHeight<span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(0,153,0)\">{<\/span><br \/>        ratio <span style=\"color: rgb(51,153,51)\">=<\/span> maxHeight <span style=\"color: rgb(51,153,51)\">\/<\/span> height<span style=\"color: rgb(51,153,51)\">;<\/span> <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8ba1\u7b97\u7f29\u653e\u6bd4\u4f8b<\/span><br \/>        $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,0,102)\">this<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">css<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(51,102,204)\">&quot;height&quot;<\/span><span style=\"color: rgb(51,153,51)\">,<\/span> maxHeight<span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>   <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8bbe\u5b9a\u5b9e\u9645\u663e\u793a\u9ad8\u5ea6<\/span><br \/>        width <span style=\"color: rgb(51,153,51)\">=<\/span> width <span style=\"color: rgb(51,153,51)\">*<\/span> ratio<span style=\"color: rgb(51,153,51)\">;<\/span>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8ba1\u7b97\u7b49\u6bd4\u4f8b\u7f29\u653e\u540e\u7684\u9ad8\u5ea6<\/span><br \/>        $<span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"font-weight: bold; color: rgb(0,0,102)\">this<\/span><span style=\"color: rgb(0,153,0)\">)<\/span>.<span style=\"color: rgb(102,0,102)\">css<\/span><span style=\"color: rgb(0,153,0)\">(<\/span><span style=\"color: rgb(51,102,204)\">&quot;width&quot;<\/span><span style=\"color: rgb(51,153,51)\">,<\/span> width <span style=\"color: rgb(51,153,51)\">*<\/span> ratio<span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span>    <span style=\"color: rgb(0,102,0); font-style: italic\">\/\/ \u8bbe\u5b9a\u7b49\u6bd4\u4f8b\u7f29\u653e\u540e\u7684\u9ad8\u5ea6<\/span><br \/>    <span style=\"color: rgb(0,153,0)\">}<\/span><br \/><span style=\"color: rgb(0,153,0)\">}<\/span><span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span><br \/><span style=\"color: rgb(0,153,0)\">}<\/span><span style=\"color: rgb(0,153,0)\">)<\/span><span style=\"color: rgb(51,153,51)\">;<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u4e0d\u60f3\u52a0\u8f7djQuery\u5e93\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<table cellspacing=\"0\" cellpadding=\"6\" width=\"95%\" align=\"center\" border=\"0\" style=\"border-right: #0099cc 1px solid; table-layout: fixed; border-top: #0099cc 1px solid; border-left: #0099cc 1px solid; border-bottom: #0099cc 1px solid\">\n<tbody>\n<tr>\n<td bgcolor=\"#ddedfb\" style=\"word-wrap: break-word\"><font color=\"#ff0000\">\u4ee5\u4e0b\u4e3a\u5f15\u7528\u7684\u5185\u5bb9\uff1a<\/font><\/p>\n<pre class=\"javascript\" style=\"font-family: monospace\"><span style=\"font-weight: bold; color: rgb(0,51,102)\">function<\/span> ResizeImage<span style=\"color: rgb(0,153,0)\">(<\/span>image<span style=\"color: rgb(51,153,51)\">,<\/span> \u63d2\u56fe\u6700\u5927\u5bbd\u5ea6<span style=\"color: rgb(51,153,51)\">,<\/span> \u63d2\u56fe\u6700\u5927\u9ad8\u5ea6<span style=\"color: rgb(0,153,0)\">)<\/span><br \/><span style=\"color: rgb(0,153,0)\">{<\/span><br \/>    <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span> <span style=\"color: rgb(0,153,0)\">(<\/span>image.<span style=\"color: rgb(102,0,102)\">className<\/span> <span style=\"color: rgb(51,153,51)\">==<\/span> <span style=\"color: rgb(51,102,204)\">&quot;Thumbnail&quot;<\/span><span style=\"color: rgb(0,153,0)\">)<\/span><br \/>    <span style=\"color: rgb(0,153,0)\">{<\/span><br \/>        w <span style=\"color: rgb(51,153,51)\">=<\/span> image.<span style=\"color: rgb(102,0,102)\">width<\/span><span style=\"color: rgb(51,153,51)\">;<\/span><br \/>        h <span style=\"color: rgb(51,153,51)\">=<\/span> image.<span style=\"color: rgb(102,0,102)\">height<\/span><span style=\"color: rgb(51,153,51)\">;<\/span><br \/>&nbsp;<br \/>        <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span><span style=\"color: rgb(0,153,0)\">(<\/span> w <span style=\"color: rgb(51,153,51)\">==<\/span> <span style=\"color: rgb(204,0,0)\">0<\/span> <span style=\"color: rgb(51,153,51)\">||<\/span> h <span style=\"color: rgb(51,153,51)\">==<\/span> <span style=\"color: rgb(204,0,0)\">0<\/span> <span style=\"color: rgb(0,153,0)\">)<\/span><br \/>        <span style=\"color: rgb(0,153,0)\">{<\/span><br \/>            image.<span style=\"color: rgb(102,0,102)\">width<\/span> <span style=\"color: rgb(51,153,51)\">=<\/span> maxwidth<span style=\"color: rgb(51,153,51)\">;<\/span><br \/>            image.<span style=\"color: rgb(102,0,102)\">height<\/span> <span style=\"color: rgb(51,153,51)\">=<\/span> maxheight<span style=\"color: rgb(51,153,51)\">;<\/span><br \/>        <span style=\"color: rgb(0,153,0)\">}<\/span><br \/>        <span style=\"font-weight: bold; color: rgb(0,0,102)\">else<\/span> <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span> <span style=\"color: rgb(0,153,0)\">(<\/span>w <span style=\"color: rgb(51,153,51)\">&gt;<\/span> h<span style=\"color: rgb(0,153,0)\">)<\/span><br \/>        <span style=\"color: rgb(0,153,0)\">{<\/span><br \/>            <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span> <span style=\"color: rgb(0,153,0)\">(<\/span>w <span style=\"color: rgb(51,153,51)\">&gt;<\/span> maxwidth<span style=\"color: rgb(0,153,0)\">)<\/span> image.<span style=\"color: rgb(102,0,102)\">width<\/span> <span style=\"color: rgb(51,153,51)\">=<\/span> maxwidth<span style=\"color: rgb(51,153,51)\">;<\/span><br \/>        <span style=\"color: rgb(0,153,0)\">}<\/span><br \/>        <span style=\"font-weight: bold; color: rgb(0,0,102)\">else<\/span><br \/>        <span style=\"color: rgb(0,153,0)\">{<\/span><br \/>            <span style=\"font-weight: bold; color: rgb(0,0,102)\">if<\/span> <span style=\"color: rgb(0,153,0)\">(<\/span>h <span style=\"color: rgb(51,153,51)\">&gt;<\/span> maxheight<span style=\"color: rgb(0,153,0)\">)<\/span> image.<span style=\"color: rgb(102,0,102)\">height<\/span> <span style=\"color: rgb(51,153,51)\">=<\/span> maxheight<span style=\"color: rgb(51,153,51)\">;<\/span><br \/>        <span style=\"color: rgb(0,153,0)\">}<\/span><br \/>&nbsp;<br \/>        image.<span style=\"color: rgb(102,0,102)\">className<\/span> <span style=\"color: rgb(51,153,51)\">=<\/span> <span style=\"color: rgb(51,102,204)\">&quot;ScaledThumbnail&quot;<\/span><span style=\"color: rgb(51,153,51)\">;<\/span><br \/>    <span style=\"color: rgb(0,153,0)\">}<\/span><br \/><span style=\"color: rgb(0,153,0)\">}<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u91c7\u7528\u7eafJavaScript\u7684\u8bdd\uff0c\u9ebb\u70e6\u70b9\uff0c\u9700\u8981\u624b\u52a8\u4e3a\u56fe\u7247\u52a0\u4e0aclass=&rdquo;Thumbnail&rdquo;\uff0c\u4f46\u6700\u7ec8\u6548\u679c\u662f\u4e00\u6837\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u81ea\u5df1\u7684\u7f51\u7ad9\u4e0a\u66f4\u65b0\u6587\u7ae0\u65f6\u4e00\u4e2a\u6bd4\u8f83\u5e38\u89c1\u7684\u95ee\u9898\u662f\uff1a\u6587\u7ae0\u63d2\u56fe\u592a\u5bbd\uff0c\u4f7f\u6574\u4e2a\u7f51\u9875\u90fd\u53d8\u5f62\u4e86\u3002\u5982\u679c\u5bf9\u6bcf\u4e2a\u63d2\u56fe\u90fd\u5148\u8fdb\u884c\u7f29\u653e\u518d\u63d2\u5165\u7684\u8bdd\uff0c\u592a\u9ebb\u70e6\u4e86\u3002 \u6211\u524d\u6bb5\u65f6\u95f4\u5199\u7684\u4e00\u7bc7\u6587\u7ae0\u5c31\u9047\u5230\u8fc7\u8fd9\u79cd\u4e8b\u60c5\uff0c\u540e\u6765\u7528CSS\u7684overflow\u548cmax-width\u5c5e\u6027\u6682\u65f6\u89e3\u51b3\u4e86\u9875\u9762\u53d8&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=600"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":66449,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/600\/revisions\/66449"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=600"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}