global variable

Minggu, 29 Januari 2012

Bikin Widget Followers Sendiri

· 0 komentar
Yang paling penting disini Site ID dari Google friend connct. Site ID ini bisa elo dapet dari google.com/friendconnect/, caranya..

Hasilnya..
http://www.google.com/friendconnect/admin/site/overview?id=05313148485985746336
Site ID ini disimpen di Tampilan Tombol onclick="sowPolowerWer('05313148485985746336')"
Coba deh..
Show followers
Load friendconnect.js
<script type="text/javascript">
if(!document.getElementById('fb-root')){document.write('<div id="fb-root"></div>')}

function loadFriendConnectJs(){
  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);
  }
}

loadFriendConnectJs();
</script>
Tampilan tombol
<div class="isi-mode" id="polower-wer" style="background-image:url(http://1.bp.blogspot.com/_bBL9ze_JZsw/TT_VysqlknI/AAAAAAAAAMs/OgtZMowV_m4/s1600/black50.png)">
  <center>
    <b class="uiButton" onclick="sowPolowerWer('05313148485985746336')">
      <img src="http://www.google.com/friendconnect/scs/images/googleicon.gif" style="margin-right:5px;margin-left:-3px;vertical-align:middle;"> 
      <span style="vertical-align:middle;">Show followers</span>
    </b>
  </center>
</div>
Tampilan Widget Followers
<script type="text/javascript">
function sowPolowerWer(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-wer",
     height: 16,
     site: siteId,
      locale: 'en_US' },
     skin);
}
</script>
CSS Tampilan tombol
<style type="text/css"><!--
.uiButton{
  font-family:"lucida grande",tahoma,verdana,arial,sans-serif; 
  color:#000033; 
  text-decoration:none; 
  cursor:pointer; 
  background-color:#FFFFEE; 
  background-image:url(http://www.deltechcorp.com/deltech02/brazil10/picts/menu.gif); 
  padding:3px 10px; 
  display:inline-block; 
  border:1px solid #3B5999; 
  -moz-border-radius:3px; border-radius:3px; 
  margin:1px; 
  font-size:11px;
}
.uiButton:hover, .uiButton:focus, .uiButton:active{
  color:darkred; 
  text-decoration:none; 
  border:1px solid darkred;
}
.uiButton:focus, .uiButton:active{
  background-image:none;
}
--></style>

Modif Tombol Comment Pop-up untuk Blog

· 0 komentar

Secara Default URL Blogspot Comment Pop-up itu kaya gini:
http://www.blogger.com/comment.g?blogID=5529811974956695357&postID=4684471717731621984&isPopup=true

Cara nyari blogID sama postID yang gw pake:
Di Blogspot dengan Template Standard, biasa ada..
di Bagian Head:
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.blogger.com/rsd.g?blogID=5529811974956695357" />
di Widget Blog:
<a name='4684471717731621984'></a>
Gw pake JavaScript buat ngambil yang gw butuhin dari situ:
<script type="text/javascript">

var linkHead = document.getElementsByTagName('head')[0].getElementsByTagName('link');

for(x in linkHead){
  if(linkHead[x].rel=='EditURI'){
    var IdBlog = linkHead[x].href.split('=')[1];
    break;
  }
}

var IdPostBlog = document.getElementsByClassName('post')[0].getElementsByTagName('a')[0].name;
var commentPopUpUri = 'http://www.blogger.com/comment.g?blogID='+IdBlog+'&postID='+IdPostBlog+'&isPopup=true';

//Hasilnya..
document.write('<a class="tombol-komen" href="'+commentPopUpUri+'" target="_blank">Write a Comment</a>');

//Atau untuk Pop-up window..
document.write('<a class="tombol-komen" href="javascript:void(0)" onClick="window.open(\''+commentPopUpUri+'\',\'komentar\',\'width=400,height=600,scrollbars=yes\')">Write a Comment</a>');

</script>

Untuk tampilan Tombol sebagai contoh gw pake CSS ini..
<style type="text/css">
.tombol-komen{
  display:inline-block; 
  font-family:"lucida grande",tahoma,verdana,arial,sans-serif;
  font-weight:bold; 
  font-size:11px; 
  color:white; 
  padding:1px 7px; 
  margin:0 2px;
  border:1px outset darkblue; 
  cursor:pointer; 
 -moz-border-radius:3px; 
  border-radius:3px; 
  background:#629BF0; 
}
.tombol-komen:hover, .tombol-komen:focus, .tombol-komen:active{
  border:1px outset black; 
  background:#32373C; 
  color:yellow; 
  text-decoration:none;
  outline:none;
}
</style>
Jadinya kaya gini.. Write a Comment




Buat nempatin tombol komen sesuai dengan tempat yang gw mau,
biasa gw bikin element dengan id="tempat-buat-tombol-komen"
<span id="tempat-buat-tombol-komen"></span>
Terus gw tempatin element ini dimana gw mau.
Buat ngisi element itu, gw tinggal nambahin di script yang tadi..
document.getElementById('tempat-buat-tombol-komen').innerHTML = '<a class="tombol-komen" href="javascript:void(0)" onClick="window.open(\''+commentPopUpUri+'\',\'komentar\',\'width=400,height=600,scrollbars=yes\')">Write a Comment</a>';


See Basic JavaScript How To at

Facbook TimeLine Cover

· 0 komentar


Kabita ku Abah Oding mantan tukang bubur asal cianjur yang sekarang menjabat sebagai designer bajigur :D
Memang benar seperti apa yang telah diramalkan oleh sang Master sotoshop 7.0 itu; Insya Allah deudeuieun (pengen ganti mulu dan merasa ngga puas) wkwk.. tiasaan wae siakang eta mah.

Tapi yang jadi masalah buat saya, pas pertama kali nyoba susahnya minta ampun!!. Oke sekali berhasil, tapi kan katanya tea sok deudeuieun :D, pas keduanya cape juga sih mesti ngukur-ngukur pixel satu-satu,, waduh,, pegel!
Aha..!,, untunglah ada kenalan saya yang menyarankan untuk
berobat ke kelinik cang-ciang!
,, setelah TIGA KALI berobat sekarang ... saya pake PhotoShop Actions. Emang masih ribet sih pertama bikin actions nya doang, tapi setelah jadi, actionsnya bisa dipake berulang-ulang :).
Photoshop Actions Tutorial
Membuat Action Dengan Photoshop
Download: (PhotoShop®CS2 Actions)
  1. Membuka jendela Actions: Alt+F9
  2. Buka gambar, utak-atik utak-atik,
    kalo udah kenyang, pilih action Crop pp dan play..
  3. Save ke-2 file hasilnya dengan format JPG terus Upload dah,, di-en.

