728x90 AdSpace

Latest News

Powered by Blogger.

Slider

Recent Post

Random Post

Games

time in milliseconds || "onload") sortAlphabetically: true, // `false` to sort posts by date showNew: false, // `false` to hide the "New!" mark in most recent posts, or define how many recent posts are to be marked newText: " - Baru!" // HTML for the "New!" text }; for (var i in tabbedTOC_defaults) { tabbedTOC_defaults[i] = (typeof(tabbedTOC[i]) !== undefined && typeof(tabbedTOC[i]) !== 'undefined') ? tabbedTOC[i] : tabbedTOC_defaults[i]; } function clickTab(pos) { var a = document.getElementById(tabbedTOC_defaults.containerId), b = a.getElementsByTagName('ol'), c = a.getElementsByTagName('ul')[0], d = c.getElementsByTagName('a'); for (var t = 0; t < b.length; t++) { b[t].style.display = "none"; b[parseInt(pos, 10)].style.display = "block"; } for (var u = 0; u < d.length; u++) { d[u].className = ""; d[parseInt(pos, 10)].className = "active-tab"; } } function showTabs(json) { var total = parseInt(json.feed.openSearch$totalResults.$t,10), c = tabbedTOC_defaults, entry = json.feed.entry, category = json.feed.category, skeleton = "", newPosts = []; for (var g = 0; g < (c.showNew === true ? 5 : c.showNew); g++) { if (g == entry.length) break; entry[g].title.$t = entry[g].title.$t + (c.showNew !== false ? c.newText : ''); } entry = c.sortAlphabetically ? entry.sort(function(a,b) { return (a.title.$t.localeCompare(b.title.$t)); }) : entry; category = c.sortAlphabetically ? category.sort(function(a,b) { return (a.term.localeCompare(b.term)); }) : category; // Build the tabs skeleton skeleton = ''; // Bulid the tabs contents skeleton skeleton += '
'; for (var i = 0, cnt = category.length; i < cnt; i++) { skeleton += '/g," ").replace(/<.*?>/g,"").replace(/[<>]/g,"").substring(0,c.numChars) + '…' : '', // Get the post summary img = ("media$thumbnail" in entries && c.showThumbnails === true) ? '' : '', // Get the post thumbnail cat = (entries.category) ? entries.category : [], // Post categories date = (c.showDates) ? '' : ''; // Formated published date for (var k = 0; k < entries.link.length; k++) { if (entries.link[k].rel == 'alternate') { link = entries.link[k].href; // Get the post URL break; } } for (var l = 0, check = cat.length; l < check; l++) { var target = (c.newTabLink) ? ' target="_blank"' : ''; // Open link in new window? // Write the list skeleton only if at least one of the post... // ... has the same category term with one of the current categories term list if (cat[l].term == category[i].term) { skeleton += '' + title + date + ''; skeleton += (c.showSummaries) ? '' + img + summary + '' : ''; skeleton += ''; } } } skeleton += ''; } skeleton += '
'; skeleton += '
'; document.getElementById(c.containerId).innerHTML = skeleton; clickTab(c.activeTab-1); } (function() { var h = document.getElementsByTagName('head')[0], s = document.createElement('script'); s.type = 'text/javascript'; s.src = tabbedTOC_defaults.blogUrl + '/feeds/posts/summary?alt=json-in-script&max-results=' + tabbedTOC_defaults.maxResults + '&orderby=published&callback=showTabs'; if (tabbedTOC_defaults.preload !== "onload") { setTimeout(function() { h.appendChild(s); }, tabbedTOC_defaults.preload); } else { window.onload = function() { h.appendChild(s); }; } })();?max-results=7">View All

Technology

View All

Music

View All

Fashion

View All

Pictures

View All

Scroll to Top