/* ウィジェットにクラスを追加 ========================================================================== */ $(function() { $(".widget_nav_menu div, .widget_categories, .widget_pages").addClass("vertical-navi--large"); $(".widget_recent_entries, .widget_recent_comments, .widget_archive, .widget_meta").addClass("vertical-navi--medium"); }); /* ソーシャルボタンを追加 ========================================================================== */ $(function() { //twitter jQuery(".sb-tweet").append('ツイート'); !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs'); //b.hatena jQuery(".sb-hatebu").append('このエントリーをはてなブックマークに追加'); //g-plus jQuery(".sb-gplus").append('
'); window.___gcfg = {lang: 'ja'}; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/platform.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); //facebook (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.async = true; js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1&appId="; //appIdを追加 fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); jQuery(".sb-fb-like").append('
'); }); /* 追尾型広告ウィジェット ========================================================================== */ jQuery(function(){ $('div.fixed_sidebar-wrapper').exFlexFixed({ container : 'div.l-container', watchPosition : true }); $(this).prop('disabled',true) });