Code mục:
<b:widget id='id thu muc' locked='false' title='Ten thu muc' type='HTML' version='1'>
<b:widget-settings>
<b:widget-setting name='content'>Ten nhan</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<div class='recent-posts-titles'><h2><span><data:title/></span></h2><ul class='header-action-link'>
<li class='action-link hidden-480'>
<a href='/search/label/Ten nhan?&amp;max-results=8'>See all posts<i aria-hidden='true' class='fa fa-angle-right'/></a>
</li>
</ul></div>
</b:if>
<div class='widget-content'>
<div class='news_pictures'>
<ul class='news_pictures_list'>
<script>
document.write("<script src=\"/feeds/posts/default/-/<data:content/>?orderby=published&alt=json-in-script&callback=mythumbn1\"><\/script>");
</script>
</ul>
</div>
</div>
</b:includable>
</b:widget>
Code nút thu gọn:
<center><div> <input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Thu Gọn'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Nội Dung'; }" style="font-size:16px;background:#87CEFA;color:white; padding: 5px; border-radius:17px;" type="button" value="Nội Dung" /></div><div><div style="display: none;border:0px solid black;width:580px;max-height:400px;overflow:auto;background:#E8EAE8;text-align:left;padding:10px;">
Nội dung!!!
</div></div></center>
<b:widget id='id thu muc' locked='false' title='Ten thu muc' type='HTML' version='1'>
<b:widget-settings>
<b:widget-setting name='content'>Ten nhan</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<div class='recent-posts-titles'><h2><span><data:title/></span></h2><ul class='header-action-link'>
<li class='action-link hidden-480'>
<a href='/search/label/Ten nhan?&amp;max-results=8'>See all posts<i aria-hidden='true' class='fa fa-angle-right'/></a>
</li>
</ul></div>
</b:if>
<div class='widget-content'>
<div class='news_pictures'>
<ul class='news_pictures_list'>
<script>
document.write("<script src=\"/feeds/posts/default/-/<data:content/>?orderby=published&alt=json-in-script&callback=mythumbn1\"><\/script>");
</script>
</ul>
</div>
</div>
</b:includable>
</b:widget>
Code nút thu gọn:
<center><div> <input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Thu Gọn'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Nội Dung'; }" style="font-size:16px;background:#87CEFA;color:white; padding: 5px; border-radius:17px;" type="button" value="Nội Dung" /></div><div><div style="display: none;border:0px solid black;width:580px;max-height:400px;overflow:auto;background:#E8EAE8;text-align:left;padding:10px;">
Nội dung!!!
</div></div></center>
Code
4/
5
By
Depiaka
