Highlight

LinkWithin

RocketGarage Design. Powered by Blogger.
'); $('#menu-icon').on('click', function(){ $('#main-nav ul').slideToggle(250); }); $(window).resize(function(){ var w = $(window).width(); var navDisplay = $('#main-nav ul'); if(w > 1010 && navDisplay.is(':hidden')) { navDisplay.removeAttr('style'); } }); $('#search-icon').on('click', function(){ $('#nav-search').slideToggle(250); }); var $navFormValue = $('#main-nav #s').val(); $('#main-nav #s').blur( function(){ if(this.value.length === 0) { this.value = $navFormValue; } } ); $('#main-nav #s').focus( function(){ if(this.value === $navFormValue) { this.value = ''; } } ); $(".widget-content").each(function() { var e = $(this).text(); if (e.substr(0, 10).match("FBpage")) { e = e.replace("FBpage/", ""); $(this).html('
'); } }); $("p.trans").each(function() { var e = $(this).text(); var t = $(this).attr("data-tran"); $("#pages-wrapper *").replaceText(e, t); }); $(".index .post-outer,.archive .post-outer").each(function() { $(this).find(".block-image .thumb a").attr("style", function(e, t) { return t.replace("/default.jpg", "/mqdefault.jpg"); }).attr("style", function(e, t) { return t.replace("s72-c", "s1600"); }); }); $(this).find(".comments .avatar-image-container img").attr("src", function(e, t) { return t.replace("s35", "s50"); }); $(window).scroll(function() { if ($(this).scrollTop() > 200) { $('#back-to-top').fadeIn(); } else { $('#back-to-top').fadeOut(); } }); $('#back-to-top').hide().click(function() { $('html, body').animate({ scrollTop: 0 }, 1000); return false }); var s = "[left_sidebar]"; $(".post *").replaceText(s, ""); (function(e) { var t = e("a.newer-link"); var n = e("a.older-link"); e.get(t.attr("href"), function(n) { t.html('Next' + e(n).find(".post h1.post-title").text() + ""); }, "html"); e.get(n.attr("href"), function(t) { n.html('Previous' + e(t).find(".post h1.post-title").text() + ""); }, "html"); })(jQuery); }); //]]>
'}htmlcode+='';$('.slider-sec .HTML .widget-content').each(function(){if($(this).text().match("recent")){$(this).html(htmlcode);$(this).removeClass('widget-content').addClass('slider-content');$(".mt-posts-carousel").slick({slidesToShow:3,speed:500,variableWidth:true,centerMode:true,autoplay:true,autoplaySpeed:5000,prevArrow:'',nextArrow:'',customPaging:function(slider,i){return''},responsive:[{breakpoint:768,settings:{centerPadding:0,centerMode:true,slidesToShow:2,variableWidth:true}},{breakpoint:641,settings:{centerPadding:0,centerMode:false,slidesToShow:1,variableWidth:false}}]});$(this).find('.rcp-thumb').each(function(){$(this).attr('style',function(i,src){return src.replace('/default.jpg','/mqdefault.jpg')}).attr('style',function(i,src){return src.replace('s72-c','s1600')})});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})}})}})}})}else{$.ajax({url:"/feeds/posts/default/-/"+text+"?alt=json-in-script&max-results="+slider_no,type:"get",dataType:"jsonp",success:function(data){var posturl="";var htmlcode='';$('.slider-sec .HTML .widget-content').each(function(){$(this).html(htmlcode);$(this).removeClass('widget-content').addClass('slider-content');$(".mt-posts-carousel").slick({slidesToShow:3,speed:500,variableWidth:true,centerMode:true,autoplay:true,autoplaySpeed:5000,prevArrow:'',nextArrow:'',customPaging:function(slider,i){return''},responsive:[{breakpoint:768,settings:{centerPadding:0,centerMode:true,slidesToShow:2,variableWidth:true}},{breakpoint:641,settings:{centerPadding:0,centerMode:false,slidesToShow:1,variableWidth:false}}]});$(this).find('.rcp-thumb').each(function(){$(this).attr('style',function(i,src){return src.replace('/default.jpg','/mqdefault.jpg')}).attr('style',function(i,src){return src.replace('s72-c','s1600')})});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})})}})}})});$(document).ready(function(){$(".ticker .HTML .widget-content").each(function(){var tickerTag=$(this).text();if(tickerTag.match("recent")){$.ajax({url:"/feeds/posts/default?alt=json-in-script&max-results="+ticker_number,type:"get",dataType:"jsonp",success:function(data){var posturl="";var htmlcode='
'}htmlcode+='
';$(".ticker .HTML .widget-content").each(function(){$(this).html(htmlcode);$(this).removeClass('widget-content').addClass('layout-content');$(".news-feed").addClass('actived');$(".news-feed-carousel").css('height','auto').slick({vertical:true,adaptiveHeight:true,autoplay:false,autoplaySpeed:4000,prevArrow:'',nextArrow:'',responsive:[{breakpoint:479,settings:{verticalSwiping:true,}}]});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})})}})}else{$.ajax({url:"/feeds/posts/default/-/"+tickerTag+"?alt=json-in-script&max-results="+ticker_number,type:"get",dataType:"jsonp",success:function(data){var posturl="";var htmlcode='
'}htmlcode+='
';$(".ticker .HTML .widget-content").each(function(){$(this).html(htmlcode);$(this).removeClass('widget-content').addClass('layout-content');$(".news-feed").addClass('actived');$(".news-feed-carousel").css('height','auto').slick({vertical:true,adaptiveHeight:true,autoplay:false,autoplaySpeed:4000,prevArrow:'',nextArrow:'',responsive:[{breakpoint:479,settings:{verticalSwiping:true,}}]});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})})}})}})});$(".feat-sec .HTML .widget-content").each(function(){var ideas=$(this).text();$.ajax({url:"/feeds/posts/default/-/"+ideas+"?alt=json-in-script&max-results=2",type:"get",dataType:"jsonp",success:function(data){var posturl="";var htmlcode='
';for(var i=0;i').html(content);if(content.indexOf("http://www.youtube.com/embed/")>-1||content.indexOf("https://www.youtube.com/embed/")>-1){var src2=data.feed.entry[i].media$thumbnail.url;var thumb=''}else if(content.indexOf("-1){var src=$content.find('img:first').attr('src');var thumb=''}else{var thumb=''}htmlcode+='
'+thumb+'

'+posttitle+'

'}htmlcode+='
';$(".feat-sec .HTML .widget-content").each(function(){var text=$(this).text();if(text==ideas){$(this).html(htmlcode);$(this).removeClass('widget-content').addClass('feat-content');$(this).find('.feat-img').each(function(){$(this).attr('style',function(i,src){return src.replace('/default.jpg','/mqdefault.jpg')}).attr('style',function(i,src){return src.replace('s72-c','s1600')})});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})}})}})});$(document).ready(function(){$('.ready-widget .HTML .widget-content').each(function(){var text=$(this).text();if(text.match("recentposts")){$.ajax({url:"/feeds/posts/default?alt=json-in-script",type:'get',dataType:"jsonp",success:function(datax){$.ajax({url:"/feeds/posts/default?alt=json-in-script&max-results="+widgetrecent_number,type:'get',dataType:"jsonp",success:function(data){var posturl="";var htmlcode='
';$('.ready-widget .HTML .widget-content').each(function(){var text=$(this).text();if($(this).text().match("recentposts")){$(this).html(htmlcode);$(this).find('.rcp-thumb').each(function(){$(this).attr('style',function(i,src){return src.replace('/default.jpg','/mqdefault.jpg')}).attr('style',function(i,src){return src.replace('s72-c','s1600')})});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})}})}})}})}});$(".ready-widget .HTML .widget-content").each(function(){var tagwidget=$(this).text();$.ajax({url:"/feeds/posts/default/-/"+tagwidget+"?alt=json-in-script&max-results="+widgetlabel_number,type:"get",dataType:"jsonp",success:function(data){var posturl="";var htmlcode='
';$(".ready-widget .HTML .widget-content").each(function(){var text=$(this).text();if(text==tagwidget){$(this).html(htmlcode);$(this).removeClass('widget-content').addClass('feat-content');$(this).find('.feat-img').each(function(){$(this).attr('style',function(i,src){return src.replace('/default.jpg','/mqdefault.jpg')}).attr('style',function(i,src){return src.replace('s72-c','s1600')})});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})}})}})})});$("#related-posts").each(function(){var g=$(this).html();$.ajax({url:"/feeds/posts/default/-/"+g+"?alt=json-in-script&max-results="+related_number,type:'get',dataType:"jsonp",success:function(data){var posturl="";var htmlcode='
';$("#related-posts").html(htmlcode);$('.related-img').each(function(){$(this).attr('style',function(i,src){return src.replace('/default.jpg','/mqdefault.jpg')}).attr('style',function(i,src){return src.replace('s72-c','s1600')})});$("p.trans").each(function(){var e=$(this).text();var t=$(this).attr("data-tran");$("#pages-wrapper *").replaceText(e,t)})}})}); //]]>
google.com, pub-5748596377744039, DIRECT, f08c47fec0942fa0