Wave Test: Difference between revisions

From Wiki**3

No edit summary
No edit summary
Line 4: Line 4:
     function initialize() {
     function initialize() {
       var wavePanel = new WavePanel('http://wave.google.com/a/wavesandbox.com/');
       var wavePanel = new WavePanel('http://wave.google.com/a/wavesandbox.com/');
       wavePanel.loadWave('wavesandbox.com!w+waveID');
       wavePanel.loadWave('wavesandbox.com!w+BgMWzhzdmA');
       wavePanel.init(document.getElementById('waveframe'));
       wavePanel.init(document.getElementById('waveframe'));
     }
     }
Line 11: Line 11:
     <div id='waveframe' style='width: 500px; height: 100%'></div>
     <div id='waveframe' style='width: 500px; height: 100%'></div>
   </body>";
   </body>";
</php>
</php>

Revision as of 18:58, 21 December 2009

<php> print "<head><script src='http://wave-api.appspot.com/public/embed.js' type='text/javascript'></script>

   <script type='text/javascript'>
   function initialize() {
     var wavePanel = new WavePanel('http://wave.google.com/a/wavesandbox.com/');
     wavePanel.loadWave('wavesandbox.com!w+BgMWzhzdmA');
     wavePanel.init(document.getElementById('waveframe'));
   }

</script></head> <body onload='initialize()'>

 </body>";

</php>