Downloaders (215) More »

Created time: 22 hari kemaren

Trick Facebook Chat keren

· 0 komentar
Trick Facebook Chat keren
Copas Di bawah ini ke chat facebook

[[179756028790264]] [[131478976968398]] [[314076808615174]] [[206240339463055]] [[159403400834378]]
[[200992799990165]] [[196243973803636]] [[270956806292431]] [[346811212001437]] [[328107453874590]]
[[196721100420672]] [[317586898261340]] [[298140226892101]] [[214914048591653]] [[350101681673756]]
[[123765061073750]] [[245710415498757]] [[243298355738272]] [[138812572897166]] [[149419131833071]]
[[158310927607841]] [[310752072297702]] [[316528255036793]] [[335475163146590]] [[221503331260136]]
[[241781875890038]] [[218268384920510]] [[189509191144351]] [[302618756443499]] [[182961465135557]]
[[206151719471944]] [[223223751088260]] [[158685720904140]] [[249080145157161]] [[310957895604838]]

lalu jadi seperti ini





Mau buat foto kamu/teman kamu dichat seperti ini?


Caranya :
1. Ambil username teman kamu, contoh http://www.facebook.com/BlogLutfi
2. Ambil yg belakangnya "BlogLutfi"
3. Kemudian salin menjadi [[BlogLutfi]]
4. Lalu tulis dichat grup/teman kamu (Tidak bisa distatus/komentar)
5. Nama bisa bermacam-macam tergantung kesukaan

Ini Chat Lainnya
[[244961858909298]] = A
[[344113652270150]] = B
[[157919817645224]] = C
[[164461493653696]] = D
[[196752423751220]] = E
[[301630573215430]] = F
[[251496118250464]] = G
[[266394220086654]] = H
[[164866556948132]] = I
[[180599335371968]] = J
[[209067005843651]] = K
[[238594039545396]] = L
[[147702285338528]] = M
[[309221402452022]] = N
[[180901405340714]] = O
[[246506925416551]] = P
[[333343613344059]] = Q
[[123128367803569]] = R
[[316143388416019]] = S
[[334073456605673]] = T
[[199626093460643]] = U
[[224202614323263]] = V
[[157919817645224]] = W
[[205228226232732]] = X
[[142420399202282]] = Y
[[224202614323263]] = Z
[[243344945733611]] = Repost
[[mahochat]] = Maho
[[203443053077888]] = I Love Kaskus
[[205827876172490]] = Bingung
[[261018420628968]] = Thumbs
[[328740787138287]] = Nope
[[296027833771776]] = Capede
[[311851138846391]] = Alay
[[guengakak]] = Ngakak
[[171108522930776]] = trollface
[[foreveralonecomics]] = forever alone.
[[MegustaMeMe]] = Me Gusta.
[[149333368464171]] = Yao.
[[145768898802324]] = FUUUUUU.
[[168456309878025]] = LoL.
[[FapFapFapFap.B]] = Fap Fap Fap Fap.
[[106043532814443]] = Y U NO.
[[214457085240151]] = Nothing to do here.
[[129627277060203]] = Poker Face.
[[160723207280093]] = Are you f*cking kidding me?
[[ChallengeAceptado]] = challenge Accepted.See More.
[[yahoo]]
[[google]]
[[facebook]]
[[kaskus]]
[[amazon]]
[[youtube]]
[[googlechrome]]
[[opera]]
[[internetexplorer]]
[[flock]]
[[microsoft]]
[[microsoftword]]
[[microsoftexcel]]
[[microsoftpowerpoint]]
[[megaxus]]
[[grandchase]]
[[indovision]]
[[history]]
[[sony]]
[[nokia]]
[[telkomsel]]
[[windows]]
[[transformer]]
[[itones]]
[[photosop]]

Semoga Bermanfaat

Gimana sih Cara update status Via ap saja?

· 0 komentar












handapeunpost