Skip to content

Instantly share code, notes, and snippets.

@sayham-sjb
Last active January 25, 2018 16:35
Show Gist options
  • Save sayham-sjb/78d2742aa69e6060d4163d004fe328ef to your computer and use it in GitHub Desktop.
Save sayham-sjb/78d2742aa69e6060d4163d004fe328ef to your computer and use it in GitHub Desktop.
ListAllFiles #js #VS
<script type="text/javascript">
function loadtoc(e){!function(){if("entry"in e.feed){var t=e.feed.entry.length;numberfeed=t,ii=0;for(var r=0;r<t;r++){for(var n,o=e.feed.entry[r],a=o.title.$t,s=o.published.$t.substring(0,10),i=o.published.$t.substring(5,7),l=o.published.$t.substring(8,10),p=month2[parseInt(i,10)-1]+" "+o.published.$t.substring(0,4),u="/"+o.published.$t.substring(0,4)+"_"+i+"_01_archive.html",h=0;h<o.link.length;h++)if("alternate"==o.link[h].rel){n=o.link[h].href;break}for(h=0;h<o.link.length;h++)if("enclosure"==o.link[h].rel){o.link[h].href;break}postTitle.push(a),postDate.push(s),postUrl.push(n),postYearMonth.push(p),postYearMonth2.push(u),postTanggal.push(l)}}}(),displayToc2(),
document.write('<br/><a href="http://feeds2.feedburner.com/virtualspecies" target="_Blank" style="font-size: 10pt; text-decoration:none; color: lightslategray; float:right;border:1pt solid darkolivegreen;padding:5px;border-radius:5px;">Subscribe to RSS Feed.</a></br/>')}function displayToc2(){for(var e=0,t=0;t<postTitle.length;){temp1=postYearMonth[t],document.write("<p/>"),document.write('<p style="box-shadow:0 2px 2px -2px #2F4F4F;"><a style="color: #2F4F4F;font-size:12pt; padding:2px;/*box-shadow:0 0 5px #ff0000;border-radius:3px;*/" href="'+postYearMonth2[t]+'">'+temp1+"</a></p><ul>"),firsti=e;do{document.write(" <li>"),document.write('<span style="color:#2F4F4F">['+postTanggal[e]+'] </span><a href="'+postUrl[e]+'">'+postTitle[e]+"</a>"),
document.write("</li>"),e+=1}while(postYearMonth[e]==temp1);if(t=e,document.write("</ul>"),t>postTitle.length)break}}var postTitle=new Array,postUrl=new Array,postMp3=new Array,postDate=new Array,postYear=new Array,postMonth=new Array,postYearMonth=new Array,postYearMonth2=new Array,postTanggal=new Array,postLabels=new Array,postBaru=new Array,sortBy="titleasc",tocLoaded=!1,numChars=250,postFilter="",numberfeed=0,month2=["January","February","March","April","May","June","July","August","September","October","November","December"];
</script>
<script src="http://www.virtualspecies.com/feeds/posts/default?max-results=500&amp;alt=json-in-script&amp;callback=loadtoc"></script><style>.post-footer-line post-footer-line-1, .post-footer-line post-footer-line-2, .post-footer-line post-footer-line-3, .comments{visibility: Hidden;}</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment