SHARE
TWEET

Tech-Tweak

a guest Dec 18th, 2009 379 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script src='http://wave-api.appspot.com/public/embed.js' type='text/javascript'></script>
  2. <script type='text/javascript'>
  3. /*
  4.     Embed Google Wave Script v2.0  
  5.     Re-writen by: Jayson Ragasa, Baguio City, Phillipines
  6.    
  7.     Original Version (V1.0) from Mr Embeddy: embeddy@appspot.com
  8. */
  9. var div = document.getElementsByTagName('div');
  10. /*
  11.     If you're going to use this script in Blogger, make sure the "<" (lesser-than) sign in "for (var i = 0; i < div.length; i++)"
  12.     is converted to &lt;
  13. */
  14. for (var i = 0; i < div.length; i++) {
  15. if( div[i].id.substr(0, 5) == 'wave_' ) {
  16.  var id = div[i].id.substr(5, div[i].id.length-5);
  17.  
  18.  var wave = new WavePanel('https://wave.google.com/wave/');
  19.  wave.setUIConfig('white', 'black', 'Arial', '13px');
  20.  wave.loadWave('googlewave.com!w+' + id);
  21.  wave.init(document.getElementById(div[i].id));
  22. }
  23. }
  24. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top