Wave Test: Difference between revisions

From Wiki**3

No edit summary
No edit summary
Line 1: Line 1:
<php>
<php>
print "<script src='http://wave-api.appspot.com/public/embed.js' type='text/javascript'></script>
print "<head><script src='http://wave-api.appspot.com/public/embed.js' type='text/javascript'></script>
     <script type='text/javascript'>
     <script type='text/javascript'>
     function initialize() {
     function initialize() {
Line 7: Line 7:
       wavePanel.init(document.getElementById('waveframe'));
       wavePanel.init(document.getElementById('waveframe'));
     }
     }
</script>";
</script></head>
<body onload='initialize()'>
    <div id='waveframe' style='width: 500px; height: 100%'></div>
  </body>";


</php>
</php>

Revision as of 18:57, 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+waveID');
     wavePanel.init(document.getElementById('waveframe'));
   }

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

 </body>";

</php>