blue

Miễn phí kiểm tra

Miễn phí kiểm tra
Dễ dàng quản trị

activeRighta

code

//<![CDATA[
function section(blogId){
var section=$('.section');var blogIdC=blog.blogId;
if(blogId!=undefined){blogIdC=blogId;}
$('.set').hide();
    section.each(function(){
var cache='';

if($(this).find(".widget").length==0){cache='<div class="set col-md-12 col-xs-12 " style="height:20px;"></div>';}

cache+='<div class="set widget-item-control  settingButton" style="    z-index: 9999999999;top: 20px;"><div class="">';
    cache+='<a data-toggle="tooltip" title="section '+$(this).attr('id')+'" style="color: red;" href="https://www.blogger.com/choose-gadget?blogID='+blogIdC+'&action=chooseWidget&sectionId='+$(this).attr('id')+'&widgetType=nullid" target="_blank">'+'<i class="fa fa-plus"></i></a>';
cache+="</div></div>";

$(this).append(cache);
cache='';
//define widget
})
var widget=$('.widget');
 /* widget.each(function(){
var cache='';cache='<div class="set col-md-12 col-xs-12 " style="height:20px;"></div>';
cache+='<div class="set   settingButton" style="position: absolute; z-index: 9999999999;  right: 0px;"><div class="">';
    cache+='<a data-toggle="tooltip" title="'+section.has('#'+$(this).attr('id')).find('.title').html()+' style="color: red;" href="https://www.blogger.com/rearrange?blogID='+blogIdC+'&action=editWidget&sectionId='+section.has('#'+$(this).attr('id')).attr('id')+'&widgetType='+$(this).attr('id').replace(/[0-9]/g,'')+'&widgetId='+$(this).attr('id')+'" target="_blank">'+'<i class="fa fa-pencil"></i></a>';
cache+="</div></div>";
$(this).append(cache);

})
*/
    }



<script>
var allAdminCode=&#39;&#39;;var allAdminCodeN=0;
$(document).keypress(function(event){
        allAdminCode+= event.key;
   if(allAdminCode.indexOf(blog.adminShow)&gt;-1){
if(allAdminCodeN==0)section();++allAdminCodeN;
       $(&#39;.set&#39;).show();
       allAdminCode=&#39;&#39;;
       }
   if(allAdminCode.indexOf(blog.adminHide)&gt;-1){
       $(&#39;.set&#39;).hide();
       allAdminCode=&#39;&#39;;
       }
});
</script>