[̲̅̅A̲̅][̲̅̅R̲̅][̲̅̅I̲̅]][̲̅̅P̲̅]
Cari Blog Ini
NavBar
global variable
Minggu, 15 April 2012
Facebook Publisher (Status, Image, Mp3)
Facebook Publisher (Status, Image, Mp3)
Diposting oleh
Muhammad Syarif (Arip)
di
22.10
·
Application ID:
Media Type:
None (Update Status)
Image
Mp3
Image URL:
Image Link to:
Preview
:
Mp3 URL:
Artist:
Title:
Preview
:
<style type="text/css"> div#facebook-publisher, div#cr { font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; font-size: 12px; color: darkgreen; overflow-x: auto; background-color: transparent; background-image: url(http://www.berniaga.com/img/bg-spiral_3D.gif); background-repeat: repeat-y; background-position: top left; padding: 10px 10px 0px 30px; width:463px; border: 1px outset black; -moz-border-radius: 0px 5px 5px 0px; border-radius: 0px 5px 5px 0px; } div#facebook-publisher input, div#facebook-publisher select, div#facebook-publisher textarea { font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; font-size: 12px; border:none; vertical-align:middle; color: darkred; } input.button, div#facebook-publisher input.button { background-color: #617AAC; background-image: url(http://2.bp.blogspot.com/_bBL9ze_JZsw/TTkfFTP1LiI/AAAAAAAAALM/88pCEE5Ck0M/s1600/rock.gif); background-repeat: no-repeat; background-position: 4px 2px; color: #FFFFFF; font-weight: bold; border: 1px outset #29447E; -moz-border-radius: 5px; border-radius: 5px; padding:2px 7px 2px 20px; font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; cursor: pointer; margin-top:5px; } input.button:hover, div#facebook-publisher input.button:hover { background-color: #011A4C; color: yellow; } </style> <div id="facebook-publisher"> <dl> <dt>Application ID: <input type="text" id="appid" value="113592805363078" onClick="this.select()" style="width:125px;"/></dt> <dt>Media Type: <select id="media-type"><option value="none" selected="selected" onClick="tutupKabeh()">None (Update Status)</option><option value="image" onClick="bukaImej()">Image</option><option value="mp3" onClick="bukaMp3()">Mp3</option></select></dt> <dd id="attachment-image" style="margin-top:5px; display:none;"> Image URL: <br/> <input type="text" id="src-image" value="http://24.83.192.246:12480/status_emotions/images/emotions1/11.png" onClick="this.select()" onChange="rilodImej()" style="width:420px; margin-bottom:5px;"/> <br/> Image Link to: <br/> <input type="text" id="href-image" value="http://butterflyiskupu-kupu.blogspot.com/2011/01/facebook-publisher.html" onClick="this.select()" style="width:420px; margin-bottom:5px;"/> <br/> <i>Preview</i>: <br/> <table border="0" cellpadding="0" cellspacing="0"><tr><td style="vertical-align:top;"> <img id="imej-preview" src="http://24.83.192.246:12480/status_emotions/images/emotions1/11.png" style="border:none; padding:0; max-width:90px;"/> </td><td style="vertical-align:top;"> <input type="text" id="name-image" value="" onClick="this.select()" style="width:330px; margin-bottom:5px; font-weight:bold; color:#333333;"/> <br/> <textarea id="desc-image" onClick="this.select()" style="width:330px; margin-bottom:5px; font-size:10px; color:#666666; height:60px;"></textarea> <br/> </td></tr></table> </dd> <dd id="attachment-mp3" style="margin-top:5px; display:none;"> Mp3 URL: <br/> <input type="text" id="src-mp3" value="http://www.weebly.com/uploads/6/6/3/5/6635530/kerispatih__-_aku_harus_jujur_.mp3" onClick="this.select()" onChange="rilodMp3()" style="width:420px; margin-bottom:5px;"/> <br/> Artist: <br/> <input type="text" id="artist-mp3" value="Kerispatih" onClick="this.select()" style="width:420px; margin-bottom:5px;"/> <br/> Title: <br/> <input type="text" id="title-mp3" value="Aku Harus Jujur" onClick="this.select()" style="width:420px; margin-bottom:5px;"/> <br/> <i>Preview</i>: <br/> <table border="0" cellpadding="0" cellspacing="0"><tr> <embed id="mp3-preview" src="http://beemp3.com/player/player.swf?soundFile=http://www.weebly.com/uploads/6/6/3/5/6635530/kerispatih__-_aku_harus_jujur_.mp3" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" height="24" width="290" style="vertical-align:middle;"/> </tr><tr> <textarea id="desc-mp3" onClick="this.select()" style="width:420px; margin-bottom:5px; font-size:10px; color:#666666; height:60px;"></textarea> <br/> </tr></table> </dd> <dt style="text-align:right;"><input class="button" type="button" value="Rock On!" onClick="rockOn()"/></dt> </dl> </div> <script type="text/javascript"> function tutupKabeh(){ document.getElementById('attachment-image').style.display='none'; document.getElementById('attachment-mp3').style.display='none'; } document.write('<div id="cr" style="text-align:right; color:#999999; border:none; padding:0; background:none; fobt-size:10px; width:495px;"><small><i>Script By:</i></small> <a href="http://butterflyiskupu-kupu.blogspot.com/" style="text-decoration:none; color:#999999">ⒷⓊⓉⓉⒺⓇⒻⓁⓎ</a></div>'); function bukaImej(){ document.getElementById('attachment-image').style.display='block'; document.getElementById('attachment-mp3').style.display='none'; } function bukaMp3(){ document.getElementById('attachment-image').style.display='none'; document.getElementById('attachment-mp3').style.display='block'; } function rilodImej(){ if(document.getElementById('src-image').value == ''){var rilodImejSrc = 'http://t0.gstatic.com/images?q=tbn:ANd9GcQmN4PHHITnqPJLcxgupWbwpn_ZQnK34CpvI8xY4xRmpy3cIfIpDQ'}else{var rilodImejSrc = document.getElementById('src-image').value} document.getElementById('imej-preview').src = rilodImejSrc; } function rilodMp3(){ if(document.getElementById('src-mp3').value == ''){var rilodMp3Src = 'http://beemp3.com/player/player.swf?soundFile=http://sekretfsb.narod.ru/100.5fm/static-x_-_cold.mp3'}else{var rilodMp3Src = 'http://beemp3.com/player/player.swf?soundFile=' +document.getElementById('src-mp3').value} document.getElementById('mp3-preview').src = rilodMp3Src; document.getElementById('artist-mp3').value = ''; document.getElementById('title-mp3').value = ''; } function rockOn(){ if(document.getElementById('appid').value == ''){var appID = 'api_key=113592805363078';}else{var appID = 'api_key=' +document.getElementById('appid').value;} if(document.getElementById('media-type').value == 'none'){var mediaType = ''; }else if(document.getElementById('media-type').value == 'image'){ if(document.getElementById('src-image').value == ''){var imejSrc = 'http://t0.gstatic.com/images?q=tbn:ANd9GcQmN4PHHITnqPJLcxgupWbwpn_ZQnK34CpvI8xY4xRmpy3cIfIpDQ'}else{var imejSrc = document.getElementById('src-image').value} if(document.getElementById('href-image').value == ''){var imejHref = 'http://butterflyiskupu-kupu.blogspot.com/2011/01/facebook-publisher.html'}else{var imejHref = document.getElementById('href-image').value} var mediaType = '&attachment={"name":"' +document.getElementById('name-image').value+ '","description": "' +document.getElementById('desc-image').value+ '","media": [{"type": "image","src": "' +imejSrc+ '", "href": "' +imejHref+ '"}]}'; }else if(document.getElementById('media-type').value == 'mp3'){ if(document.getElementById('src-mp3').value == ''){var mp3Src = 'http://sekretfsb.narod.ru/100.5fm/static-x_-_cold.mp3'; var mp3Artist = 'Static-x'; var mp3Title = 'Cold'}else{var mp3Src = document.getElementById('src-mp3').value; var mp3Artist = document.getElementById('artist-mp3').value; var mp3Title = document.getElementById('title-mp3').value} var mediaType = '&attachment={"description": "' +document.getElementById('desc-mp3').value+ '","media": [{"type": "mp3","src": "' +mp3Src+ '","artist": "' +mp3Artist+ '","title": "' +mp3Title+ '","album": "Butterfly"}]}'; } var shareUri = 'http://www.facebook.com/connect/prompt_feed.php?'; window.open(shareUri+appID+mediaType,'gila','width=600, height=200'); } function getCode(){ window.open('http://www.blogger.com/follow-blog.g?blogID=6972832754762155730','polow','width=600,height=600'); document.getElementById('dCode').style.display='block'; } </script>
Tidak ada komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
handapeunpost
Tidak ada komentar:
Posting Komentar