#cssminifier{background:#ecf0f1;position:relative;display:block;clear:both;border-radius:5px;padding:20px;border:1px solid rgba(0,0,0,0.05)} #cssminifier textarea{width:90%;height:240px;margin:0 auto;display:block;background-color:#fff;padding:20px;font:normal 13px ‘Courier New’,Monospace;border:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,0.05);border-radius:5px 5px 0 0;resize:none} textarea:focus{background-color:#FFF;color:#303030} #cssminifier .box{margin:10px auto 30px;color:rgba(255,2255,255,.6);} #cssminifier .box p{margin:0 0 2px} #cssminifier button{cursor:pointer;} #cssminifier .col{width:48%;margin:0 auto 30px} #cssminifier .left{float:left;margin-left:1%} #cssminifier .right{float:right;margin-right:1%} #cssminifier .button-group{background:#2980b9;text-align:center;padding:20px 20px 40px 20px;margin:0;border-radius:0 0 5px 5px} #cssminifier button,#cssminifier button[disabled]:active{background:rgba(255,255,255,0.2);text-align:center;color:#fefefe;display:inline-block;padding:6px 12px;font-size:14px;font-weight:400;line-height:1.471;border-radius:4px;margin:0 5px;border:0;transition:all .1s} #cssminifier button:hover,#cssminifier button:active{background:#fff;color:#2980b9} #cssminifier button[disabled],#cssminifier button[disabled]:active{background:#fff;} #cssminifier .opt1,#cssminifier .opt2,#cssminifier .opt3,#cssminifier .opt4,#cssminifier .opt5{display:inline-block;margin:0 0 0 10px;vertical-align:middle;border:none;outline:none} #cssminifier br{display:none}

Strip all comments Super compact Keep indentation Remove the last semicolon

Compress CSS Clear Field Select All

function get(e){return document.getElementById(e)}function highlightCode(e){if(hc.checked){var a=e.innerHTML;a=a.replace(/{([sS]+?)}/g,function(e){return e.replace(/'(.*?)’/g,”‘$1’“).replace(/”(.*?)”/g,”“$1”“).replace(/({|n|;)?(.[^{]*?):(.[^{]*?)(;|})/g,”$1$2:$3$4″).replace(/{/g,”{“)}),a=a.replace(/”),highlightCode(hr)}function clearField(e){var a=get(e);a.value=””,a.focus()}function selectAll(e){get(e).focus(),get(e).select()}var hc=get(“highlightCode”),sa=get(“stripAllComment”),sc=get(“superCompact”),cm=get(“keepLastComma”),bi=get(“betterIndentation”),bs=get(“breakSelector”),tt=get(“toTab”),to=get(“tabOpt”).getElementsByTagName(“input”),sb=get(“spaceBetween”),ip=get(“inlineSingleProp”),rs=get(“removeLastSemicolon”),il=get(“inlineLayout”),si=get(“singleBreak”),hr=get(“highlightedResult”),rt=document.getElementsByTagName(“h2”)[1];

$(window).load(function() { $(‘#mbt-c’).flexslider({ animation: “slide”, directionNav: false, itemWidth: 120, itemMargin: 25, touch: true, slideshowSpeed: 5500, pauseOnHover: true, animationSpeed: 700, }); });

Templates

    //################### Defaults var ListBlogLink = “http://obhiabablog.com.ng”; var ListCount = 9; var ListLabel = “Templates”; var TitleCount = 66; var ImageSize = 150; //################### Function Start function mbtcarousel(json) { for (var i = 0; i < ListCount; i++) { //################### Variables Declared var listing= ListImage = ListUrl = ListTitle = ListImage = ListContent = ListConten = ListAuthor = ListTag = ListDate = ListUpdate = ListComments = thumbUrl = TotalPosts = sk = AuthorPic= ListMonth = Y = D = M = m = YY = DD = MM = mm = TT = ""; //################### Category if (json.feed.entry[i].category != null) { for (var k = 0; k < json.feed.entry[i].category.length; k++) { ListTag += "“+json.feed.entry[i].category[k].term+”“; if(k < json.feed.entry[i].category.length-1) { ListTag += " ";} } } //################### URL for (var j = 0; j < json.feed.entry[i].link.length; j++) { if (json.feed.entry[i].link[j].rel == 'alternate') { break; } } ListUrl= "'" + json.feed.entry[i].link[j].href + "'"; //################### Info TotalPosts = json.feed.openSearch$totalResults.$t; if (json.feed.entry[i].title!= null) { ListTitle= json.feed.entry[i].title.$t.substr(0, TitleCount); } if (json.feed.entry[i].thr$total) { ListComments= "“+json.feed.entry[i].thr$total.$t+”“; } ListAuthor= json.feed.entry[i].author[0].name.$t.split(” “); ListAuthor=ListAuthor.slice(0, 1).join(” “); AuthorPic = json.feed.entry[i].author[0].gd$image.src; //################### Date Format ListMonth= [“Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”, “Sep”, “Oct”, “Nov”, “Dec”]; ListDate= json.feed.entry[i].published.$t.substring(0,10); Y = ListDate.substring(0, 4); m = ListDate.substring(5, 7); D = ListDate.substring(8, 10); M = ListMonth[parseInt(m – 1)]; ListUpdate= json.feed.entry[i].updated.$t.substring(0, 16); YY = ListUpdate.substring(0, 4); mm = ListUpdate.substring(5, 7); DD = ListUpdate.substring(8, 10); TT = ListUpdate.substring(11, 16); MM = ListMonth[parseInt(mm – 1)]; //################### Thumbnail Check if (json.feed.entry[i].media$thumbnail!=null) { thumbUrl = json.feed.entry[i].media$thumbnail.url; sk= thumbUrl.replace(“/s72-c/”,”/s”+ImageSize+”/”); ListImage= “‘” + sk.replace(“?imgmax=800″,””) + “‘”; } // YouTube scan else if (json.feed.entry[i].content.$t.match(/youtube.com.*(?v=|/embed/)(.{11})/) != null) { var youtube_id = json.feed.entry[i].content.$t.match(/youtube.com.*(?v=|/embed/)(.{11})/).pop(); if (youtube_id.length == 11) { var ListImage = “‘//img.youtube.com/vi/”+youtube_id+”/0.jpg'”; } } else if (json.feed.entry[i].content.$t.match(/src=(.+?[.jpg|.gif|.png]”)/) != null) { // Support For 3rd Party Images ListImage = json.feed.entry[i].content.$t.match(/src=(.+?[.jpg|.gif|.png]”)/)[1]; } else { ListImage= “‘http://4.bp.blogspot.com/-HALLtgFeep0/VfryhQ0C5oI/AAAAAAAAPcY/77mSGND4q84/s200/Icon.png'”; } //################### Printing List var listing = “

  • ” +ListTitle+ “

    ” +ListAuthor+ “” +ListComments + “

    ” + D + “
    ” + M + “

  • “; document.write(listing); } } document.write(“”);