<script>$(function () { var content = $(.refs).html(); var more = true; //限制字符個(gè)數(shù) var hide = function () { $(.refs).each(function () { var maxheight = 120; if ($(this).text().length > maxheight) { $(this).text($(this).text().substring(0, maxheight)); $(this).html($(this).html() + '...'); more = true; $('.more').html(查看更多); } else { $('.more').hide(); } }); }; hide(); $('.more').click(function () { if (more) { $(.refs).html(content); $(this).html(收起); more = false; } else { hide(); } }); })cript>
3-32-9
柯伊利素-7-O-葡萄糖苷(Chrysoeriol-7-O-β-D-glucopyranoside;Thermopsoside)
CAS: 3-32-9
化學(xué)式: C22H22O11